Windows vanish after suspend/resume

Bug #1477188 reported by James Tunnicliffe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
New
Undecided
Unassigned

Bug Description

Similar to comment #4 on bug #1126221 I find windows go missing after a suspend/resume. This tends to be one of several Chrome windows that are still visible if I alt-tab and hit down with Chrome highlighted, but aren't visible if I use super-w.

This isn't bug #1126221 since I am not adding/removing displays, unless there is something happening over the suspend/resume cycle that is triggering the same code path.

I am running a triple head set up on a Radeon HD 6950 with 2GB RAM with the radeon driver. Here is the filtered output of xrandr with the display layout details:

Screen 0: minimum 320 x 200, current 5760 x 1440, maximum 16384 x 16384
DisplayPort-0 connected primary 2560x1440+1600+0 (normal left inverted right x axis y axis) 597mm x 336mm
   2560x1440 60.0*+ 143.9 119.9 89.9
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-0 connected 1600x1200+0+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200 60.0*+
DVI-0 disconnected (normal left inverted right x axis y axis)
DVI-1 connected 1600x1200+4160+0 (normal left inverted right x axis y axis) 408mm x 306mm
   1600x1200 60.0*+

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: unity 7.3.2+15.04.20150420-0ubuntu1
ProcVersionSignature: Ubuntu 3.19.0-22.22-generic 3.19.8-ckt1
Uname: Linux 3.19.0-22-generic x86_64
ApportVersion: 2.17.2-0ubuntu1.1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CurrentDesktop: Unity
Date: Wed Jul 22 15:29:00 2015
InstallationDate: Installed on 2015-02-03 (168 days ago)
InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
SourcePackage: unity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
James Tunnicliffe (dooferlad) wrote :
Revision history for this message
James Tunnicliffe (dooferlad) wrote :
Will Cooke (willcooke)
tags: added: 16.04-hit-list
Will Cooke (willcooke)
tags: added: rls-w-incoming
Revision history for this message
James Tunnicliffe (dooferlad) wrote :

I have added a couple of comments on bug #919437 since it seems related. Digging it seems like the Compiz session management plugin may be to blame for windows that don't appear on first launch. My comment about this on bug #919437

If you install CompizConfig Settings Manager and disable the Session Management plugin (under Utility) then your windows will return after you log out and back in.

It seems that the session management plugin can return invalid data and Unity expects it to do the right thing.

My guess is that http://bazaar.launchpad.net/~compiz-team/compiz/0.9.12/view/head:/plugins/session/src/session.cpp SessionScreen::readWindow needs some sanity checking as do the state load and save functions.

I have still had windows vanish, normally Software Updaters automatic run, but restarting the application now always fixes it with the Compiz session manager disabled.

no longer affects: unity
affects: unity (Ubuntu) → compiz (Ubuntu)
Revision history for this message
James Tunnicliffe (dooferlad) wrote :

To anyone who knows, can I interrogate X / Unity / Compiz to ask where it thinks a window is? Every time Software Updater auto-runs it has no visible window and I can't meta-W or alt-tab to it. I am guessing that I could get useful information about this bug when this happens.

tags: added: rls-x-incoming
removed: rls-w-incoming
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.