Bug 377906 - Meta key no longer works after switching to tty1 with Ctrl+Alt+F1
Summary: Meta key no longer works after switching to tty1 with Ctrl+Alt+F1
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 5.9.4
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-22 02:14 UTC by Chris Holland
Modified: 2017-03-23 19:13 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.