input-wacom icon indicating copy to clipboard operation
input-wacom copied to clipboard

Pen is not working in fullscreen

Open cankurttekin opened this issue 1 year ago • 8 comments

I am using Lenovo Yoga 7i 14irl8, Screenshot from 2024-07-18 22-24-50

when i open apps in fullscreen mode pen only works if i dont lift up, as long as i lift up the pen once it does not take inputs if i dont quit from fullscreen. I tried observing events with libinput debug-events --verbose and it detecs my pen inputs even on fullscreen mode but none of my application takes it. event5 TABLET_TOOL_AXIS +2.203s 192.35*/90.68* tilt: 0.00/0.00 pressure: 0.00

libinput list-devices output:


`Device:           Wacom HID 5362 Pen
Kernel:           /dev/input/event5
Group:            6
Seat:             seat0, default
Size:             302x188mm
Capabilities:     tablet 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   none
Rotation:         n/a

Device:           Wacom HID 5362 Finger
Kernel:           /dev/input/event6
Group:            6
Seat:             seat0, default
Size:             302x188mm
Capabilities:     touch 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0
`


cankurttekin avatar Jul 18 '24 19:07 cankurttekin

Hi,

Got exactly the same issue, with mostly the same stack: Lenovo ThinkPad X1 Yoga 3rd Fedora Linux 40 (Workstation Edition) Linux 6.9.8-200.fc40.x86_64 x86_64 Wayland GNOME Shell 46.3.1

And I also noticed that the pen input does not work iff the app covers the top left corner of the screen (or is within 20-50 pixels from it), an as long as the corner is not covered everything works.

journalctl reports when pen is not working:

Jul 23 04:13:07 x1f kernel: wacom 0003:056A:5146.0003: wacom_idleprox_timeout: tool appears to be hung in-prox. forcing it out.

libinput list-devices:

libinput-config: configuring device 'Wacom Pen and multitouch sensor Finger'
Device:           Wacom Pen and multitouch sensor Finger
Kernel:           /dev/input/event5
Group:            5
Seat:             seat0, default
Size:             309x174mm
Capabilities:     touch 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   n/a
Rotation:         0.0

libinput-config: configuring device 'Wacom Pen and multitouch sensor Pen'
Device:           Wacom Pen and multitouch sensor Pen
Kernel:           /dev/input/event7
Group:            5
Seat:             seat0, default
Size:             309x174mm
Capabilities:     tablet 
Tap-to-click:     n/a
Tap-and-drag:     n/a
Tap drag lock:    n/a
Left-handed:      n/a
Nat.scrolling:    n/a
Middle emulation: n/a
Calibration:      identity matrix
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Disable-w-trackpointing: n/a
Accel profiles:   none
Rotation:         n/a

flynx avatar Jul 23 '24 01:07 flynx

i am not sure but this is probably gnome and wayland thing. i have dual boot with gnome 42 and it does work perfectly on that. we might open this issue on gnome vcs

cankurttekin avatar Jul 23 '24 08:07 cankurttekin

i am not sure but this is probably gnome and wayland thing. i have dual boot with gnome 42 and it does work perfectly on that. we might open this issue on gnome vcs

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/7812

OlaszPL avatar Aug 05 '24 12:08 OlaszPL

@OlaszPL everything worked for me several updates back as well, but I can't exactly say when things broke and on what exact package update.

flynx avatar Aug 05 '24 13:08 flynx

@OlaszPL everything worked for me several updates back as well, but I can't exactly say when things broke and on what exact package update.

Is it possible to you to find what is latest working version?

cankurttekin avatar Aug 05 '24 17:08 cankurttekin

I downgraded gnome-shell to 46.0-1 and libwacom to 2.10.0-1 but it didn't work.

OlaszPL avatar Aug 06 '24 09:08 OlaszPL

Yeah i also tried that. It works on 44, but i am not sure about 45, will chek that.

cankurttekin avatar Aug 06 '24 11:08 cankurttekin

I have everything working on Gnome 45.5 but that's not a clean test -- different hardware.

flynx avatar Aug 06 '24 13:08 flynx

https://gitlab.gnome.org/GNOME/mutter/-/issues/3616 This issue was closed 2 weeks ago, so we just have to wait for a new mutter release. It appears that this fix is included in mutter 47 that would probably be released with Gnome 47.

OlaszPL avatar Sep 11 '24 09:09 OlaszPL

https://gitlab.gnome.org/GNOME/mutter/-/issues/3616 This issue was closed 2 weeks ago, so we just have to wait for a new mutter release. It appears that this fix is included in mutter 47 that would probably be released with Gnome 47.

thanks for the info

cankurttekin avatar Sep 13 '24 12:09 cankurttekin