After opening xcf file, "Lock visibility" lock is not applied to layers/channels/paths
Environment/Versions
- GIMP version: 2.99.9 (commit fe5b07e0)
- Package: self-built meson
- Operating System: Ubuntu 21.09, i3-wm
Description of the bug
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Create new image (any size)
- Open "Layers" dockable dialog
- Lock background layer with "Lock visibility"
- Open "Channels" dockable dialog
- Create new channel
- Lock it with "Lock visibility"
- Open "Paths" dockable dialog
- Create three paths
- Lock first with "Lock path strokes"
- Lock second with "Lock path position"
- Lock third with "Missing lock" :)
- Save xcf
- Close
- Reopen saved xcf
Expected result:
A file is loaded with all locks in place.
Actual result:
- Layers dockable: "Lock visibility" lock is missing.
- Channels dockable: "Lock visibility" lock is missing
- Path dockable: All locks are missing (including special "missing lock" :) )
Additional
I'm not sure if it is not loaded/applied, or not saved. Either way it is missing after load.
cc @Jehan (since you are working on this feature, and I'm not sure if you're aware of this issue)
Edited by Stanislav Grinkov