Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.15.5
-
Desktop
-
-
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
- is duplicated by
-
QTBUG-95281 Qt 15.5 menu separators missing
- Closed
- resulted from
-
QTBUG-88651 Can't Hide Menu Separator
- Closed