Windows are incorrently placed into two workspaces by invisible window borders.

Bug #756984 reported by shafin
26
This bug affects 5 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: compiz

In ubuntu natty with compiz, invisible window borders are introduced to help with resizing. However, this causes the border of a window that is positioned at the edge of an workspace to bleed into another window. This can be seen by placing any window in the border of an workspace. The shadow of the window becomes visible in the next workspace. This causes the following problems:

*Ghost resize grip: In a blank workspace, if any such border from a window in another workspace is present, the cursor changes shape to resize grips when placed over the shadow. The presence of the shadow itself is visibly distracting, but the change of cursor is unexplained and uncalled for. Click and holds mistakenly resize a window in another workspace.

* Broken Switchers: A more serious problem occurs when trying to use any window switcher plugin like scale or ring switcher. Consider the following situation:
1. Workspace 1 and workspace 2 are adjacent.
2.I have a nautilus window ope in workspace 1 and a firefox window open in workspace 2.
3. The nautilus window set to snap to the border of its workspace. Its shadow bleeds to the firefox workspace.
4. I'm in the firefox window and want to return to the nautilus window. I call a window switcher.
5. I select the nautilus window.
6. The focus returns to the firefox workspace.
What happens here is that the focus goes to the nautilus window, but the screen returns to the firefox workspace. This happens as there is a part of the nautilus window present in the firefox workspace, it's invisible resize handler.My assumption about the behavior of switchers is that if any part of the switcher window remains in the current workspace, it focuses on that part, even if that part is a small fraction of the total window. If it is true, than the invisible border fools the switcher and prevents it from switching workspaces. This totally breaks any window switcher for maximized windows.

Possible solutions:
Make sure that invisible borders do not bleed into adjacent workspaces. This solves both ghost resize grip and broken switchers problems.
In case the above solution is difficult to achieve, make sure that when window switchers focus on a window, it moves the workspace focus to the one where the majority area of the focused window is present. This would make the window switchers workable again but the ghost resize grips would still appear.

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: compiz-plugins 1:0.9.4+bzr20110407-0ubuntu2
ProcVersionSignature: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic x86_64
Architecture: amd64
CompizPlugins: [core,bailer,detection,composite,opengl,imgjpeg,decor,regex,imgpng,move,gnomecompat,animation,compiztoolbox,dbus,animationaddon,water,workarounds,firepaint,commands,obs,mousepoll,imgsvg,kdecompat,grid,resize,wall,annotate,zoom,vpswitch,inotify,snap,place,put,kde,expo,text,screenshot,ezoom,staticswitcher,session,fade,ring,scale,scaleaddon,scalefilter]
CompositorRunning: compiz
DRM.card0.VGA.1:
 status: connected
 enabled: enabled
 dpms: On
 modes: 1366x768 1024x768 1024x768 1024x768 832x624 800x600 800x600 800x600 800x600 640x480 640x480 640x480 640x480 720x400
 edid-base64: AP///////wBMLTIGVTVFTioUAQMOKRd4Kj2BplZKmiQSUFS/7gABAQEBAQEBAQEBAQEBAQEBZiFWqlEAHjBGjzMAmuYQAAAeAAAA/QA4Sx49CQAKICAgICAgAAAA/ABTTUIxOTMwTgogICAgAAAA/wBITUJaQTAwMDQ1CiAgABA=
Date: Mon Apr 11 05:40:59 2011
DistUpgraded: Log time: 2011-04-04 20:23:20.389380
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
 vboxhost, 4.0.4, 2.6.38-8-generic, x86_64: installed
 vboxhost, 4.0.4, 2.6.38-7-generic, x86_64: installed
GraphicsCard:
 Intel Corporation 82945G/GZ Integrated Graphics Controller [8086:2772] (rev 02) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:817a]
MachineType: System manufacturer System Product Name
ProcEnviron:
 LANGUAGE=bn_BD:en
 LANG=bn_BD.UTF-8
 SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.38-8-generic root=UUID=9ff098af-4781-4e14-ad40-586504a29561 ro quiet splash vt.handoff=7
ProcVersionSignature_: Ubuntu 2.6.38-8.41-generic 2.6.38.2
Renderer: Unknown
SourcePackage: compiz
UpgradeStatus: Upgraded to natty on 2011-04-04 (6 days ago)
dmi.bios.date: 03/19/2007
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 0602
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: P5LD2-VM SE
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 2.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.:bvr0602:bd03/19/2007:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5LD2-VMSE:rvrRev2.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.4+bzr20110407-0ubuntu2
version.ia32-libs: ia32-libs 20090808ubuntu11
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.libgl1-mesa-dri: libgl1-mesa-dri 7.10.1-0ubuntu3
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 7.10.1-0ubuntu3
version.xserver-xorg: xserver-xorg 1:7.6+4ubuntu3
version.xserver-xorg-video-ati: xserver-xorg-video-ati N/A
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.14.0-4ubuntu6
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau N/A

Revision history for this message
shafin (mahdee-jameel) wrote :
Changed in compiz (Ubuntu):
status: New → Confirmed
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Hi, there. This report, while very well-detailed, is actually quite a few other bug reports wrapped into one. I thank you for your time but rather than duping this bug as one of the many it describes I'm going to invalidate since there's no one report it specifies exactly.

Thank you for your time, and if the issue is still there, please search launchpad for your specific bugs.

Changed in compiz (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Also, many of these issues have certainly been resolved in 12.04, at least.

Revision history for this message
Atul (atulkakrana) wrote :

Hello Chauncellar,

This is the most annoying bug I have faced in the history of linux. Being a power linux user I waste so much of time closing windows which miss their border while changing workspace and finding windows that move to other workspace. Please open this bug again and tell me what all information you need to fix this bug.

Atul Kakrana

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.