Bug 468444 - Selecting unlocked and locked layers has odd behaviour
Summary: Selecting unlocked and locked layers has odd behaviour
Status: CONFIRMED
Alias: None
Product: krita
Classification: Applications
Component: Layer Stack (show other bugs)
Version: 5.1.5
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-04-13 00:53 UTC by beefers331
Modified: 2023-07-21 15:50 UTC (History)
2 users (show)

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


Attachments
the svg file (1.54 MB, image/svg+xml)
2023-04-26 09:18 UTC, Halla Rempt
Details

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