Bug 468444

Summary: Selecting unlocked and locked layers has odd behaviour
Product: [Applications] krita Reporter: beefers331
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: dimula73, halla
Priority: NOR    
Version: 5.1.5   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: the svg file

Description beefers331 2023-04-13 00:53:30 UTC
When using the context menu "select unlocked" and "select locked" depending on whether all layers of the desired type are selected it succeeds. 

Steps to reproduce:
1) Create two layers one locked and one unlocked
2) Select unlocked layer
3) Right click the selected layer then select > select unlocked

Instead of selecting only the present layer you will now be selecting the locked layer. This applies to any case where all the layers of the kind you want to select are selected so works inversely as described aswell.
Comment 1 Halla Rempt 2023-04-26 09:18:41 UTC
Created attachment 158437 [details]
the svg file
Comment 2 Halla Rempt 2023-06-21 11:23:21 UTC
Sorry for the noise earlier with the wrong attachment. I can confirm the issue, thanks for the report!
Comment 3 Dmitry Kazakov 2023-07-21 15:50:48 UTC
Okay, this behavior is intentional, so that one could assign this action to a keyboard shortcut and press twice to get an inverted behavior. I feel like we should close this bug as "intentional", but I would like to hear an opinion from painters first...