Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.12.1, 5.15, 6.2.0 Alpha
-
macOS 10.14.3
-
-
64a64fd485bd78f44b93beb3d712db67b6d33c05 (qt/qtbase/dev) 05a04c80e01ab290739b256b8652ce4830964026 (qt/qtbase/dev) d3550bce2c2c6e9753e2d9ec6d66b4fa802597ad (qt/qtbase/6.1)
Description
The attached sample app demonstrates a popup menu with bold, italic, and underline menu items. On the menu, each item should display in an appropriate font (i.e., bold, italic, or underline). Also, the supplied key sequences should be displayed alongside the item text for each menu item.
See the Qt 5.9.6.png file to see how this looked in that version of Qt. See the Qt 5.12.1.png file to see that bold displays as bold, but italic and underline do not display in italic or with an underline, respectively. Also note the absence of the key sequences to the right of each item. Both .png files are screenshots from running the sample app as compiled to use their respective Qt versions.
Also note that in Qt 5.9.6, the hotkeys, though displayed, aren't aligned properly (the command key icons should be left-aligned with one another).
Attachments
Issue Links
- relates to
-
QTBUG-69452 Shortcuts don't show up in context menus
- Closed
For Gerrit Dashboard: QTBUG-73990 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
351177,2 | macOS: respect underline attribute in menu item fonts | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
351179,2 | macOS: respect underline attribute in menu item fonts | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |
351295,5 | macOS: allow Qt::AA_DontShowShortcutsInContextMenus overrides | dev | qt/qtbase | Status: MERGED | +2 | 0 |
351331,2 | macOS: respect underline attribute in menu item fonts | dev | qt/qtbase | Status: MERGED | +2 | 0 |
351332,5 | macOS: render shortcuts in context menus correctly aligned | dev | qt/qtbase | Status: MERGED | +2 | 0 |
352464,2 | macOS: render shortcuts in context menus correctly aligned | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
352953,2 | macOS: allow Qt::AA_DontShowShortcutsInContextMenus overrides | 6.1 | qt/qtbase | Status: MERGED | +2 | 0 |
352956,3 | macOS: allow Qt::AA_DontShowShortcutsInContextMenus overrides | tqtc/lts-5.15 | qt/tqtc-qtbase | Status: MERGED | +2 | 0 |