[ToolTip] Dismiss tooltip when item becomes invisible
Review Request #126322 - Created Dec. 11, 2015 and discarded
|Kai Uwe Broulik|
When an item containing a tooltip becomes invisible the tooltip would stay there indefinitely.
Hovered icon widget on my desktop, tooltip appeared, removed the widget through its context menu.
Before: tooltip would stay there until I either hovered another item or I commited the applet deletion.
Now: tooltip hides as soon as the applet disappeared
This seems a bit elaborate when there's a visibleChanged signal.
Docs imply that all the propogation still affects the visible property.
you might want to check we're the item tooltip dialog is showing the tooltip for before we dismiss it.
Otherwise this could remove someone else's tooltip.
Can you add a (manual) test to the existing tooltips test please.