[Wayland-bugs] [Bug 104389] Output transforms 90 and 270 are inverted

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Dec 26 21:43:25 UTC 2017


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

            Bug ID: 104389
           Summary: Output transforms 90 and 270 are inverted
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: contact at emersion.fr

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]
https://wayland.freedesktop.org/docs/html/apa.html#protocol-spec-wl_output-enum-transform

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


More information about the wayland-bugs mailing list