Bug 383333

Summary: Windows-key combinations cause weird input
Product: [Applications] konsole Reporter: burneddi
Component: keyboardAssignee: Konsole Developer <konsole-devel>
Status: CONFIRMED ---    
Severity: normal CC: a.samirh78, bugseforuns, burneddi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description burneddi 2017-08-09 20:11:06 UTC
Pressing the Windows key (super? meta? I don't quite know which it is in KDE) in combination with any button that does not produce an existing shortcut, such as Win+I, causes Konsole to send the input ^X@s followed by the key you pressed (ie. ^X@s for Win+I). With the default Bash shell, ^X is a hotkey for certain extended functionality, and ^X-@ happens to map to "possible hostname completions", so any accidental Windows-key press in Konsole will cause Bash to automatically print a bunch of hostnames.

Please add a way to disable Windows-key combinations from sending the ^X@s input in Konsole.
Comment 1 burneddi 2017-08-09 20:14:49 UTC
I should add that ^X@s means: Ctrl+X, followed by a literal @, followed by a literal s.
Comment 2 Ahmad Samir 2018-03-05 10:02:00 UTC
This is related to bug 96282; technically konsole treats Qt::Key_Meta (which is mapped to the Windows key) as another modifier key.
Comment 3 Ahmad Samir 2018-04-05 17:16:18 UTC
I think this commit should be reverted:
https://cgit.kde.org/konsole.git/commit/?id=5ba344714b8da55dfcc84823abac6f059a288386

And instead we can work with any emacs user who wants these escape sequences to work in emacs and come up with a .keytab that achieves that goal.
Comment 4 Kurt Hindenburg 2018-04-11 14:48:37 UTC
On my systems, pressing Win Key opens the plasma menu.  So that is annoying.  In Konsole if Meta is used for URL hints, those still work (and plasma menu still popups up).