Bug 513004 - "Multiple active selections" warning when opening a Krita document
Summary: "Multiple active selections" warning when opening a Krita document
Status: REPORTED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (other bugs)
Version First Reported In: 5.2.13
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: Krita Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-12-06 12:13 UTC by Thomas Krenn
Modified: 2025-12-06 12:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
screen shot of warning dialog (14.30 KB, image/png)
2025-12-06 12:13 UTC, Thomas Krenn
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Krenn 2025-12-06 12:13:18 UTC
Created attachment 187383 [details]
screen shot of warning dialog

SUMMARY
Inconsistent saving and loading of active selections causes "Multiple active selection warning" when opening a Krita document.

STEPS TO REPRODUCE
1. Create a new document.
2. Create a new selection (replace mode).
3. In the Layers docker toggle the visibility of the created selection to off (notice that the selection is still active).
4. Create a new selection (replace mode).
5. In the Layers docker toggle the visibility of the created selection to off (notice that the selection is still active).

Now the document should have two invisible but active(!) selections.

6. Save the document in .kra format and close the document.

7. Opening the saved document should show the warning below:
‘Two global selection masks in active state found. “Selection Mask” is kept active, “Selection Mask” is deactivated’

OBSERVED RESULT


EXPECTED RESULT
If multiple active selections is a correct document state than saving and loading the document should not cause any warning. 

SOFTWARE/OS VERSIONS
Windows:  I have tested only on Win 10 but the issue will probably show up on other OS as well.

ADDITIONAL INFORMATION


Best regards
Thomas Krenn