Incorrect workspace after moving a window by ctrl+shift+alt+arrow in a multimonitor setup

Bug #1000367 reported by Marcio Merlone
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Compiz
Confirmed
Undecided
Unassigned
compiz (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Moved windows across workspaces using ctrl+alt+shift+arrow get erratic behavior, moving back alone to another workspace and position (sometimes the previous position, but not always).

For example: I have a terminal window on the first workspace and ctrl+alt+shift+arrow to move it to the monitor 2 of the second workspace. Then I ctrl+alt+arrow to go back to the the first workspace and there is the terminal window! I get back to the second workspace and the window is not there anymore (sure, it got to the other workspace by it self), but there I find a window that came from another workspace by magic.

In short, I have 5 workspaces, and whenever I move any window accross workspaces, or just switch workspace, many windows get repositioned on random workspaces AND positions (random position only when not maximized).

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: compiz 1:0.9.7.8-0ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-24.37-generic 3.2.14
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: nvidia
.proc.driver.nvidia.gpus.0: Error: [Errno 21] É um diretório: '/proc/driver/nvidia/gpus/0'
.proc.driver.nvidia.registry: Binary: ""
.proc.driver.nvidia.version:
 NVRM version: NVIDIA UNIX x86_64 Kernel Module 295.40 Thu Apr 5 21:37:00 PDT 2012
 GCC version: gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
.tmp.unity.support.test.0:

ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,regex,mousepoll,dbus,imgpng,ring,gnomecompat,grid,animation,ezoom,move,wall,resize,place,workarounds,session,wobbly,scale]
CompositorRunning: compiz
CurrentDmesg: Error: command ['sh', '-c', 'dmesg | comm -13 --nocheck-order /var/log/dmesg -'] failed with exit code 1: comm: /var/log/dmesg: Permission denied
Date: Wed May 16 14:21:18 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
DkmsStatus:
 nvidia-current-updates, 295.40, 3.2.0-24-generic, x86_64: installed
 virtualbox, 4.1.12, 3.2.0-24-generic, x86_64: installed
GraphicsCard:
 NVIDIA Corporation G96 [GeForce 9500 GT] [10de:0640] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: eVga.com. Corp. Device [3842:c958]
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Beta amd64 (20120328)
JockeyStatus:
 xorg:nvidia_current - Driver de aceleração de vídeo NVIDIA (Proprietário, Desativado, Não está em uso)
 xorg:nvidia_current_updates - Driver gráfico de aceleração NVIDIA (atualizações pós instalação) (Proprietário, Habilitado, Em uso)
MachineType: System manufacturer System Product Name
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=pt_BR:pt:en
 PATH=(custom, no user)
 LANG=pt_BR.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-24-generic root=UUID=7940fe94-41c5-462b-a141-8ee9c2429943 ro quiet splash vt.handoff=7
SourcePackage: compiz
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/04/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0902
dmi.board.asset.tag: To be filled by O.E.M.
dmi.board.name: P8H67-M PRO
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr0902:bd03/04/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP8H67-MPRO:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
dmi.product.name: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer
version.compiz: compiz 1:0.9.7.8-0ubuntu1
version.ia32-libs: ia32-libs 20090808ubuntu35
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3
version.nvidia-graphics-drivers: nvidia-graphics-drivers N/A
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.1
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20111219.aacbd629-0ubuntu2
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.19.0-0ubuntu1~xup1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Marcio Merlone (mmerlone) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
Michal Bojanowski (michal2992) wrote :

I can confirm this. I am getting the very same type of erratic behavior on my laptop (without multiple monitors). Using compiz grid plugin on a window, then moving it to different workspace with ctrl-shift-<direction>, and then switching back to previous workspace the window shows up in the "old" workspace.

I'm using ubuntu 12.04 (64bit) on HP ProBook 6450b with Intel HD Graphics.

Revision history for this message
Derek Chen-Becker (dchenbecker) wrote :

Same here. If I put a window in a workspace other than the first one and then switch between workspaces, the window will always move back to the first workspace. This is on a custom desktop with Ubuntu 12.04 x86_64, ATI Radeon HD 5430 +fglrx 8.960. This worked fine in 11.10 which I just upgraded from.

Revision history for this message
Robert (bobatmcdonaldranch) wrote :

I can also confirm this. My laptop is a Compaq Presario CQ56 with an Intel Celeron processor and onboard Intel graphics. I am using Ubuntu 12.04.1 alternate i386.

I have a workaround: Disable the 'place windows' plugin (just un-tick the box). Located under 'Window Management'.

Everything seems to work a whole lot better after you do.

Revision history for this message
FuzzyQ (atomicfuzzyq) wrote :

The problem persists in Quantal.

Revision history for this message
Marcio Merlone (mmerlone) wrote :

Canonical seems to be more commited about new features than quality and stability, most annoyances are from compiz+unity.

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Marcio,

Can you reproduce this bug with a 12.10 live session? I haven't ever seen it in 12.04 or 12.10 and still cannot reproduce the bug today.

Changed in compiz:
status: New → Confirmed
Revision history for this message
Michal Bojanowski (michal2992) wrote :

I can reproduce it on laptop with integrated Intel graphics and desktop with Radeon 5770, both with installed Ubuntu 12.04.

Revision history for this message
MC Return (mc-return) wrote :

I can confirm that Put->Put to arbitrary viewport still is broken (on Quantal running Compiz trunk) in various ways I am still trying to analyze... (see also bug 1006324)

A workaround for this problem with putting windows to different viewports via Put plug-in would be to set Horizontal Virtual Size to 4 and Vertical Virtual Size to 1 in CCSM->General->Desktop Size, activate the Desktop Cube plug-in and Rotate Cube and then adjust Rotate Cube to do the work for you (see screenshot).

Revision history for this message
Marcio Merlone (mmerlone) wrote :

Daniel,

I am kind a busy those days, not sure when will be able to test the live session.

But something really bizarre just happened: I was working on Eclipse (the latest), I had the editor window split horizontally in two with a bunch of open files on each. When I tried to drag one editor from bottom to the top split, nothing happened on Eclipse, but a recent maximized terminal window from two desktops on the right just popped out in front of me, unmaximized, bounced a little to some corners, no title bar (it was thinking still maximized and using global menu), and stopped in the middle of the two monitors, at the bottom, half outside the viewport. Then I tried to move it with alt+drag and it flee back to its original desktop...

Some more info: that terminal window was resized by the grid plugin with ctrl+alt+kp3 before got maximized by clicking the window control. I am NOT using Ubuntu's Eclipse, but downloaded from the net instead. I also disabled click-to-focus, click-to-rise and auto-rise, It smells related. Not to forget: dual monitor. Sorry if I could not be of much help now. By now I can send you my compiz info if that helps, just tell me the proper way.

Sometimes I miss my FreeBSD + WindowMaker desktop from some years ago.... wait: it was a decade ago already! Gee, I'm getting too old for this. ;)

Best regards.

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.