GNOME Bugzilla – Bug 694638
Keyboard: stop using libgnomekbd to show keyboard layouts
Last modified: 2021-07-05 14:37:47 UTC
libgnomekbd is deprecated and is no longer part of the GNOME Core, so we can't assume it's always installed. Instead, spawn gnome-control-center with the right arguments to get the keyboard dialog.
Created attachment 237321 [details] [review] Keyboard: stop using libgnomekbd to show keyboard layouts
Review of attachment 237321 [details] [review]: OK.
There's UI problems doing it the way we currently do it, as there would be doing by adding something to gnome-desktop. - The preview program isn't single-instance, and you can launch hundreds of keyboard previews of the same layout - the preview program needs to be a separate application so that it has an app icon and menu, gnome-shell's "preview keyboard layout" cannot own a normal window. We should move the code to gnome-control-center for gnome-shell and the region panel to use and fix the single-instance problem.
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 ticket at https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/ Thank you for your understanding and your help.