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

No tool bar separator in setUnifiedTitleAndToolBarOnMac mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 5.15
    • 5.12.3, 5.13.1, 5.15
    • Widgets: Main Window
    • None
    • macOS

    Description

      There should be a dark separator line between the tool bar and the central widget. This separator line is present in normal title bar mode but disappears after calling QMainWindow::setUnifiedTitleAndToolBarOnMac (true). It looks like a regression of 5.12+ as in Qt 5.11.2 it works as it should. See the screenshots.

      The test case is the same as in https://bugreports.qt.io/browse/QTBUG-70173.

      Note that there is one more bug in 5.13.1: QLabel paints itself over the tool bar border in both tool bar modes (see the screenshots).

      Tested on macOS 10.14.6.

      Attachments

        1. 0001-styles-mac-Fix-missing-toolbar-separator-in-unified-.patch
          1 kB
        2. nouni-5-11-2.png
          nouni-5-11-2.png
          54 kB
        3. nouni-5-12-3.png
          nouni-5-12-3.png
          54 kB
        4. nouni-5-13-1.png
          nouni-5-13-1.png
          54 kB
        5. uni-5-11-2.png
          uni-5-11-2.png
          51 kB
        6. uni-5-12-3.png
          uni-5-12-3.png
          51 kB
        7. uni-5-13-1.png
          uni-5-13-1.png
          52 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sorvig Morten Sørvig
            dmik Dmitriy Kuminov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes