Bug 348688 - Hyper key getting recognized as a Meta/Win key
Summary: Hyper key getting recognized as a Meta/Win key
Status: RESOLVED UPSTREAM
Alias: None
Product: frameworks-kxmlgui
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-06-04 08:36 UTC by Eiko Yumi
Modified: 2024-08-01 20:16 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eiko Yumi 2015-06-04 08:36:42 UTC
On Plasma 5.2.2 with QT 5.4.1 (using Kubuntu 15.04 64-bit) if I try to set up the Caps Lock key as an additional Hyper Key modifier in Advanced Input Devices settings/keyboard settings, the key ends up acting exactly as if it were a Meta ("Win") key when using it in custom shortcuts in Plasma5/Kde applications, thus preventing me from accessing an additional and useful layer of possible custom keyboard shortcuts.

Reproducible: Always


Actual Results:  
Hyper modifier acts as a Meta modifier in Plasma5.

Expected Results:  
The Hyper modifier key should act as such, be untied from other modifier key. 

In addition to this, ideally one should be able to set up Left/Right modifiers to act as if they were separate modifiers. It appears that Plasma5 treats them as if they were the same exact keys (for example, no distinction between left and right control). This could be related in part to the Hyper key issue.
Comment 1 Martin Flöser 2015-06-04 14:12:38 UTC
custom shortcuts are xmlgui - most likely this is an issue in Qt, though.
Comment 2 Andrés Rodríguez 2019-07-05 18:18:43 UTC
I can confirm this is happening with KGlobalAccel at least, not sure of its relationship (if any) to kxmlgui, but it's currently preventing me from making shortcuts with Caps Lock after binding it to Hyper. I can confirm with xev that Caps Lock is set to "Hyper_L" however.
Comment 3 Daniel 2022-02-09 22:00:44 UTC
Still present in Plasma 5.24.0/KF 5.90 and Qt 5.15.2. Hyper Key is also not usable for shortcuts (if bound to Caps Lock, see 222189)
Comment 4 fanzhuyifan 2024-08-01 20:16:25 UTC
Given that kde relies on Qt code for shortcut handling, and Qt currently does not treat Hyper as a modifier (https://doc.qt.io/qt-6/qt.html#KeyboardModifier-enum), I am marking this as an upstream Qt issue.

Upstream Qt bug report: https://bugreports.qt.io/browse/QTBUG-61301