Bug 509783

Summary: Selection action bar introduces input deadzone even when disabled or inactive
Product: [Applications] krita Reporter: Ming Chuan <ming>
Component: * UnknownAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: emmetoneill.pdx, info
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Ming Chuan 2025-09-22 14:11:55 UTC
SUMMARY

According to https://github.com/KDE/krita/blob/3271766dd7ee96a16fdd4c80ed1a90f8f487ebdd/libs/ui/kis_selection_actions_panel.cpp#L148 , an event filter is always installed that intercepts input in a certain area of the canvas, no matter if the bar is currently visible or disabled completely in the settings.  As a result, strokes in that region fail silently, nothing is painted on the canvas.

STEPS TO REPRODUCE
1. Enable the selection action bar (just so you can visually see where the drag handle is).
2. Make a selection and remember the position of a drag handle.
3. Deselect. The bar would disappear.
4. Try drawing starting from the location where the drag handle was.
5. Observe that no stroke is produced on the canvas.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Wolfgang Baer 2025-10-25 09:02:44 UTC
I tried to reproduce it with: krita-x64-5.3.0-prealpha-4506c212 portable on Win 11.

It works as expected.
No input deadzone at the position of the drag handle after deselet. I can paint as expected.
Tested with pen tablet input and notebook's touchpad.
Comment 2 Ming Chuan 2025-10-25 19:12:58 UTC
Thanks for helping testing this! Apologies for forgetting to close this ticket, the selection action bar got re-implemented two weeks ago, and this bug was resolved as part of that re-implementation https://invent.kde.org/graphics/krita/-/commit/fd623f7aba4653b40c968bc6863594ff1fb1742a
Comment 3 Emmet O'Neill 2025-10-25 21:56:02 UTC
Whoops. That's on me. I missed this report so I didn't add the bug number to the bugfix commit. :)

Thank you for the bug report, Ming Chuan!