SUMMARY Sometimes, especially after locking the screen or going to sleep, my left and right mouse buttons cannot be clicked, and even xev cannot detect the mouse click events. However, the movement and the animation of moving to the button are normal. In short, everything works normally but the click is ineffective. The keyboard and shortcuts can still be used normally, so I usually close and save the document via keyboard and then restart. The same issue occurs with the cursor on the laptop touchpad. STEPS TO REPRODUCE Suddenly appears OBSERVED RESULT My mouse and touchpad click events are not working EXPECTED RESULT When I click any button, the click effect is triggered Linux/KDE Plasma: Gentoo 2.18 / KDE Plasma 6.5.4 KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.1 ADDITIONAL INFORMATION kinfo: Operating System: Gentoo Linux 2.18 KDE Plasma Version: 6.5.4 KDE Frameworks Version: 6.20.0 Qt Version: 6.10.1 Kernel Version: 6.12.58-gentoo (64-bit) Graphics Platform: Wayland Processors: 20 × 12th Gen Intel® Core™ i9-12900H Memory: 32 GiB of RAM (31.0 GiB usable) Graphics Processor 1: Intel® Iris® Xe Graphics Graphics Processor 2: NVIDIA GeForce RTX 3070 Ti Laptop GPU
Supplementing, it is from when unlocked or resumed from sleep
Continuing to supplement, it also triggers during normal use. I found it's related to dragging. Sometimes, my mouse or accidental touch makes the cursor enter a dragging state (not dragging a window, but an element inside the application window), which gets locked and doesn't unlock. When I press keys like Esc, the dragged element is dropped at the location where I pressed the keyboard, but the mouse still doesn't unlock.