Stroke Path bypasses pixel layer lock
Environment/Versions
- GIMP version: 2.10.34
- Package: Installer from gimp.org
- Operating System: Windows
Description of the bug
If you have inadvertently selected a pixel locked layer and attempt to use stroke path to fill in a path line, the tool will paint to the selected layer despite the layer being locked.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Select a locked layer
- Create a path
- Use the stroke path tool
…
Expected result: The locked layer would not be edited and the stroke attempt would fail.
Actual result: The stroke paints to the locked layer without any indication the locked layer was modified, negating the use of the lock function entirely.
Additional information
This also applies to the fill path function as well.