Bug 208863 - cannot use Super- modifier global shortcuts
Summary: cannot use Super- modifier global shortcuts
Status: CONFIRMED
Alias: None
Product: kdelibs
Classification: Frameworks and Libraries
Component: shortcuts (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-29 12:58 UTC by Adam Spiers
Modified: 2018-12-03 20:52 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
screenshot of amarok global shortcuts dialog (63.69 KB, image/png)
2009-09-29 12:59 UTC, Adam Spiers
Details
screenshot of bug in Amarok when trying to bind Super+X (79.92 KB, image/png)
2018-11-07 00:12 UTC, Adam Spiers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Spiers 2009-09-29 12:58:09 UTC
Version:           1.0 (using KDE 4.3.1)
OS:                Linux
Installed from:    Fedora RPMs

I have a Kinesis keyboard with one key bound as a Super modifier (mod4):

xmodmap:  up to 3 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x32),  Shift_R (0x3e)
lock      
control     Control_L (0x25)
mod1        Meta_L (0x6b),  Meta_R (0x71)
mod2        Alt_L (0x61),  Alt_L (0x7d)
mod3      
mod4        Super_R (0x6d)

In the past (e.g. KDE 4.2.3) I have been able to use this Super modifier in global KDE shortcuts, such as Super-X for playing a track in Amarok.  However, I just upgraded to KDE 4.3.1, and noticed:

  1. all my global shortcuts which used Super- have been changed to use Meta-
  2. if I try to change them back to Super- using systemsettings or the Configure Shortcuts menu of Amarok, Super- is not recognised as a valid modifier.  The configuration dialog shows garbage (I will attach a screenshot) and subsequently if I press the Super key by itself (i.e. *not* as the modifier component of a key chord) then the shortcut is triggered, rendering the Super key completely useless for the entire desktop environment.
Comment 1 Adam Spiers 2009-09-29 12:59:35 UTC
Created attachment 37239 [details]
screenshot of amarok global shortcuts dialog

shows garbage when a Super-key combination is chosen
Comment 2 johannes.thraen 2010-07-13 01:33:31 UTC
confirmed here. KDE definitetly gets the modifiers wrong. Super is not the only one, Hyper won´t work properly either.
Comment 3 Hans Meine 2011-10-31 07:53:59 UTC
I have very similar problems with a regular keyboard, using the (German) "Neo" layout.  Here, Mod4 is used to access many regular keys (cursor, numbers, enter, etc.) via the letter keys (requiring less hand traveling).

When I try to add shortcuts (e.g. in KMail) using Mod4 (not necessarily a "fancy" combination, but sth. like Ctrl-Enter, which would be [Ctrl]-[<|]-[V] on a qwertz keyboard), I get the helpful (at least!) but disappointing message "The key just pressed is not supported by Qt".

I hope that KDE can do better, even if that means that a workaround for a rather fundamental limitation of Qt is needed…
Comment 4 Andrew Crouthamel 2018-11-06 15:05:23 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Adam Spiers 2018-11-07 00:12:25 UTC
Created attachment 116135 [details]
screenshot of bug in Amarok when trying to bind Super+X

I can confirm that this is still a problem.  Tested with kdenlive 18.04.3 and Amarok 2.9.0-lp150.105.1.x86_64 on openSUSE Leap 15.0 with kdelibs4-4.14.38-lp150.5.34.x86_64 installed.  Configure Shortcuts in kdenlive doesn't recognise my Super key at all, whereas Amarok gets very confused and treats it as a non-modifier key.
Comment 6 Adam Spiers 2018-11-07 00:13:14 UTC
Changing status back to REPORTED as requested.
Comment 7 Andrew Crouthamel 2018-11-07 08:33:48 UTC
Thanks for the update!