GNOME Bugzilla – Bug 646949
gnome-control-center/System settings: text in the Keyboard->Shortcuts tab becomes invisible if window is moved to an other Gnome Shell workspace
Last modified: 2011-04-21 16:03:08 UTC
If the Keyboard->Shortcuts tab is open when the System settings window is moved from one workspace to another, the displayed text becomes invisible. This should not happen. System: Arch Linux 64-bit
Wow. I saw this bug, and I said "that can't possibly be right!", but I just reproduced it. My guess is this is more likely a control center bug than a gnome-shell or Mutter bug. GNOME Shell doesn't have much influence over window contents. When the number of workspaces changed, the keyboard shortcuts capplet reloads its contents (I guess so it can show switch to workspace shortcuts only for existing workspaces?), and I'm guessing there is some bug in that code.
When moving it to an empty workspace, /apps/metacity/general/num_workspaces changes.
Created attachment 185423 [details] [review] keyboard: Fix reloading keyboard shortcuts When reloading entries, we also need to clear the section hash tables, otherwise we won't be adding the keys as they already exist in the hashtables. Fixes empty keyboard shortcuts when creating a new workspace (eg. moving any window to an empty workspace in gnome-shell)
Works fine in my testing. Thanks !
Attachment 185423 [details] pushed as 9d94d2d - keyboard: Fix reloading keyboard shortcuts
*** Bug 648387 has been marked as a duplicate of this bug. ***