Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.15.3, 6.2.4
-
None
-
Arch Linux
Description
I attached a small PyQt test case. I found the problem in a C++ app (Gwenview), PyQt is just easier.
I believe the cause is this bit in QXkbCommon::possibleKeys:
// turn off the modifier bits which doesn't participate in shortcuts
Qt::KeyboardModifiers notNeeded = Qt::KeypadModifier | Qt::GroupSwitchModifier;
modifiers &= ~notNeeded;
It looks like this used to work some 10 years ago: https://codereview.qt-project.org/gitweb?p=qt/qtbase.git;a=commit;h=547a1bea492954d828aa0798be93384669812489{{}}
Some digging revealed that MetaModifier was also in notNeeded once upon a time, but that was fixed. Maybe KeypadModifier can also be allowed to participate in shortcuts?
Attachments
Issue Links
- relates to
-
QTBUG-20191 Qt::KeypadModifier does not work with setShortcut
- Closed
Gerrit Reviews
For Gerrit Dashboard: QTBUG-102440 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
415332,3 | QKeySequence: do not turn off keypad shortcuts | dev | qt/qtbase | Status: ABANDONED | -1 | 0 |