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 325094 - menu bar tooltips should go away when menu opens
menu bar tooltips should go away when menu opens
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
git master
Other All
: Normal minor
: ---
Assigned To: Christian Kirbach
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-12-28 00:24 UTC by Christian Kirbach
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
hide tooltips if menu is activated (2.27 KB, patch)
2005-12-31 15:47 UTC, Christian Kirbach
committed Details | Review

Description Christian Kirbach 2005-12-28 00:24:48 UTC
menu bar tooltips remain if any menu is opened.

Steps to reproduce:

Hover the applications menu with mouse. Tooltip comes up.
Open applications menu. Move mouse pointer along the menu bar to the
Desktop menu. Desktop menu opens. The applications tooltip is still there.

I may look into this with a little bit of guidance.
Comment 1 Vincent Untz 2005-12-28 10:51:37 UTC
You probably want to connect to the "activate" signal of each menu item and hide the tooltips there. Maybe by gtk_tooltips_disable() and then gtk_tooltips_enable()
Comment 2 Christian Kirbach 2005-12-30 18:59:30 UTC
I'll try to look into this
Comment 3 Christian Kirbach 2005-12-31 15:47:59 UTC
Created attachment 56597 [details] [review]
hide tooltips if menu is activated

seems to work, known problem: activate a menu, keep the mouse pointer at its current position, click again to close and once again to reopen the menu.
a tooltip can then be seen briefly. this is because it first emits the enter_notify event, which shows the tooltip. then it emits the activate signal which will cause the tooltip to be hidden.
Comment 4 Vincent Untz 2006-01-01 14:27:28 UTC
There was some problems when you clicked on Applications, moved the cursor on the first submenu and removed it on Applications. So I reworked the patch a bit and now I think it covers all cases.

Thanks