[Wayland-bugs] [Bug 94735] Weston renders sub-surface even if parent is not mapped

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Mar 29 07:38:41 UTC 2016


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

            Bug ID: 94735
           Summary: Weston renders sub-surface even if parent is not
                    mapped
           Product: Wayland
           Version: unspecified
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: weston
          Assignee: wayland-bugs at lists.freedesktop.org
          Reporter: mgraesslin at kde.org

Created attachment 122602
  --> https://bugs.freedesktop.org/attachment.cgi?id=122602&action=edit
WAYLAND_DEBUG output

Weston renders sub-surfaces with a not mapped parent. According to the Wayland
spec a sub-surface should only be mapped if the parent is mapped: "A
sub-surface becomes mapped, when a non-NULL wl_buffer is applied and the parent
surface is mapped."

To reproduce:
* run systemsettings5
* go to Desktop Behavior -> Desktop Effects
* this creates a sub-surface tree with not mapped parents, but the child is
visible

Please see the attached log with WAYLAND_DEBUG of systemsettings. The last
child which is incorrectly rendered is wl_surface at 97 which is a sub-surface to
wl_surface at 65, but wl_surface at 65 never gets a buffer attached.

This is of course also a client bug which is reported at
https://bugreports.qt.io/browse/QTBUG-52192, but of course the compositor
should behave according to the spec ;-)

-- 
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/20160329/35400319/attachment.html>


More information about the wayland-bugs mailing list