GNOME Bugzilla – Bug 682316
keyboard: support language-dependent defaults for shortcuts
Last modified: 2021-06-09 16:31:53 UTC
Some shortcuts related to input sources, such as Ctrl-space, can benefit from being enabled only for languages where they are relevant.
GConf allowed to localize default values, I guess GSettings does so as well? If so, this should be rather easy to fix :-)
Created attachment 224245 [details] [review] data: Use intltool native GSettings support
Created attachment 224246 [details] [review] data: Make layout switching per-language
(In reply to comment #1) > GConf allowed to localize default values, I guess GSettings does so as well? If > so, this should be rather easy to fix :-) It does :)
Review of attachment 224245 [details] [review]: Looks good to me.
Review of attachment 224246 [details] [review]: Looks good.
I guess we probably need another patch to restrict the default use of Ctrl-space to cjk locales ?
(In reply to comment #7) > I guess we probably need another patch to restrict the default use of > Ctrl-space to cjk locales ? The problem is that there isn't a universal model for how this key should behave. Does the Hangul key toggle between 2 layouts? Forcefully sets a Korean-friendly layout? Cycles through the layouts? Repeat this question for every other such key. Furthermore, the code we use now doesn't allow for modifiers-only keybindings which some locales might be using.
See also https://bugzilla.gnome.org/show_bug.cgi?id=682319#c5 .
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a new bug report at https://gitlab.gnome.org/GNOME/gnome-control-center/-/issues/ Thank you for your understanding and your help.