GNOME Bugzilla – Bug 92039
Keyboard switcher has no focus indicator
Last modified: 2004-12-22 21:47:04 UTC
When tabbing along a panel containing the keyboard switcher applet, the gkb applet never gets a focus indicator, although it does get keyboard focus.
My expectation was that the proposed change for bug 84215 would also fix this bug but this is not so. When I applied the proposed change for bug 84215 the focus indication did not appear. I found that panel_applet_size_allocate() the scond time with an allocation of (0, 0, 1, 1). The reason for this is the call to bonobo_socket_add_id() in bonobo_control_frame_get_remote_window(). This call to bonobo_socket_add_id() was a call to gtk_socket_add_id() until recently. From my perspective the problem with this change is that bonobo_control_frame_get_remote_window() is called from bonobo_socket_realize(), bonobo_socket_size_allocate() has not yet been called to set the size of the socket after the size of the plug has been set.
*** Bug 92040 has been marked as a duplicate of this bug. ***
I have looked at this again and I do not understand wherer my previous analysis came from. bonobo_socket_add_id() causes the allocation width and height to be reset to (1,1) but is is subsequently alloocated to the correct size.
*** This bug has been marked as a duplicate of 84215 ***