Bug 377906

Summary: Meta key no longer works after switching to tty1 with Ctrl+Alt+F1
Product: [Plasma] kwin Reporter: Chris Holland <zrenfire>
Component: inputAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bk
Priority: NOR    
Version First Reported In: 5.9.4   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Chris Holland 2017-03-22 02:14:12 UTC
FreeNode IRC #kde

<ToxicFrog> So I'm having a consistent issue -- across multiple systems and versions of KDE -- where switching TTYs using ctrl-alt-F# causes the win-key to stop working.

Running `kwin_x11 --replace` will fix the key.

The QDBus command the defined in options.cpp still works when run in the terminal.
https://github.com/KDE/kwin/blob/451bbb54ddf864f80142f36a9d5d54f57e434f1c/options.cpp#L848

qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.activateLauncherMenu

So it seems x11 is forgetting the keybinding somehow.

I personally tested with KDE Neon 5.9.4, Qt 5.7.1, Frameworks 5.32.0
Comment 1 Martin Flöser 2017-03-22 16:05:10 UTC
We have had this bug before and I think it's fixed in master. Also I remember that it matters whether xorg-libinput or xorg-evdev is used. I'm sorry, I cannot find the older bug report just now.
Comment 2 bk 2017-03-23 19:13:51 UTC
All the affected machines are using libinput; I can try switching to evdev and see if that fixes it as a stopgap until the fix in master lands here, but I think I switched from evdev to libinput in the first place because other stuff didn't work in evdev.