<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Output transforms 90 and 270 are inverted"
href="https://bugs.freedesktop.org/show_bug.cgi?id=104389">104389</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Output transforms 90 and 270 are inverted
</td>
</tr>
<tr>
<th>Product</th>
<td>Wayland
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>weston
</td>
</tr>
<tr>
<th>Assignee</th>
<td>wayland-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>contact@emersion.fr
</td>
</tr></table>
<p>
<div>
<pre>The spec [1] says that wl_output::transform's rotation is counter-clockwise.
However, configuring an output with a 90 degree rotation results in a clockwise
rotation. The output rotation reported by weston-info is 90.
90 and 270 degree rotations are swapped. Their flipped variants are swapped
too.
This isn't a big issue inside weston because weston apps (like weston-terminal)
will behave correctly: they'll rotate their surfaces of 90 degrees clockwise
and advertize via wl_surface::set_buffer_transform a 90 degree rotation.
This is more of an issue with other compositors. If another compositor wants to
follow the spec, weston apps won't work correctly in this compositor.
[1]
<a href="https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_output-enum-transform">https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_output-enum-transform</a></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>