Bug 509783 - Selection action bar introduces input deadzone even when disabled or inactive
Summary: Selection action bar introduces input deadzone even when disabled or inactive
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: git master (please specify the git hash!)
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-09-22 14:11 UTC by Ming Chuan
Modified: 2025-09-22 14:11 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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