After waking up from sleep mode, active window moves to first display

Bug #1245349 reported by kolen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
Expired
Undecided
Unassigned
xorg (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

- Connect two monitors (I use builtin laptop monitor (first) and one external (second))
- Start some programs, move some window to second monitor and make it active
- Go into sleep mode
- Wake up the computer
- Now last active window had moved to first monitor (and possibly resized)

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: xorg 1:7.7+1ubuntu6
ProcVersionSignature: Ubuntu 3.11.0-13.20-generic 3.11.6
Uname: Linux 3.11.0-13-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.12.5-0ubuntu2.1
Architecture: amd64
CompizPlugins: No value set for `/apps/compiz-1/general/screen0/options/active_plugins'
CompositorRunning: compiz
CompositorUnredirectDriverBlacklist: '(nouveau|Intel).*Mesa 8.0'
CompositorUnredirectFSW: true
Date: Mon Oct 28 10:18:40 2013
DistUpgraded: Fresh install
DistroCodename: saucy
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 Advanced Micro Devices, Inc. [AMD/ATI] RV710/M92 [Mobility Radeon HD 4530/4570/545v] [1002:9553] (prog-if 00 [VGA controller])
   Subsystem: Lenovo Device [17aa:21bb]
InstallationDate: Installed on 2013-10-23 (4 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MachineType: LENOVO 4403RP2
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.11.0-13-generic root=UUID=1caa7d75-3528-4d6a-a5b2-696009d4b990 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/08/2011
dmi.bios.vendor: LENOVO
dmi.bios.version: 81ET60WW (1.36 )
dmi.board.name: 4403RP2
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr81ET60WW(1.36):bd12/08/2011:svnLENOVO:pn4403RP2:pvrThinkPadL412:rvnLENOVO:rn4403RP2:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 4403RP2
dmi.product.version: ThinkPad L412
dmi.sys.vendor: LENOVO
version.compiz: compiz 1:0.9.10+13.10.20131011-0ubuntu1
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.46-1
version.libgl1-mesa-dri: libgl1-mesa-dri 9.2.1-1ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 9.2.1-1ubuntu3
version.xserver-xorg-core: xserver-xorg-core 2:1.14.3-3ubuntu2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.3-0ubuntu3.1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:7.2.0-0ubuntu10
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.904-0ubuntu2
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.9-2ubuntu1
xserver.bootTime: Fri Oct 25 17:34:23 2013
xserver.configfile: default
xserver.errors: RADEON(0): failed to set mode: Permission denied(II) RADEON(0): VRAM usage limit set to 451580K
xserver.logfile: /var/log/Xorg.0.log
xserver.version: 2:1.14.3-3ubuntu2
xserver.video_driver: radeon

Revision history for this message
kolen (incredible-angst) wrote :
Revision history for this message
Eleni Maria Stea (hikiko) wrote :

Thank you for the bug report. How did you set your laptop to "sleep mode"? I tried to reproduce the bug by locking my laptop screen, then by suspending and then by hibernating my laptop and I couldn't. Which programs did you have open? Can you reproduce it everytime you have an active window in the 2nd monitor?
Thanks.

Revision history for this message
kolen (incredible-angst) wrote :

Initiated sleep mode by closing laptop lid. Windows moved to first monitor was notably Chromium.

Also, now I'm using KDE and this does not occur, tried going into sleep mode multiple times -- windows remain at the same positions at which left before sleep. Seems that this only occurs in default gnome/compiz/unity-based Ubuntu desktop.

Revision history for this message
Eleni Maria Stea (hikiko) wrote :

Thank you for your quick reply.
So, the only window that moved to the first monitor was chromium?
I still can't reproduce the bug. I opened a chromium window on the 2nd monitor, closed my laptop lid, also tried to suspend, hibernate and lock the screen of my laptop but the chromiumwindow is still at the correct place. Do you get the problem every time or you got it once?

Could you please tell us if:
1 - Windows from different programs are moved every time you close the lid
2 - Chrome is moved every time you close the lid
3 - Chrome and/or some other windows were moved on the laptop screen only once and now this doesn't occur anymore

If this happens every time for different programs then it's probably a compiz/unity bug and thanks for reporting it.
In case 2 it's probably a chromium bug and we should report it elsewhere
In case 3 it could possibly be that you accidentally moved your vga cable while on sleep mode and some windows of the secondary monitor moved to the primary one (that's what usually happens if you unplug the vga cable / turn off the monitor because all the windows of the multimonitor mode should be also visible in the single monitor mode).

Could you verify that it's not the case 2 or 3?
Thanks a lot!

Changed in compiz:
status: New → Incomplete
Changed in xorg (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for xorg (Ubuntu) because there has been no activity for 60 days.]

Changed in xorg (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for Compiz because there has been no activity for 60 days.]

Changed in compiz:
status: Incomplete → Expired
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.