<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - window menu mouse handling not working properly"
href="https://bugs.freedesktop.org/show_bug.cgi?id=55325">55325</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>window menu mouse handling not working properly
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>pvuorela@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr></table>
<p>
<div>
<pre>Popup menu from window top bar follows mouse badly. Works ok on top of the
popup, but on top of the parent window it's getting events with parent window
coordinates. This can be seen as offset on the selected item by opening the
menu at the bottom of the top bar and moving mouse on parent window. Outside
application windows no events are received.
There are also some unclarities on the popup documentation and implementation.
Request wl_shell_surface:set_popup defined as:
--8<--
Popup surfaces. Will switch an implicit grab into owner-events mode, and grab
will continue after the implicit grab ends (button released). Once the
implicit grab is over, the popup grab continues until the window is destroyed
or a mouse button is pressed in any other clients window. A click in any of
the clients surfaces is reported as normal, however, clicks in other clients
surfaces will be discarded and trigger the callback.
--8<-
"Owner-events mode" is not defined and "the callback" could explicitly mention
popup_done.
Weston implementation doesn't appear to actually do the grab in set_popup
implementation but on shell_map_popup() for which I'm not sure if it's doing
the right thing.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>