Bug 383333 - Windows-key combinations cause weird input
Summary: Windows-key combinations cause weird input
Status: CONFIRMED
Alias: None
Product: konsole
Classification: Applications
Component: keyboard (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-09 20:11 UTC by burneddi
Modified: 2021-02-10 04:44 UTC (History)
3 users (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 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).