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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.9.7, 5.10, 5.11, 5.12.1
    • Fix Version/s: 5.12.2, 5.14.0 Alpha
    • Labels:
      None
    • Environment:
      original: Qt5.9 RC1, macOS Sierra, see screen shots attached.
      still: Qt5.9-Qt5.11.1 on macOS High Sierra.
    • Platform/s:
      macOS
    • Commits:
      c12072c685f7e93d5b84e289ca23106482379eff e4c39d5e1e7ee8c2bba273e6d613ec519b7fa9c2 d5b3ddffae0a878618bb2637539054dc2e397706 409e3eab092ae9896f453b69f4b4749e654680bb (qt/qtbase/5.12)
    • Sprint:
      Triaged issues

      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

          For Gerrit Dashboard: QTBUG-61092
          # Subject Branch Project Status CR V

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Gerrit Reviews