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

[Reg-5.15.4->5.15.5]Menu separator is not visible

    XMLWordPrintable

Details

    • macOS
    • 6832789bbd1a19499bffd05b1cac400db2bdd948 (qt/qtbase/dev) 1b2644d039b23b64bded08e6a08e5e209af3eb31 (qt/qtbase/6.2) 414378ee152f1d5564b2ffb54f65c12faffeaab0 (qt/tqtc-qtbase/5.15)

    Description

      QMenu separators are not visible with Qt5.15.5. This can be easily reproduced with Qt's Menu Example.
      It seems that in QCocoaMenu::syncSeparatorCollapsable()
      cocoaItem->setVisible(!previousIsSeparator &&
      cocoaItem->isVisible());

      makes separator visible only when it is not hidden from the collapsible
      separator logic AND if it wasn't hidden before.

      So setting setSeparatorsCollapsible(false) makes it work as workaround

      Attachments

        Issue Links

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

          Activity

            People

              vhilshei Volker Hilsheimer
              irfan.omair@digia.com Irfan Omair
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes