Pointer barriers have gaps along the edge of the screen
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
X.Org X server |
In Progress
|
Medium
|
|||
xorg-server (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
[Impact]
On a multiple monitor setup there is a small gap above the pointer barriers, that allows the mouse to slide through past the barrier, via the edge of the screen.
This a particular issue on gnome-shell, since the pointer barriers are used to trap the pointer inside the panel/tray when activating hot-corners. Currently it is extremely hard to land on these hot-corners due to this bug.
[TESTCASE]
1. run gnome-shell with atleast 2 montiors in horizontal configuration, 2nd monitor to the right of the primary
2. move mouse towards top-right corner of primary monitor.
Pointer should get trapped in the corner of the primary monitor, however it will actually just side over the top of the barrier.
With fix in the attached branch, the pointer is correctly trapped.
[Regression Pontential]
Should be minimal, I have tested under gnome-shell and unity and all hot-corners/sticky edges appear to be working correctly.
=== Original Bug Report ==
I have a multiple monitor setup and the pointer barriers seem to have a small (~1px) gap at the edge of the screen. For example in gnome-shell, the panel has barriers on either end, If I move the mouse towards the hot corner (top-right corner of screen) it inevitably just slips over the top of the barrier and onto the next monitor.
This bug introduced by the '500_pointer_
ProblemType: BugDistroRelease: Ubuntu 12.10
Package: xserver-xorg-core 2:1.13.0-0ubuntu6
ProcVersionSign
Uname: Linux 3.5.0-18-generic x86_64
NonfreeKernelMo
.proc.driver.
.proc.driver.
.proc.driver.
NVRM version: NVIDIA UNIX x86_64 Kernel Module 310.14 Tue Oct 9 11:52:41 PDT 2012
GCC version: gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
.tmp.unity.
ApportVersion: 2.6.1-0ubuntu6
Architecture: amd64
CompizPlugins: [core,composite
CompositorRunning: None
Date: Thu Nov 1 08:04:55 2012
DistUpgraded: Fresh install
DistroCodename: quantal
DistroVariant: ubuntu
ExtraDebuggingI
GraphicsCard:
NVIDIA Corporation G94 [GeForce 9600 GT] [10de:0622] (rev a1) (prog-if 00 [VGA controller])
Subsystem: ASUSTeK Computer Inc. Device [1043:827c]
InstallationDate: Installed on 2012-09-23 (38 days ago)
InstallationMedia: Ubuntu GNOME Remix 12.10 "Quantal Quetzal" - Alpha amd64(20120922)
MachineType: Gigabyte Technology Co., Ltd. P67A-UD3R-B3
MarkForUpload: True
ProcKernelCmdLine: BOOT_IMAGE=
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 07/22/2011
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F5
dmi.board.name: P67A-UD3R-B3
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSof
dmi.product.name: P67A-UD3R-B3
dmi.sys.vendor: Gigabyte Technology Co., Ltd.
version.compiz: compiz 1:0.9.8.
version.ia32-libs: ia32-libs 20090808ubuntu36
version.libdrm2: libdrm2 2.4.39-0ubuntu1
version.
version.
version.
version.
version.
version.
version.
version.
version.
Related branches
description: | updated |
description: | updated |
Changed in xorg-server: | |
importance: | Unknown → Medium |
status: | Unknown → In Progress |
Given two monitors of unequal size
+----- ------- ----+-- ------- ------- -----+
+-- ------- ------- -----+
| | |
| | |
| | |
| X |
+----------------X |
| |
| |
And a pointer barrier at the location labelled X, its possible to mouse underneath the barrier from left to right and onto the second monitor.
Reproduced with xorg-x11- server- Xorg-1. 12.0-2. fc17.x86_ 64
(Using GNOME 3 you can reproduce by setting up two monitors like this with the primary monitor on the left - a pointer barrier will be set up at position X to make the hot corner at the bottom left. Try mousing along the bottom row of pixels on the left monitor. This leak is not observed if the two monitors are the same size, indicating that the pointer barrier is correctly positioned.)