Bug 459098 - Layout-specific keyboard shortcuts don't cause the Apply button to become enabled after being set
Summary: Layout-specific keyboard shortcuts don't cause the Apply button to become ena...
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_keyboard (show other bugs)
Version: 5.24.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-14 13:25 UTC by Andrey
Modified: 2022-09-22 23:47 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2022-09-14 13:25:15 UTC
SUMMARY


STEPS TO REPRODUCE
1. Go to Keyboard KCM, Layouts tab
2. Assign whatever shortcut for any layout 

OBSERVED RESULT
The shortcut appeared on Shortcut tab, but Apply button is not accessible.
No shortcut assignments are taking place.

EXPECTED RESULT
We should be able to press Apply button to apply the shortcut assignment.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.24.80
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.3
Kernel Version: 5.15.0-46-generic (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION
I run pretty old KDE Plasma Version: 5.24.80, can't test on master at the moment.
Comment 1 Nate Graham 2022-09-14 17:14:18 UTC
Looks like the shortcut gets applied immediately. If I close System Settings and re-open the Keyboard KCM, the shortcuts are still set in the layouts table.

However the shortcuts seem to work unreliably. I set up layouts for US English, Greek, and Russian, and assigned each one a shortcut:
- Meta+Ctrl+Alt+U for US English
- Meta+Ctrl+Alt+G for Greek
- Meta+Ctrl+Alt+R for Russian

But only the shortcut for Greek worked.
Comment 2 Andrey 2022-09-15 09:43:28 UTC
(In reply to Nate Graham from comment #1)
Thanks for trying.
> Looks like the shortcut gets applied immediately. If I close System Settings
> and re-open the Keyboard KCM, the shortcuts are still set in the layouts
> table.
For me they are still set also but just do not have any effect until I change something on the page and re-apply.

> However the shortcuts seem to work unreliably. I set up layouts for US
> English, Greek, and Russian, and assigned each one a shortcut:
> - Meta+Ctrl+Alt+U for US English
> - Meta+Ctrl+Alt+G for Greek
> - Meta+Ctrl+Alt+R for Russian
> 
> But only the shortcut for Greek worked.
Maybe worth trying to re-apply as above?
Comment 3 Nate Graham 2022-09-15 16:22:47 UTC
Yeah, I can confirm that.
Comment 4 Andrey 2022-09-15 17:44:48 UTC
Ok, nice, thank you.
My bet this was lost during porting to KConfig XT or something.
CCing people who might have an idea what's going on.