Mouse clicks are offset from the pointer
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Unity |
Invalid
|
Undecided
|
Unassigned | ||
compiz (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: unity
This bug is very similar to bug #755406, but since the original bug is reported to be caused by wine applications and I didn't use wine, I am filing a separate bug.
I launched a KVM virtual machine with a graphical window. At some point, the guest operating system changes the screen resolution so the size of the window adapts. The window is then the same size of the physical screen, so compiz/unity detects that and makes the window fullscreen. I changed the screen resolution in the guest OS to a smaller size and resized an moved the window.
At some point I realize that all the mouse clicks are about 20 pixels lower than the mouse pointer. After reading bug #755406, I click twice on the maximize window button try to maximize the KVM window that was fullscreen and restore it. After this the mouse clicks are no longer offset from the mouse pointer.
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: unity 3.8.12-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-
NonfreeKernelMo
.proc.driver.
NVRM version: NVIDIA UNIX x86 Kernel Module 173.14.30 Thu Apr 14 08:47:14 PDT 2011
GCC version: gcc version 4.5.2 (Ubuntu/Linaro 4.5.2-8ubuntu4)
Architecture: i386
CheckboxSubmission: 0378b0df62dc16d
CheckboxSystem: 6ce041aeed0a2c1
CompizPlugins: [core,bailer,
CompositorRunning: compiz
Date: Tue May 10 10:03:37 2011
DistUpgraded: Log time: 2011-04-29 18:31:29.775589
DistroCodename: natty
DistroVariant: ubuntu
DkmsStatus:
nvidia-173, 173.14.30, 2.6.38-
nvidia-current, 270.41.06, 2.6.38-
GraphicsCard:
nVidia Corporation G72 [GeForce 7300 SE/7200 GS] [10de:01d3] (rev a1) (prog-if 00 [VGA controller])
Subsystem: Elitegroup Computer Systems Device [1019:1213]
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
InstallationMedia_: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
InstallationMed
JockeyStatus:
xorg:nvidia_173 - Pilote d'accélération graphique NVIDIA (Propriétaire, Activé, Non utilisé)
xorg:nvidia_
MachineType: Hewlett-Packard HP xw4400 Workstation
ProcEnviron:
LANGUAGE=fr_CA:en
PATH=(custom, user)
LANG=fr_CA.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
ProcVersionSign
Renderer: Unknown
SourcePackage: unity
UnitySupportTest: Warning: UNITY_FORCE_START enabled, no check for unity or compiz support.
UpgradeStatus: Upgraded to natty on 2011-05-02 (7 days ago)
dmi.bios.date: 12/07/2006
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 786D7 v02.02
dmi.board.name: 0A68h
dmi.board.vendor: Hewlett-Packard
dmi.chassis.
dmi.chassis.type: 6
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-
dmi.product.name: HP xw4400 Workstation
dmi.sys.vendor: Hewlett-Packard
version.compiz: compiz 1:0.9.4+
version.libdrm2: libdrm2 2.4.23-1ubuntu6
version.
version.
version.
version.
version.
version.
version.
version.
I can reproduce the bug simply by moving the mouse pointer into and then out of the KVM (qemu) window. When the mouse pointer is inside the window it is seems to be "captured" and is hidden. The offset seems to be related to the distance between the edge of the window and the position of the pointer when it reappears outside the window. Perhaps this happens to other SDL applications like games.