Bug 452740 - Polygonal Selection Tool does not work with group, hidden or locked layers.
Summary: Polygonal Selection Tool does not work with group, hidden or locked layers.
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: Tools/Selection (show other bugs)
Version: 5.0.5
Platform: Other Microsoft Windows
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-04-18 16:32 UTC by gm.ravnevand
Modified: 2022-04-20 21:03 UTC (History)
2 users (show)

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 gm.ravnevand 2022-04-18 16:32:32 UTC
SUMMARY
***
With a group, hidden or locked layer selected in the layer stack the polygonal selection tool does not work, it lets you start and complete a selection but it disappears after completing it.
It functions normally on paint and mask layers.
None of the other selection tools seems to have this issue.
***


STEPS TO REPRODUCE
1. Select a group hidden or locked layer in the layer stack.
2. Make a selection using the polygonal selection too.

OBSERVED RESULT
Selection disappears after completing it.

EXPECTED RESULT
Selection stay.
Comment 1 Ahab Greybeard 2022-04-18 17:17:52 UTC
This was first reported at https://krita-artists.org/t/polygonal-selection-tool-does-not-work-with-group-hidden-or-locked-layers-selected/39927

I can Confirm this for the Apr 18 5.1.0-prealpha (git 4205530a30) appimage on Debian 10, for the Polygonal Selection Tool - Pixel and Vector selections

Other selection tools do not have this problem.
The 4.4.8 appimage does not have this problem.

For locked and invisible layers, there is a warning notice when the polygonal selection is completed.
For a group layer, there is no warning.