[Wayland-bugs] [Bug 104680] Palm rejection not working with wacom pen and touch screen

2019-05-10 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104680

GitLab Migration User  changed:

   What|Removed |Added

 Resolution|--- |MOVED
 Status|NEW |RESOLVED

--- Comment #2 from GitLab Migration User  ---
-- 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/713.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs

[Wayland-bugs] [Bug 104680] Palm rejection not working with wacom pen and touch screen

2018-02-04 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104680

--- Comment #1 from Steven D.  ---
This is affecting my Thinkpad Yoga 260 as well

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs


[Wayland-bugs] [Bug 104680] Palm rejection not working with wacom pen and touch screen

2018-01-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=104680

Bug ID: 104680
   Summary: Palm rejection not working with wacom pen and touch
screen
   Product: Wayland
   Version: unspecified
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: XWayland
  Assignee: wayland-bugs@lists.freedesktop.org
  Reporter: rag...@ragtag.net
QA Contact: xorg-t...@lists.x.org

On my ThinkPad S1 Yoga (model nr. 20DLCTO1WW) running Ubuntu Gnome 17.10, with
Wayland and libinput 1.8.2, which has both a Wacom EMR (passive) stylus and a
touch screen.

The stylus is detected when it comes within 1 cm or so from the screen, and
ideally the touch screen should be disabled at this point, so you can rest your
hand on the screen while writing or drawing, without causing accidental
touches.

There was a somewhat hacky python script that solved this, that I contributed
to ( https://github.com/ragtag/spin ), but this no longer works as the xinput
command used to detect pen proximity no longer works.

"xinput --list" returns:

⎡ Virtual core pointer  id=2[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointerid=4[slave  pointer  (2)]
⎜   ↳ xwayland-pointer:13   id=6[slave  pointer  (2)]
⎜   ↳ xwayland-relative-pointer:13  id=7[slave  pointer  (2)]
⎜   ↳ xwayland-stylus:13id=10   [slave  pointer  (2)]
⎜   ↳ xwayland-eraser:13id=11   [slave  pointer  (2)]
⎜   ↳ xwayland-cursor:13id=12   [slave  pointer  (2)]
⎜   ↳ xwayland-touch:13 id=9[slave  pointer  (2)]
⎣ Virtual core keyboard id=3[master keyboard (2)]
↳ Virtual core XTEST keyboard   id=5[slave  keyboard (3)]
↳ xwayland-keyboard:13  id=8[slave  keyboard (3)]

But when running 'xinput query-state "xwayland-stylus:13"', none of the values
change, including Proximity, which is what the Python was using to know when to
disable the touchscreen.

"sudo libinput debug-events" does detect the pen perfectly, including noting
proximity-in and proximity-out.

I originally wanted to update the spin Python script to work with Wayland, but
quickly found that much of what it does, such as automatic screen rotation, was
already implemented and working, so it would be great to see these final little
issues fixed too. I originally posted a bug report on it here
https://github.com/linuxwacom/wacom-hid-descriptors/issues/18

That said, if this is something that will or should not be fixed in XWayland, I
would love to get a pointer in the right direction for how to correctly handle
proximity detection from Python, so I can re-write spin to work correctly in
Wayland.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
wayland-bugs mailing list
wayland-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/wayland-bugs