After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
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
gnome-control-center/System settings: text in the Keyboard->Shortcuts tab bec...
Status: RESOLVED FIXED
Product: gnome-control-center
Classification: Core
Component: Keyboard
3.0.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
: 648387 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-04-06 19:44 UTC by Andreas Wallberg
Modified: 2011-04-21 16:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
keyboard: Fix reloading keyboard shortcuts (3.41 KB, patch)
2011-04-07 14:01 UTC, Bastien Nocera
committed Details | Review

Description Andreas Wallberg 2011-04-06 19:44:50 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
Comment 1 Owen Taylor 2011-04-07 13:44:19 UTC
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.
Comment 2 Bastien Nocera 2011-04-07 13:52:46 UTC
When moving it to an empty workspace, /apps/metacity/general/num_workspaces changes.
Comment 3 Bastien Nocera 2011-04-07 14:01:22 UTC
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)
Comment 4 Matthias Clasen 2011-04-07 14:56:33 UTC
Works fine in my testing. Thanks !
Comment 5 Bastien Nocera 2011-04-07 15:17:06 UTC
Attachment 185423 [details] pushed as 9d94d2d - keyboard: Fix reloading keyboard shortcuts
Comment 6 Bastien Nocera 2011-04-21 16:03:08 UTC
*** Bug 648387 has been marked as a duplicate of this bug. ***