<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 --- - Use toytoolkit in a test for interactive window move"
href="https://bugs.freedesktop.org/show_bug.cgi?id=83990">83990</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Blocks</th>
<td>83980
</td>
</tr>
<tr>
<th>Summary</th>
<td>Use toytoolkit in a test for interactive window move
</td>
</tr>
<tr>
<th>Severity</th>
<td>enhancement
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Reporter</th>
<td>ppaalanen@gmail.com
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</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>Write a test, that:
1. creates a window with normal decorations using toytoolkit
2. check the window position via the test extension
3. sends fake input events
3.1. move the pointer over the window title bar
3.2. button down
3.3. move the pointer to another place
3.4. button up
4. check the window position via the test extension, that it moved correctly
This sounds simple, but requires one to write the infrastructure for using
toytoolkit in tests, maybe change how wl_test pointer events are done, and add
a way to query surface location.
For examples, see <a href="https://github.com/01org/wayland-fits">https://github.com/01org/wayland-fits</a> for the test protocol
and the weston plugin.
If <a class="bz_bug_link
bz_status_NEW "
title="NEW --- - Add screenshooting based testing"
href="show_bug.cgi?id=83987">bug #83987</a> is implemented, can also add screenshot based verification, which
would make sure that toytoolkit draws decorations properly. But that opens a
whole new road for adding tests.</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>