GNOME Bugzilla – Bug 648582
Giant keyboard layout indicator
Last modified: 2011-04-26 12:08:35 UTC
When 'show keyboard layout' is selected from the gnome-shell keyboard panel icon, a giant keyboard layout window is shown (to big to fit on a single screen) with no close button.
Note: This only occurs with multiple monitor configurations. With a single monitor the window is properly sized (although has a 'Close' button down the bottom right of the window and no 'X' in the upper right). The window size should be calculated to fit the display on which the panel with the keyboard configuration tray icon is located.
The layout indicator dialog comes from libgnomekbd - try: /usr/bin/gkbd-keyboard-display -g 0 While really the dialog should be sized according to the monitor where it is actually placed by the WM, I don't see any easy way to do that without resizing after being mapped, which would be ugly, so the easy, mostly correct thing to do is to use gdk_screen_get_primary_monitor()
I think there was some problem where it used the screen size, rather than monitor dimensions. I thought it was fixed, but looks like it didn't: bug 647646
*** This bug has been marked as a duplicate of bug 647646 ***