Bug 506233

Summary: Can't save a Krita file after changing a File Layer's name through its properties dialog because it doesn't make the Krita document "dirty"
Product: [Applications] krita Reporter: Noel Santos <noel>
Component: Layer StackAssignee: Krita Bugs <krita-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: halla
Priority: NOR    
Version First Reported In: 5.2.9   
Target Milestone: ---   
Platform: Appimage   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Noel Santos 2025-06-26 18:26:22 UTC
SUMMARY
Changing the layer name of a filter layer through its properties dialog doesn't make the Krita document "dirty."

STEPS TO REPRODUCE
1. Open a Krita file that has a file layer.
2. Open the properties dialog of the file layer.
3. Change the Layer Name to something else.
4. Click OK.

OBSERVED RESULT
Even though the layer name was changed and the change is in the undo history, Krita doesn't show an asterisk in the title, and consequently it's not possible to save the changes with Ctrl+S.

EXPECTED RESULT
An asterisk.

SOFTWARE/OS VERSIONS
I'm on Linux Mint.

ADDITIONAL INFORMATION
The same problem occurs when you open a file that has a file layer that points to a missing file: you get a dialog asking to select a new file, and if you do, Krita doesn't give you an asterisk, which means you can't open a Krita file just to fix the file layer's broken linkage and save it immediately after.

The "Save" menu item in the File menu isn't grayed out while there is no asterisk, but clicking on "Save" doesn't seem to actually save when there is no asterisk.
Comment 1 Halla Rempt 2025-07-08 09:19:21 UTC
Thanks for the report. I can confirm the issue. Weirdly enough, this works fine for a paint layer...