Bug 74221 - exposay doesn't properly switch from a fullscreen surface to a normal one
Summary: exposay doesn't properly switch from a fullscreen surface to a normal one
Status: RESOLVED FIXED
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-30 12:29 UTC by Emilio Pozuelo Monfort
Modified: 2014-04-29 23:34 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Emilio Pozuelo Monfort 2014-01-30 12:29:01 UTC
Steps to reproduce:

Launch weston
Launch a flower
Launch weston-terminal and make it fullscreen
Go to exposay and click on the flower

The flower should be drawn above the fullscreen terminal but it is actually behind.
Comment 1 Kristian Høgsberg 2014-04-29 23:34:45 UTC
commit 9e7c7598aa44a9caaa5ebd525426623e8e86880e
Author: Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Date:   Thu Jan 30 14:01:10 2014 +0100

    desktop-shell: Properly handle lowered fullscreen surfaces
    
    lower_fullscreen_surface() was removing fullscreen surfaces from
    the fullscreen layer and inserting them in the normal workspace
    layer. However, those fullscreen surfaces were never put back in
    the fullscreen layer, causing bugs such as unrelated surfaces
    being drawn between a fullscreen surface and its black view.
    
    Change the lower_fullscreen_surface() logic so that it lowers
    fullscreen surfaces to the workspace layer *and* hides the
    black views. Make this reversible by re-configuring the lowered
    fullscreen surface: when it is re-configured, the black view
    will be shown again and the surface will be restacked in the
    fullscreen layer.
    
    https://bugs.freedesktop.org/show_bug.cgi?id=73575
    https://bugs.freedesktop.org/show_bug.cgi?id=74221
    https://bugs.freedesktop.org/show_bug.cgi?id=74222


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.