Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.10.1, 5.12
-
-
b1a9a7794f51dd214e884fe331c5d1009972a48e (qtbase/dev, 24.11.2018, 5.13)
Description
On Windows, Not able to enable shortcuts in default contextMenu.
Like the for default contextMenu i.e. lineEdit()->createStandardContextMenu(), there seems no way to enable the shortcuts for actions in it.
In QLineedit.cpp, createStandardContextMenu(),
action = popup->addAction(QLineEdit::tr("&Undo") + ACCEL_KEY(QKeySequence::Undo));
shortcuts are not added to actions because of ACCEL_KEY definition which is changed for fix of defect QTBUG-49435,
But there should be a way to enable it.
Attachments
Issue Links
- is duplicated by
-
QTBUG-69452 Shortcuts don't show up in context menus
- Closed
- relates to
-
QTBUG-61181 REG within 5.10: Menu shortcuts are no longer displayed
- Closed
- resulted from
-
QTBUG-49435 Don't show shortcuts in context menus
- Closed
For Gerrit Dashboard: QTBUG-71471 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
244586,2 | QStyleHintsPrivate: Use member initialization | dev | qt/qtbase | Status: MERGED | +2 | 0 |
244587,3 | Add setter for property QStyleHints::showShortcutsInContextMenus | dev | qt/qtbase | Status: MERGED | +2 | 0 |