Bug 511243

Summary: Request: Expose preset dirty flag
Product: [Applications] krita Reporter: cromachina
Component: ScriptingAssignee: Krita Bugs <krita-bugs-null>
Status: REPORTED ---    
Severity: wishlist    
Priority: NOR    
Version First Reported In: 5.2.13   
Target Milestone: ---   
Platform: NixOS   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description cromachina 2025-10-27 20:46:36 UTC
It would be nice if the preset dirty flag were exposed to the python scripting environment. Maybe this can be extended to knowing the dirty state of anything that is dirty-able and also already exposed to the scripting environment.

Rationale: For optimizing scripts that inspect and deal with resource state changes, such as for custom serialization.