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 470908 - Tooltips frequently appear below menus
Tooltips frequently appear below menus
Status: RESOLVED WONTFIX
Product: gtk+
Classification: Platform
Component: Widget: Other
2.11.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2007-08-28 00:30 UTC by Pedro Villavicencio
Modified: 2014-07-25 19:30 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20



Description Pedro Villavicencio 2007-08-28 00:30:47 UTC
This bug has been filled here:

https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/134955

"Open the "Applications" menu
Highlight "Accessories"
Wait for tooltip to appear
Highlight "Games", underneath

Notice that the tooltip appears immediately, but the menu appears a short while later. The menu obscures the tooltip.

This does not always happen the first time, try moving backwards and forwards between items and it will eventually happen.

Tooltips should have the highest Z order than any other window class."

thanks.
Comment 1 Kristian Rietveld 2007-08-28 15:00:04 UTC
This did not happen with the old tooltips code, because tooltips didn't show up at all on menu items with sub menus.  For the record: I was told that menu items with sub menus no longer show tooltips with gnome-panel from trunk.

So this is something new we need to handle, there are a few possibilities how:
- Popdown the tooltip on visibility notify (though this leaves little chance for a tooltip on a menu item with sub menu to pop up).

- Or;

 on_visibility_notify():
  if (has_ancestor (tooltip_widget, TYPE_MENU_ITEM))
    raise (tip_window);
  else
    unmap (tip_window);

which is kind of hackish.

- Or; always raise on visibility-notify.  This could be nasty if another application pops up a window above the tooltip; the tooltip would raise beyond that again.


We will be tracking more ideas here and come to a solution.
Comment 2 Matthias Clasen 2014-07-25 19:30:48 UTC
closing old bugs