Bug 510360 - [Bug & Feature Request] Unexpected behaviour if multiple key modifiers are pressed simultaneously
Summary: [Bug & Feature Request] Unexpected behaviour if multiple key modifiers are pr...
Status: RESOLVED UNMAINTAINED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Indicator widget (other bugs)
Version First Reported In: master
Platform: Kubuntu Linux
: NOR wishlist
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-10-07 19:39 UTC by emilia.mueller
Modified: 2025-10-08 19:29 UTC (History)
2 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 emilia.mueller 2025-10-07 19:39:33 UTC
SUMMARY
The keyboard indicator widget (aka Lock keys status) will only show one key modifier when multiple modifiers are pressed simultaneously (num lock and caps lock).
Please add the ability to show multiple modifiers at once.
Also the current behaviour of the indicator depends on the order in which the checkboxes are set (undocumented behaviour).

STEPS TO REPRODUCE
1. Enable caps lock and disable num lock in the widget configuration. Apply the settings.
2. Additionally enable num lock and apply the settings
3. Toggle num lock and caps lock (press the keys) to cycle and observe all possible combinations
4. Deselect caps lock and apply settings
5. Run through steps 2 and 3

OBSERVED RESULT
First test (Caps lock setting enabled first):
if caps lock and num lock are enabled, only caps lock is shown.
Second test (Num lock setting enabled first):
if num lock and caps lock are enabled, only num lock is shown. 

EXPECTED RESULT
If both locks are enabled both symbols are shown.


SOFTWARE/OS VERSIONS
(available in the Info Center app, or by running `kinfo` in a terminal window)
Operating System: Kubuntu 24.04
KDE Plasma Version: 5.27.12
KDE Frameworks Version: 5.115.0
Qt Version: 5.15.13

PS:
I added this mix of feature request and bug here instead of in the discussion forum since the readme in the git project says this:
"Please report bugs and feature requests in [KDE's bugtracker](https://bugs.kde.org) under the [plasmashell](https://bugs.kde.org/enter_bug.cgi?product=plasmashell) category."
Comment 1 TraceyC 2025-10-08 19:29:12 UTC
Thanks for the bug report / feature request. The feature you are looking for is present in Plasma 6 - the widget will show both Caps Lock and Num Lock activated if they both are.

As far as the bug, the behavior I see is that no matter which key is pressed first, the widget shows Caps Lock then Num Lock, always in that order. It looks like that's been fixed

Keep in mind, Plasma 5.27.12 no longer receives updates or maintenance from KDE; active versions are 6.4.5 or newer. Please upgrade to an active version as soon as your distribution makes it available to you. Plasma is a fast-moving project, and bugs in one version are often fixed in the next one. For the feature request part, this had been requested in bug 489824. Please follow that feature request for updates.

If you need support for your version of Plasma, please contact your distribution, who bears the responsibility of providing help for older releases that are no longer receiving updates from KDE.

If this issue is still reproducible in a maintained version of Plasma, feel free to re-open this bug report.

Thanks for understanding.