Bug 472062

Summary: Unable to select layer by pressing R and clicking on part of an image if the layer is locked
Product: [Applications] krita Reporter: Pablo <pablojmuratore>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: dimula73
Priority: NOR    
Version First Reported In: 5.1.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Pablo 2023-07-08 03:56:17 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. Create two layers
2. Draw something on each layer
3. Verify that holding down R and clicking the drawing on an unlocked and unselected layer, that layer is selected
3. Block both layers
4. Hold down R and click on the drawing of the unselected and locked layer

OBSERVED RESULT
The layer that contains the clicked image while pressing R is not selected.

EXPECTED RESULT
The layer that contains the clicked image while pressing R should be selected

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Ubuntu 22.04.2
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Dmitry Kazakov 2023-07-19 14:59:20 UTC
Hi, Pablo!

That is how this feature has been designed. The locked layers are intentionally ignored because they may represent grids, overlays or adjustments, which are not useful for quick selection.