You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Loading an example over an unmodified example warns that unsaved work will be discarded #397
Reported in user testing of v1.6.1 (multiple-contrasts session, 23/11/2026).
What happens
With an example loaded and not modified (here DSPC monolayer, three contrasts), clicking another example (Film in three water contrasts) opens the Load an example dialog:
This session holds work that has not been saved to a project. Loading the example "…" discards it.
The tester had only just installed the app and had not changed anything, so the warning reads as a false alarm.
Cause Examples.qml::requestExample asks projectHasCustomContent() when no project was created. logic/project.py::has_custom_content compares the content fingerprint with the new-project default, so an untouched example always counts as custom content.
Expected
No prompt when the current session is an unmodified example (or anything else that can be reloaded as-is). Take the fingerprint after an example loads as the baseline, and prompt only once the user has changed something.
Activity