Details
-
Bug
-
Resolution: Out of scope
-
P3: Somewhat important
-
4.8.5
-
None
Description
If a QMenu has tearOffEnabled and separatorsCollapsible both set to true, and then the menu is torn off, then the torn off menu will have separatorsCollapsible as false.
I hit this while implementing separators with labels in a custom style (similar to what the cleanlooks style has). We are using separators with labels to provide a description for sections of menu items, but when the men is torn off we lose the first separator.
We are on 4.8.5 and I haven't checked newer versions yet.
Looks like the fix is to set this in the QTornOffMenu constructor.