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 90191 - [multihead] tooltips are only displayed on one screen
[multihead] tooltips are only displayed on one screen
Status: RESOLVED DUPLICATE of bug 81651
Product: gtk+
Classification: Platform
Component: [obsolete] multihead
2.0.x
Other All
: Normal normal
: ---
Assigned To: Erwann Chenede
Luis Villa
: 83960 91796 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-08-08 08:47 UTC by Erwann Chenede
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Erwann Chenede 2002-08-08 08:47:22 UTC
To reproduce on a multihead environment :
- start the panel.
- open the application menu wait until a tooltips is displayed.
- go to another screen, open a menu, wait for the tooltips.
- the tooltips is still displayed on the screen it was initially 
  realized on.

I believe the menu tooltips need to either be reparented to the 
current menu when a menu is displayed on a different screen or recreated.
Comment 1 Erwann Chenede 2002-08-09 12:42:38 UTC
As pointed out by mark, this is a gtk+ bug, not a panel one.

Here is a patch :

===================================================================
RCS file: /cvs/gnome/gtk+/gtk/gtktooltips.c,v
retrieving revision 1.52
diff -u -r1.52 gtktooltips.c
--- gtk/gtktooltips.c	20 May 2002 17:05:59 -0000	1.52
+++ gtk/gtktooltips.c	9 Aug 2002 12:39:10 -0000
@@ -345,6 +345,8 @@
   scr_w = gdk_screen_get_width (screen);
   scr_h = gdk_screen_get_height (screen);
 
+  gtk_window_set_screen (GTK_WINDOW (tooltips->tip_window), screen);
+
   data = tooltips->active_tips_data;
 
   gtk_label_set_text (GTK_LABEL (tooltips->tip_label),
data->tip_text);

Can I commit ?
Comment 2 Mark McLoughlin 2002-09-03 07:06:47 UTC
*** Bug 91796 has been marked as a duplicate of this bug. ***
Comment 3 Mark McLoughlin 2002-09-03 07:19:17 UTC
*** Bug 83960 has been marked as a duplicate of this bug. ***
Comment 4 Luis Villa 2002-09-03 20:38:50 UTC
I've added gtk-bugs to the cc: line, since erwann just asked himself
for permission to commit :) 
Comment 5 Owen Taylor 2002-09-26 22:42:43 UTC

*** This bug has been marked as a duplicate of 81651 ***