[Bug 342855] Re: [Jaunty] Rhythmbox status displays above wrong panel
I've got a theory what's going on here, but I'm still looking at it. I think it only happens if I hover the cursor fairly low on the icon; in gtk/gtktooltip.c gtk_tooltip_position is the code: /* For mouse mode, we position the tooltip right of the cursor, * a little below the cursor's center. */ cursor_size = gdk_display_get_default_cursor_size (display); x += cursor_size / 2; y += cursor_size / 2; now, since this is my bottom monitor I think that might mean the 'y' position it calculates is off the bottom of the display - what happens when that is later passed to monitor_num = gdk_screen_get_monitor_at_point (screen, x, y); ? (I don't yet know the answer - but I suspect that's the problem) Dave -- [Jaunty] Rhythmbox status displays above wrong panel https://bugs.launchpad.net/bugs/342855 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 342855] Re: [Jaunty] Rhythmbox status displays above wrong panel
OK, I've filed a Gnome bug on this; gdk_screen_get_monitor_at_point is much too stupid to handle this case. ** Bug watch added: GNOME Bug Tracker #576306 http://bugzilla.gnome.org/show_bug.cgi?id=576306 ** Also affects: gtk via http://bugzilla.gnome.org/show_bug.cgi?id=576306 Importance: Unknown Status: Unknown ** Summary changed: - [Jaunty] Rhythmbox status displays above wrong panel + [Jaunty] Tooltips appear in wrong place - gtk_tooltip_position v get_nearest_screen -- [Jaunty] Tooltips appear in wrong place - gtk_tooltip_position v get_nearest_screen https://bugs.launchpad.net/bugs/342855 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 342855] Re: [Jaunty] Rhythmbox status displays above wrong panel
OK, attached - just below the rhythmbox window you can see the Rhythmbox status tooltip hovering over the panel at the bottom of my top monitor. Scroll right down to the bottom of the image and you can see my bottom panel on my bottom monitor with the notification icon and you just see my mouse pointer hovering over the rhythmbox icon which is where I'd expect the tool tip to appear. I should say this doesn't always happen - probably about 50/50 - but it seems to get into 'moods' where it will appear mostly in the right place or mostly in the wrong place and it's not obvious what switches it between the two, I don't seem to have to do anything for it to switch - just moving the mouse around between the monitors and hovering back over the icon often does it. Dave ** Attachment added: Screenshot showing misplaced tooltip http://launchpadlibrarian.net/24186475/Screenshot.png -- [Jaunty] Rhythmbox status displays above wrong panel https://bugs.launchpad.net/bugs/342855 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 342855] Re: [Jaunty] Rhythmbox status displays above wrong panel
thank you for your bug report, could you take a screenshot showing the issue? ** Changed in: gtk+2.0 (Ubuntu) Importance: Undecided = Low Assignee: (unassigned) = Ubuntu Desktop Bugs (desktop-bugs) Status: New = Incomplete -- [Jaunty] Rhythmbox status displays above wrong panel https://bugs.launchpad.net/bugs/342855 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is a bug assignee. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs
[Bug 342855] Re: [Jaunty] Rhythmbox status displays above wrong panel
OK, I can see this is not just rhythmbox - I also get this hovering over the ubuntu menu icon on the panel on the bottom screen - the tooltip is appearing over the wrong panel. libgtk? ** Changed in: gtk+2.0 (Ubuntu) Sourcepackagename: rhythmbox = gtk+2.0 -- [Jaunty] Rhythmbox status displays above wrong panel https://bugs.launchpad.net/bugs/342855 You received this bug notification because you are a member of Ubuntu Desktop Bugs, which is subscribed to gtk+2.0 in ubuntu. -- desktop-bugs mailing list desktop-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/desktop-bugs