Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-61092

QTabBar::close-button dissappeared from Qt5.8 to 5.9

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.2, 5.14.0 Alpha
    • 5.9.7, 5.10, 5.11, 5.12.1
    • None
    • original: Qt5.9 RC1, macOS Sierra, see screen shots attached.
      still: Qt5.9-Qt5.11.1 on macOS High Sierra.
    • macOS
    • c12072c685f7e93d5b84e289ca23106482379eff e4c39d5e1e7ee8c2bba273e6d613ec519b7fa9c2 d5b3ddffae0a878618bb2637539054dc2e397706 409e3eab092ae9896f453b69f4b4749e654680bb (qt/qtbase/5.12)
    • Bug Fixing Week Q2/2020

    Description

      Original post
      The QTabBar::close-button was still visible in the tabs in Qt5.8 but is gone in Qt5.9 for the identical project under macOS Sierra.

      Addition 09.08.2018
      The problem is still only superficially resolved. Any QTabWidget and QTabBar style change by a qss file renders the close button invisible (up to Qt5.11.1)! I include modified main.cpp, mainwindow.ui, stylesheet.qss, and tabTest.pro.

      Attachments

        1. main.cpp
          0.3 kB
        2. main.cpp
          0.2 kB
        3. mainwindow.cpp
          0.2 kB
        4. mainwindow.h
          0.3 kB
        5. mainwindow.ui
          2 kB
        6. mainwindow.ui
          2 kB
        7. Qt5.8.png
          Qt5.8.png
          7 kB
        8. Qt5.9 RC1.png
          Qt5.9 RC1.png
          13 kB
        9. stylesheet.qss
          0.1 kB
        10. tabTest.pro
          1 kB
        11. tabTest.pro
          1.0 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              tpochep Timur Pocheptsov
              rbq2024 Robert Bittl
              Votes:
              6 Vote for this issue
              Watchers:
              14 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews