Windows snap back to edges of screen

Bug #1017374 reported by Bogo Nomicon
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Ayatana Design
New
Undecided
Unassigned
Compiz
New
Undecided
Unassigned
compiz (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When a window is at the edge of the screen and is resized to full screen. When you later resize to nolonger being full screen, when you try to move the weindow to a new location away from the edge of teh screen the window will snap back to the edge of the screen it was originally against when if was first sized to full screen. It happens with all the programs I have tested it with, including, but not limited to, Firefox, xterm, and mplayer. I'm using Gnome Classic.

Another issue is there is no bug reporting option under the menuing system. I had to figure outr what the bug reporting tool was then invoke the bug reporting command (ubuntu-bug) via the command line in an xterm.

Third, I should have had a screen provided by the bug reporting tool (ubuntu-bug) to enter this data. It would have made much better sense to collect the data them. As is I had to wait well over a minute for this screen to show up so I could describe the actual fault.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: xorg 1:7.6+12ubuntu1
ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
Uname: Linux 3.2.0-25-generic x86_64
.tmp.unity.support.test.0:

ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
CompizPlugins: [core,composite,opengl,compiztoolbox,decor,vpswitch,snap,mousepoll,resize,place,move,wall,grid,regex,imgpng,session,gnomecompat,animation,fade,workarounds,scale,expo,ezoom]
CompositorRunning: compiz
Date: Mon Jun 25 02:29:33 2012
DistUpgraded: Fresh install
DistroCodename: precise
DistroVariant: ubuntu
ExtraDebuggingInterest: Yes, if not too technical
GraphicsCard:
 NVIDIA Corporation G94 [GeForce 9600 GT] [10de:0622] (rev a1) (prog-if 00 [VGA controller])
   Subsystem: ASUSTeK Computer Inc. Device [1043:827c]
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
MachineType: System manufacturer System Product Name
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.2.0-25-generic root=UUID=d82abc13-063a-4915-892b-1fa045593f60 ro quiet splash vt.handoff=7
SourcePackage: xorg
Symptom: display
UpgradeStatus: No upgrade log present (probably fresh install)
XorgConf:
 Section "Device"
  Identifier "Default Device"
  Option "NoLogo" "True"
 EndSection
dmi.bios.date: 03/20/2008
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1002
dmi.board.asset.tag: To Be Filled By O.E.M.
dmi.board.name: M3A32-MVP DELUXE
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.:bvr1002:bd03/20/2008:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnM3A32-MVPDELUXE: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 20090808ubuntu36
version.libdrm2: libdrm2 2.4.32-1ubuntu1
version.libgl1-mesa-dri: libgl1-mesa-dri 8.0.2-0ubuntu3.1
version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
version.libgl1-mesa-glx: libgl1-mesa-glx 8.0.2-0ubuntu3.1
version.xserver-xorg-core: xserver-xorg-core 2:1.11.4-0ubuntu10.2
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.7.0-0ubuntu1.2
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.17.0-1ubuntu4
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2

Revision history for this message
Bogo Nomicon (miscbma) wrote :
Revision history for this message
Bogo Nomicon (miscbma) wrote :

Another windo size snapping issue. When an mplayer window is resized off of full screen (using "f" full screen toggle command in mplayer) the window initially resizes like it did before, but then a fraction of a second later the top and bottom edges of the window snap to the top and bottom of the screen.

Anoter issue is the gnome pannels display themselves on top of the mplayer when mplayer is in full screen mode. I'm now sure this is a gnome-pannel issue rather than an mplayer one.

Steve Langasek (vorlon)
tags: removed: regression-update
Revision history for this message
John Lea (johnlea) wrote :

@Bogo Nomicon (miscbma); Could you please attach a screencast of the issue to the bug, I have not been able to reproduce the issue following the description. Thanks!

Timo Aaltonen (tjaalton)
affects: xorg (Ubuntu) → compiz (Ubuntu)
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
rawdmon (raw-dmon) wrote :

This bug affects me as well but not when resizing windows. If I take a window and drag it to the edge of a screen to initiate a cube rotate, when the windows makes it to the next side of the cube it snaps down to the bottom of the screen (so that there's now space between my cursor and the top of the window). Also, if I place a window between two virtual desktops and initiate a cube rotate, compiz snaps that window back in to one of the two desktops. This is the first time I've seen this behaviour in compiz, it never used to do this.

Revision history for this message
rawdmon (raw-dmon) wrote :

I should add that I am using a Radeon HD5450 with dual monitors running Ubuntu 12.04 with unity disabled (installed gnome-panel). If I use the ctrl-shift-alt-left/right shortcut to move a window between virtual desktops instead of the window staying in it's original position on the new desktop like it used to do it snaps to the edge. I'm not sure if this only affects systems with dual monitors, but it reduces usability quite considerably.

Revision history for this message
rawdmon (raw-dmon) wrote :

I've attached a video of what I'm describing. You'll notice near the end of the video that the window completely snaps away from my cursor even though I'm still grabbing it (it ends up on a different virtual desktop than the one I'm on). You'll also notice maximized windows snapping to the second monitor when moving them between desktops and snapping to the edge when half-way between two virtual desktops instead of staying in their original position.

Revision history for this message
Donjan Rodic (bryonak) wrote :

I'm experiencing exactly the same window dragging bug as described and shown by rawdmon, on a single monitor with two workspaces and the Desktop Wall plugin (no cube). Moving windows across workspaces loses track of their exact position.

I do think however that this is not the original bug... it's probably more related to this one:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/771448

Revision history for this message
John Lea (johnlea) wrote :

I think this is a duplicate of bug #201681, so marking as a dupe.

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

No, I think this is bug 974242.

Revision history for this message
Phil Hord (phil-phord) wrote :

It doesn't sound like 974242 to me. It sounds more like bug 1014507.

https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1014507

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.