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

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

XMLWordPrintable

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

      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

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes