Bug 70973

Summary: hot-unplug primary (left) output causes secondary (right) output to stop rendering clients
Product: Wayland Reporter: U. Artie Eoff <ullysses.a.eoff>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: 1.3.0   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description U. Artie Eoff 2013-10-28 22:48:54 UTC
Hot unplugging the primary display in a dual display setup causes the secondary display to stop rendering client applications (i.e. they are invisible), but they can still be interacted with.

1. cold-plug two displays
2. execute weston-launch
3. hot-unplug the primary display (left output)
 * observe secondary output becomes the new primary
4. launch weston-terminal
 * observe weston-terminal does not render to the output
5. move mouse around (it still works and renders) and observe that the cursor eventually changes to the weston-terminal cursor.

wayland (HEAD) heads/1.3-0-g84247b7
drm (HEAD) libdrm-2.4.46-0-gc6d73cf
mesa (HEAD) remotes/origin/9.2-0-g7ab2b8c
libva (HEAD) libva-1.2.1-0-g88ed1eb
intel-driver (HEAD) 1.2.1-0-g8f306e3
weston (HEAD) remotes/origin/1.3-0-g98562c3
Comment 1 Kristian Høgsberg 2014-01-08 22:09:42 UTC
commit 54e90c7e1e20d9d51f516b42b4c846d26a8cfb5e
Author: Ander Conselvan de Oliveira <ander.conselvan.de.oliveira@intel.com>
Date:   Fri Dec 13 22:10:56 2013 +0200

    compositor: Make pointers visible when an output is unplugged
    
    Previously, if a pointer was inside an output that was unplugged, it
    could potentialy end up outside any valid output forever. With this
    patch, the pointer is moved to the "closest" output to the pointer.

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.