Bug 62298 - Input barriers don't work with wacom mouse
Summary: Input barriers don't work with wacom mouse
Status: RESOLVED MOVED
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Xorg Project Team
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-13 13:48 UTC by Bastien Nocera
Modified: 2018-12-13 22:28 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Bastien Nocera 2013-03-13 13:48:27 UTC
Using a Wacom Intuos4 with its mouse, I cannot get gnome-shell's hot corner, or message tray to appear.

It seems that the code to detect force/speed being applied on the barriers doesn't work when the mouse has "jitters" and the movement isn't smooth, as occurs with the wacom mouse.

See also https://bugzilla.freedesktop.org/show_bug.cgi?id=57383
Comment 1 Bastien Nocera 2013-03-13 13:54:46 UTC
(Of course, the mouse is in relative mode and works like a mouse)
Comment 2 Bastien Nocera 2013-03-14 12:16:55 UTC
Do we have a test application for the "bang against the edge" functionality? I'd like to verify that the problem is in the XFixes implementation rather than the gnome-shell use of it.
Comment 4 Bastien Nocera 2013-03-14 13:41:18 UTC
Compiled it with:
gcc -o pointer-barriers-interactive `pkg-config --libs --cflags x11 xfixes xi` pointer-barriers-interactive.c

Enabled the block with B, and hit the barrier with the wacom mouse:

Event type BarrierHit
   root coordinates: 689.00/100.00
   delta: 0.00/-23.00
Event type BarrierLeave
Event type BarrierHit
   root coordinates: 679.00/99.00
   delta: 0.00/11.00
Event type BarrierLeave
Event type BarrierHit
   root coordinates: 718.00/100.00
   delta: 1.00/-11.00
Event type BarrierLeave
Event type BarrierHit
   root coordinates: 694.00/99.00
   delta: -3.00/12.00
Event type BarrierLeave
Event type BarrierHit
   root coordinates: 715.00/100.00
   delta: 2.00/-27.00
Event type BarrierHit
   root coordinates: 718.00/100.00
   delta: 3.00/-27.00
Event type BarrierHit
   root coordinates: 721.00/100.00
   delta: 3.00/-27.00
Event type BarrierHit
   root coordinates: 725.00/100.00
   delta: 4.00/-25.00
Event type BarrierHit
   root coordinates: 729.00/100.00
   delta: 4.00/-24.00
Event type BarrierHit
   root coordinates: 733.00/100.00
   delta: 4.00/-23.00
Event type BarrierHit
   root coordinates: 737.00/100.00
   delta: 4.00/-22.00
Event type BarrierHit
   root coordinates: 742.00/100.00
   delta: 5.00/-21.00
Event type BarrierHit
   root coordinates: 746.00/100.00
   delta: 4.00/-20.00
Event type BarrierHit
   root coordinates: 750.00/100.00
   delta: 4.00/-19.00
Event type BarrierHit
   root coordinates: 754.00/100.00
   delta: 4.00/-19.00
Event type BarrierHit
   root coordinates: 757.00/100.00
   delta: 3.00/-19.00
Event type BarrierHit
   root coordinates: 760.00/100.00
   delta: 3.00/-18.00
Event type BarrierHit
   root coordinates: 762.00/100.00
   delta: 2.00/-18.00
Event type BarrierHit
   root coordinates: 763.00/100.00
   delta: 1.00/-18.00
Event type BarrierHit
   root coordinates: 764.00/100.00
   delta: 1.00/-17.00
Event type BarrierHit
   root coordinates: 765.00/100.00
   delta: 1.00/-16.00
Event type BarrierHit
   root coordinates: 766.00/100.00
   delta: 1.00/-15.00
Event type BarrierHit
   root coordinates: 767.00/100.00
   delta: 1.00/-14.00
Event type BarrierHit
   root coordinates: 767.00/100.00
   delta: 0.00/-14.00
Event type BarrierHit
   root coordinates: 766.00/100.00
   delta: -1.00/-14.00
Event type BarrierHit
   root coordinates: 766.00/100.00
   delta: 0.00/-13.00
Event type BarrierHit
   root coordinates: 766.00/100.00
   delta: 0.00/-12.00
Event type BarrierHit
   root coordinates: 765.00/100.00
   delta: -1.00/-10.00
Event type BarrierHit
   root coordinates: 765.00/100.00
   delta: 0.00/-9.00
Event type BarrierHit
   root coordinates: 764.00/100.00
   delta: -1.00/-7.00
Event type BarrierHit
   root coordinates: 764.00/100.00
   delta: 0.00/-5.00
Event type BarrierHit
   root coordinates: 764.00/100.00
   delta: 0.00/-4.00
Event type BarrierHit
   root coordinates: 764.00/100.00
   delta: 0.00/-3.00
Event type BarrierHit
   root coordinates: 764.00/100.00
   delta: 0.00/-2.00
Event type BarrierHit
   root coordinates: 764.00/100.00
   delta: 0.00/-1.00
Event type BarrierLeave
Comment 5 Peter Hutterer 2013-03-25 06:41:54 UTC
(In reply to comment #4)
> Enabled the block with B, and hit the barrier with the wacom mouse:

if you hit B the app will not release at all. Use the arrow keys to adjust the threshold when it is to be released. by default, the app never blocks (to test if hit+release request has smooth movement).
Comment 6 GitLab Migration User 2018-12-13 22:28:03 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/xserver/issues/437.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.