Bug 426583 - [Wayland] Wacom tablet can't switch focus between windows
Summary: [Wayland] Wacom tablet can't switch focus between windows
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: git master
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-16 03:16 UTC by Thiago Sueto
Modified: 2022-01-10 09:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Sueto 2020-09-16 03:16:45 UTC
SUMMARY
Clicking outside currently active window or on another window can't switch focus despite retaining selection and interaction.

* For some reason, Kotatogram/Telegram (heavily custom Qt) and Auryo (Electron) can switch focus perfectly fine

STEPS TO REPRODUCE

Switching focus
1. Open any two applications
2. Snap them to each side
3. Try touching the other window with tablet pen to switch focus

Maintained selection and interaction
1. Open Kate
2. Add text to Kate
3. Open any window and have it active
4. Try selecting text on Kate

OBSERVED RESULT
Focus is not switched by click with tablet.

EXPECTED RESULT
Focus switches fine by click with tablet.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200823 (build from 2020-09-14)
KDE Plasma Version: 5.19.80
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1
Kernel Version: 5.8.0-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 620

ADDITIONAL INFORMATION
Wacom Tablet: Intuos CTL480 Pen Small
Properly recognized via libinput list-devices

Device:           Wacom Intuos S Pad
Kernel:           /dev/input/event2
Group:            6
Seat:             seat0, default
Capabilities:     tablet-pad
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:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   n/a
Rotation:         n/a

Device:           Wacom Intuos S Pen
Kernel:           /dev/input/event1
Group:            6
Seat:             seat0, default
Size:             152x95mm
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:      n/a
Scroll methods:   none
Click methods:    none
Disable-w-typing: n/a
Accel profiles:   none
Rotation:         n/a
Comment 1 Thiago Sueto 2020-09-16 23:38:11 UTC
Note: on Xorg, it works perfectly.
Comment 2 Thiago Sueto 2022-01-05 16:26:46 UTC
This seems to be no longer reproducible on master.
Comment 3 Vlad Zahorodnii 2022-01-10 09:22:39 UTC
It was fixed in 5.24