Reproducible: Always Selection mask names are set to "KisSelectionMask" after a save/load roundtrip. Steps to Reproduce: 1. Create a new document 2. Add a local selection 3. Save, close, and reopen document The selection is now named "KisSelectionMask"
Ah, I think I found the problem (although I'm not sure what to change to have it be correct). The copy constructor for KisSelectionMask sets the name to that. Additionally, I think there might be another issue with the constructor. Saving the document or duplicating a layer with a selection mask produces the following output on the terminal: "QObject::connect: Cannot connect (null)::timeout() to KisSelectionMask::slotSelectionChangedCompressed()"
*** Bug 374439 has been marked as a duplicate of this bug. ***
I marked this as confirmed as I can reproduce this
Git commit 46da9991345a15776cf6004e03690b3684fc15b7 by Boudewijn Rempt. Committed on 02/01/2017 at 10:21. Pushed by rempt into branch 'master'. Don't set the name to a fixed string in the copy constructor M +1 -1 libs/image/kis_selection_mask.cpp https://commits.kde.org/krita/46da9991345a15776cf6004e03690b3684fc15b7
Git commit 1d920dbac6ddcd3d78e97dff587cfe5ac8ad1ee4 by Boudewijn Rempt. Committed on 02/01/2017 at 10:22. Pushed by rempt into branch 'master'. M +3 -2 libs/image/kis_selection_mask.cpp https://commits.kde.org/krita/1d920dbac6ddcd3d78e97dff587cfe5ac8ad1ee4
Git commit dda1d521aa202e622561889d36bfea32f53cabb8 by Boudewijn Rempt. Committed on 02/01/2017 at 10:23. Pushed by rempt into branch 'krita/3.1'. Don't set the name to a fixed string in the copy constructor M +1 -1 libs/image/kis_selection_mask.cpp https://commits.kde.org/krita/dda1d521aa202e622561889d36bfea32f53cabb8
Git commit ab1f1a4379f9352853461e1c7403351cc6c40e19 by Boudewijn Rempt. Committed on 02/01/2017 at 10:23. Pushed by rempt into branch 'krita/3.1'. M +3 -2 libs/image/kis_selection_mask.cpp https://commits.kde.org/krita/ab1f1a4379f9352853461e1c7403351cc6c40e19