Wrong layer renamed when switching images
OK the data lost is only your previous label, but when you use a lot of layers and keep track of important information in the labels, this bug can really mess up your workflow (and it's not always obvious it's happening, when you have a lot of layers, so undoing it is not always straightforward.)
GIMP version:
2.10.8 (I wanted to try 2.10.10 but the unofficial PPA doesn't yet have it.) It also affects 2.8.22: Since it's apparently been around so long, I think there's a high chance it's also in 2.10.10---it's very easy to reproduce, so I hope you won't
Operating System: Linux Mint 19 64-bit (based on Ubuntu 18.04)
Package: ppa:otto-kesselgulasch/gimp downloaded 2019/04/19
Description of the bug
Switching from file A to file B when you have a layer C in "title edit mode" in file A causes a different layer D in file A to have its title overwritten with the title of layer C.
If you catch it right when it happens, you can use the Undo function to put it back, but the effect is not immediately visible because it occurs on the file you're no longer looking at.
Reproduction
Is the bug reproducible? Always
Reproduction steps:
- Open two files, at least one of which has multiple layers
- Edit a layer title in the multi-layer file (say, by clicking it and pressing F2)
- While still in title editing mode, switch to a second file (say, by clicking its top tab); at this point the bug has already occurred but you cannot see it
- (Eventually*) switch back to the first file to see the results of the bug
* It also happens to the first file's layers if you switch to a third file before switching back to the first file
…
Expected result: My title changes are saved, without affecting other layers
Actual result:
Depends on the scenario:
- If you didn't actually make changes to the title—for example, you wanted to copy the layer title and go to the other file to paste it on a layer there—then the selected layer's title gets copied to another layer (and appended with "#1", etc.):
- If you did make changes, the changes are not applied to the layer you were editing, but instead applied to another layer: