Bug 409548 - fails to assign window shortcut which includes META
Summary: fails to assign window shortcut which includes META
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: 5.18.3
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-06 09:51 UTC by s.v.savenko
Modified: 2023-09-06 10:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot demostrating the bug (5.92 KB, image/png)
2019-07-25 12:06 UTC, s.v.savenko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description s.v.savenko 2019-07-06 09:51:26 UTC
SUMMARY

Attempting to assign window shortcuts like 'meta+alt+0' results in 'meta+alt+0, ...' displayed shortly and quickly changed to some rubbish symbols. No shortcut assigned. The same shortcut assigned to the window and saved to the default session long time ago still works.
Stopped working after a recent update to 5.16.2.

STEPS TO REPRODUCE
1. Open assign window shortcut dialog, set focus to shortcut text widget. 
2. press Meta+alt+0
3. ...

OBSERVED RESULT
some rubbish symbols in the text window, no shortcuts assign

EXPECTED RESULT
'META+ALT+0' assigned as a window shortcut

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
(available in About System)
KDE Plasma Version: 5.16.2-4
KDE Frameworks Version: 5.16.2-4 
Qt Version: 5.13

ADDITIONAL INFORMATION
Comment 1 Christoph Feck 2019-07-25 11:51:57 UTC
As far as I know, somewhere in the stack "Meta" is a shortcut for "Ctrl+Alt+Shift" (legacy?). So "Meta+Alt" would not work, but "Meta" alone should work.

Can you confirm?
Comment 2 s.v.savenko 2019-07-25 12:06:33 UTC
Created attachment 121723 [details]
screenshot demostrating the bug
Comment 3 s.v.savenko 2019-07-25 12:09:28 UTC
No. Meta alone does not work either. I attached a screenshot with what I see when trying to assing Meta+2 shortcut. Moreover Meta+Alt+2 used to work yet about a month ago. I still have that setup saved as a session and I can still use the Meta+Alt+[0-9] shortcuts for windows in that session. But I can not assign new ones.
Comment 4 Martin Flöser 2019-07-25 12:38:17 UTC
What's your keyboard layout?
Comment 5 s.v.savenko 2019-07-25 13:57:43 UTC
`English (US).` Though if try to get it from console I get:
```
$ showconsolefont 
Couldn't get a file descriptor referring to the console
```
Comment 6 s.v.savenko 2020-06-27 22:19:55 UTC
This is still broken. No shortcut with Meta can be put in using the `Set Window Shortcut` widget. It looks like it is getting the keys on press cause the strange symbol appears in the shortcut window immediately after I press `Meta` (without releasing it), and then when I press some key the proper `Meta+Key` combination appears in the window.
Comment 7 David Edmundson 2023-09-06 10:38:39 UTC
This bug was reported against an outdated version of KWin. We have made many changes since the. 
If the issue persists in newer versions can you reopen the bug report updating the version number.