← Back to team overview

compiz team mailing list archive

Re: [Bug 886192] Re: Mouse/window de-synchronization during window dragging (Video)

 

On Tue, 21 Feb 2012, Daniel van Vugt wrote:

> I think the primary cause of this bug is that the move plugin uses relative movement;
>   window->move(dx, dy)
> whereas it should be absolute; something like:
>   window->moveTo(x, y)
>
> You can always know the coordinate of the title bar (or the window) that
> the user grabbed, and ensure you are always moving the window to a
> location that keeps the location of the pointer relative to the window
> constant.

Well really, plugins should use configureXWindow where possible, which 
uses absolute co-ordinates. ::move is going away anyways / being moved (no 
pun intended) into a deprecated codepath that uses configureXWindow.... 
when I get time to actually pick up my work on that again :(

>
> -- 
> You received this bug notification because you are a member of Compiz
> Maintainers, which is the registrant for Compiz Core.
> https://bugs.launchpad.net/bugs/886192
>
> Title:
>  Mouse/window de-synchronization during window dragging (Video)
>
> Status in Compiz Core:
>  Triaged
> Status in “compiz” package in Ubuntu:
>  Confirmed
>
> Bug description:
>  Example: http://www.youtube.com/watch?v=XQkmXSshgbQ
>
>  ProblemType: Bug
>  DistroRelease: Ubuntu 11.10
>  Package: unity 4.24.0-0ubuntu2b1
>  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
>  Uname: Linux 3.0.0-12-generic x86_64
>  NonfreeKernelModules: fglrx
>  .tmp.unity.support.test.0:
>
>  ApportVersion: 1.23-0ubuntu4
>  Architecture: amd64
>  CompizPlugins: [core,bailer,detection,composite,opengl,decor,place,vpswitch,mousepoll,compiztoolbox,wall,grid,imgpng,resize,gnomecompat,session,snap,move,regex,animation,unitymtgrabhandles,workarounds,expo,fade,ezoom,scale,unityshell]
>  CompositorRunning: compiz
>  Date: Fri Nov  4 16:42:41 2011
>  DistUpgraded: Log time: 2011-10-14 09:30:07.100128
>  DistroCodename: oneiric
>  DistroVariant: ubuntu
>  DkmsStatus: fglrx, 8.902, 3.0.0-12-generic, x86_64: installed
>  GraphicsCard:
>   ATI Technologies Inc Juniper [Radeon HD 5700 Series] [1002:68b8] (prog-if 00 [VGA controller])
>     Subsystem: PC Partner Limited Device [174b:1482]
>  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
>  JockeyStatus:
>   xorg:fglrx_updates - ATI/AMD proprietary FGLRX graphics driver (post-release updates) (Proprietary, Disabled, Not in use)
>   xorg:fglrx - ATI/AMD proprietary FGLRX graphics driver (Proprietary, Enabled, In use)
>  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
>  ProcEnviron:
>   PATH=(custom, user)
>   LANG=de_DE.UTF-8
>   SHELL=/bin/bash
>  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic root=UUID=4e6d264a-b802-401c-a60e-0ff10c31728e ro quiet splash vt.handoff=7
>  SourcePackage: unity
>  UpgradeStatus: Upgraded to oneiric on 2011-10-14 (21 days ago)
>  dmi.bios.date: 06/24/2010
>  dmi.bios.vendor: American Megatrends Inc.
>  dmi.bios.version: P1.20
>  dmi.board.name: 880GXH/USB3
>  dmi.board.vendor: ASRock
>  dmi.chassis.asset.tag: To Be Filled By O.E.M.
>  dmi.chassis.type: 3
>  dmi.chassis.vendor: To Be Filled By O.E.M.
>  dmi.chassis.version: To Be Filled By O.E.M.
>  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.20:bd06/24/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rn880GXH/USB3:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
>  dmi.product.name: To Be Filled By O.E.M.
>  dmi.product.version: To Be Filled By O.E.M.
>  dmi.sys.vendor: To Be Filled By O.E.M.
>  version.compiz: compiz 1:0.9.6+bzr20110929-0ubuntu5
>  version.fglrx-installer: fglrx-installer N/A
>  version.ia32-libs: ia32-libs 20090808ubuntu26
>  version.libdrm2: libdrm2 2.4.26-1ubuntu1
>  version.libgl1-mesa-dri: libgl1-mesa-dri 7.11-0ubuntu3
>  version.libgl1-mesa-dri-experimental: libgl1-mesa-dri-experimental N/A
>  version.libgl1-mesa-glx: libgl1-mesa-glx 7.11-0ubuntu3
>  version.xserver-xorg: xserver-xorg 1:7.6+7ubuntu7
>  version.xserver-xorg-input-evdev: xserver-xorg-input-evdev 1:2.6.0-1ubuntu13
>  version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:6.14.99~git20110811.g93fc084-0ubuntu1
>  version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.15.901-1ubuntu2
>  version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:0.0.16+git20110411+8378443-1
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/compiz-core/+bug/886192/+subscriptions
>

-- 
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in Ubuntu.
https://bugs.launchpad.net/bugs/886192

Title:
  Mouse/window de-synchronization during window dragging (Video)

To manage notifications about this bug go to:
https://bugs.launchpad.net/compiz-core/+bug/886192/+subscriptions


References