Bug 103978 - Wacom stylus is still considered clicked even after raising it
Summary: Wacom stylus is still considered clicked even after raising it
Status: RESOLVED DUPLICATE of bug 103086
Alias: None
Product: Wayland
Classification: Unclassified
Component: libinput (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
Depends on:
Reported: 2017-11-29 21:14 UTC by Jehan
Modified: 2017-11-30 04:46 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:

evemu-record result when clicking raising and moving (314.49 KB, text/x-log)
2017-11-29 21:30 UTC, Jehan

Description Jehan 2017-11-29 21:14:30 UTC
Using libinput 1.9.1 from Fedora 27 on Wayland.
Material: Wacom MobileStudio Pro (using the new Wacom Pro Pen 2).

- For instance in Nautilus, click somewhere in the file window with the pen.
- Raise the pen so that it does not touch the screen anymore but stays visible by the tablet (i.e. hovering it at maybe 1cm above the screen).

Expected result: nothing. When clicking inside Nautilus, there may be a contextual event associated to where you clicked, but that's all.

Actual result: a blue rectangle appears and follow the pointer, as though you clicked with a mouse, then hold the click and drag.

This is not a bug in Nautilus. It appears everywhere where a click and drag can occur. For instance in GIMP, using a brush with no dynamics, click and draw, then raise the stylus 1 cm above the screen => the drawing continus and follows the stylus.

To stop the drag action, the stylus has to be raised further away until the tablet don't see its hovering anymore. Then when getting the stylus close again to the screen, the dragging is effectively reset.

I personally consider this a blocker bug since it effectively makes this machine unusable with Wayland. You just can't use the stylus because any action you do in any software is just considered as a drag action (for instance I can't click icons or windows in the overview as well because it tries to drag them instead of starting/showing them). And as you can imagine, a Wacom tablet without using the stylus, this is like an oxymoron.

I won't edit the severity though because I'm not the one to decide.
Comment 1 Jehan 2017-11-29 21:30:47 UTC
Created attachment 135814 [details]
evemu-record result when clicking raising and moving

Oups I completely forgot the result of evemu-record when recording the stylus upon:

- click in Nautilus;
- raising 1cm above screen;
- moving;
- finally raising far enough to lose the signal.
Comment 2 Peter Hutterer 2017-11-30 04:46:17 UTC
Your pen pressure isn't resetting correctly, see https://wayland.freedesktop.org/libinput/doc/latest/tablet-support.html#tablet-pressure-offset

unfortunately this doesn't happen on proximity in but only after tip off. We need to fix bug 103086 and that should make this device work as well.

*** This bug has been marked as a duplicate of bug 103086 ***

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.