[Wayland-bugs] [Bug 78207] Touching tooltip activates weston desktop-shell launcher icons

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon May 5 22:30:10 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=78207

--- Comment #3 from Pekka Paalanen <ppaalanen at gmail.com> ---
Well, a tooltip should not be a sub-surface at all, it was never meant for
that. 

Usually, overlaid sub-surfaces have their input region set to empty, which
means picking goes right through to what is beneath.

However, this case is special, because the parent surface (panel) is not a
xdg_shell surface, so it cannot use the normal explicit tooltip mechanism. But
that is also a good thing, because it allows you to use a sub-surface for
implementing panel's tooltips, and the shell plugin could know to ignore the
sub-surfaces of the panel explicitly. This is what I would see as the
appropriate solution, *if* you want clicks/touches on the panel tooltip to be
handled or ignored instead of go through.

Note, that setting the input region to empty for a sub-surface that is used as
a tooltip might not be right, as I'm not sure if a user expects the surface
picking to go through the tooltip.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20140506/f0a59e14/attachment.html>


More information about the Wayland-bugs mailing list