https://bugs.kde.org/show_bug.cgi?id=491644

--- Comment #5 from fanzhuyi...@gmail.com ---
(In reply to Oded Arbel from comment #4)
> So one has to wonder - if I have META assigned as the modifier-only shortcut
> to trigger the application launcher - why pressing SHIFT+ALT and releasing
> it not opening the application launcher?

Works for me on git, wayland, if alt is released with shift pressed.

> This, I believe, is yet another reason why shortcuts should not use keysyms
> but the physical scan codes - also bug #453661, bug #453661, bug #462274,
> bug #444537, bug #434949 and probably many more I'm not familiar with.

IMO native key codes are more reasonable than the physical scan codes. E.g., I
use a hwdb config to map my CAPS_LOCK to ESC, and I would want shortcuts
containing ESC to trigger when I press that key. If I understand correctly,
using scan codes means it will still be interpreted as CAPS_LOCK.

One potential issue with not using keysyms is we cannot get consistent behavior
for default shortcuts like Ctrl++ under different layouts. Since the plus
symbol has meaning, we might want users to use the physical key corresponding
to the + symbol in their own layout. This is also what Qt does, and I am wary
of deviating from that.
(https://doc.qt.io/qt-6/qkeysequence.html#keyboard-layout-issues)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to