GNOME Bugzilla – Bug 325094
menu bar tooltips should go away when menu opens
Last modified: 2015-03-24 13:00:56 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.
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()
I'll try to look into this
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.
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