Bug 484459 - Keyboard Layout widget fails to activate via keyboard shortcut
Summary: Keyboard Layout widget fails to activate via keyboard shortcut
Status: CONFIRMED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Keyboard Layout widget (show other bugs)
Version: master
Platform: Other Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-25 15:42 UTC by Nate Graham
Modified: 2024-04-01 21:33 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Graham 2024-03-25 15:42:06 UTC
Git master everything


STEPS TO REPRODUCE
1. Have 2+ keyboard layouts
2. Add standalone Keyboard Layout widget to panel
3. Right-click on the widget > Configure
4. Keyboard Shortcuts > set one
5. Press that keyboard shortcut


OBSERVED RESULT
Nothing happens


EXPECTED RESULT
The keyboard layout switches as if the widget had been clicked


ADDITIONAL INFORMATION
If instead I set a shortcut on the version of the widget (via the System Tray's "entries" page in the System Tray's config window), then the layout still doesn't change when I press the shortcut, but the icon visibly animates a little bit as if it was trying to activate, but failing.
Comment 1 Andrey 2024-03-26 13:20:54 UTC
I recall we have already discussed it earlier and there was an assumption it's redundant to have yet another shortcut to switch the layout by activating the widget (we have plenty of them already), so better would be to just get rid of that widget > Configure > Keyboard Shortcuts tab altogether.

I'm not sure if it's possible, though.
Comment 2 Nate Graham 2024-04-01 21:33:00 UTC
Redundant though it may be, we let the user do it, and in that case, it does nothing. So that's clearly a bug.

Removing the ability to do it is one path to fixing the issue, but I don't actually see a problem with making it possible. Sometimes it's good to have multiple ways to accomplish something in the interest of increasing discoverability of the feature.