Summary: | Ctrl+Shift+letter shortcuts don't work if Ctrl+Shift is used for layout switching in wayland | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Igor Poboiko <igor.poboiko> |
Component: | input | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED UPSTREAM | ||
Severity: | normal | CC: | butirsky, david.cortes.rivera, eugene.savitsky, nate |
Priority: | NOR | Keywords: | wayland |
Version: | 5.10.4 | Flags: | mgraesslin:
Wayland+
mgraesslin: X11- |
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
See Also: | https://bugs.kde.org/show_bug.cgi?id=114326 | ||
Latest Commit: | Version Fixed In: |
Description
Igor Poboiko
2017-08-04 10:16:39 UTC
I'm sorry, but I fear there is nothing we can do about this. The layout handling is handled by xkbcommon. That is we pass all key events to xkbcommon and xkbcommon transforms it to a key symbol and handles changes to the keyboard layout transparently. Whatever comes out from xkbcommon is then fed into other parts of KWin such as global shortcuts or send to other applications. We don't have any control over this at this point. In fact KWin is completely out of the game here as the shortcut matching is done inside Konsole, so inside Qt. Which again just forwards keys into xkbcommon. I don't know whether this can be fixed at all - I don't know the internals of all involved components enough. But I fear this is just an unfixable situation. (In reply to Martin Flöser from comment #1) > I'm sorry, but I fear there is nothing we can do about this. The layout > handling is handled by xkbcommon. That is we pass all key events to > xkbcommon and xkbcommon transforms it to a key symbol and handles changes to > the keyboard layout transparently. Whatever comes out from xkbcommon is then > fed into other parts of KWin such as global shortcuts or send to other > applications. We don't have any control over this at this point. > > In fact KWin is completely out of the game here as the shortcut matching is > done inside Konsole, so inside Qt. Which again just forwards keys into > xkbcommon. > > I don't know whether this can be fixed at all - I don't know the internals > of all involved components enough. But I fear this is just an unfixable > situation. If it helps, XFCE seems to somehow have fixed this issue in whatever library they use, while all other DEs (KDE, Mate, old Gnome, etc.) still encounter this problem. *** Bug 387500 has been marked as a duplicate of this bug. *** Also if the issue is with xkbcommon, does it mean it can be fixed in wayland? *** Bug 478323 has been marked as a duplicate of this bug. *** FYI. I have opened an issue in libxkbcommon. https://github.com/xkbcommon/libxkbcommon/issues/420 If someone could raise it priority or put attention to it... |