Bug 400833

Summary: Mouse click emulations doesn't work if non-modifier key is pressed
Product: [Plasma] plasmashell Reporter: Alexander Trufanov <trufanovan>
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED UPSTREAM    
Severity: normal CC: nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 5.13.5   
Target Milestone: 1.0   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Alexander Trufanov 2018-11-08 06:10:20 UTC
SUMMARY

I've enabled Mouse click emulation for my Lenovo G780 touchpad to emulate left button click while tapping one finger twice on it.

It works if I hold Ctrl modifier key. But it doesn't if I hold non-modifier - for ex., Spacebar.

STEPS TO REPRODUCE
1. Enable Mouse click emulation for touchppad
2. Open Dolphin
3. Try to open any file or drag its icon with touchpad while holding spacebar key

OBSERVED RESULT

Mouse clicks isn't emulated

EXPECTED RESULT

Mouse clicks is emulated and I able to open files/ drag folders etc.                                                                              


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 5.13.5
KDE Frameworks Version: 5.50.0
Qt Version: 5.11.1

ADDITIONAL INFORMATION

Kubuntu 18.10
laptop Lenovo G780
Comment 1 Alexander Trufanov 2018-11-08 06:11:41 UTC
After some tests I found out that mouse emulation do work, but only if you double tap on control that had focus before you press a key. It looks like holding a key is locking control's focus change and new control under mouse pointer doesn't receive mouse events. Could this behavior be adjusted?
Comment 2 Nate Graham 2021-03-10 03:53:50 UTC
This was a bug in Libinput itself which IIRC was recently fixed.