Bug 470727 - All undo history is lost after saving
Summary: All undo history is lost after saving
Status: RESOLVED FIXED
Alias: None
Product: LabPlot2
Classification: Applications
Component: general (show other bugs)
Version: 2.10.0
Platform: Other Linux
: NOR major
Target Milestone: ---
Assignee: Alexander Semke
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-07 00:55 UTC by João Figueiredo
Modified: 2023-06-09 22:20 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.10.1
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description João Figueiredo 2023-06-07 00:55:14 UTC
SUMMARY
All undo history is lost after saving the project. This is very dangerous because it effectively means the history only lasts as long as the period between autosaves; if you accidentally delete something and it autosaves right after, it's lost forever.

STEPS TO REPRODUCE
1. Open a project
2. Change something
3. Save the project
4. Try to undo the change

OBSERVED RESULT
You can't undo it.

EXPECTED RESULT
You should be able to undo it. The undo history should persist in the same session between saves.
Maybe there could even be an option to save it within the project file itself, so it's always available across sessions.

SOFTWARE/OS VERSIONS

Linux: 6.3.5-arch1-1
(available in About System)
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.106.0
Qt Version: 5.15.9
Comment 1 Alexander Semke 2023-06-09 08:11:32 UTC
(In reply to João Figueiredo from comment #0)
> SUMMARY
> All undo history is lost after saving the project. This is very dangerous
> because it effectively means the history only lasts as long as the period
> between autosaves; if you accidentally delete something and it autosaves
> right after, it's lost forever.
> 
> STEPS TO REPRODUCE
> 1. Open a project
> 2. Change something
> 3. Save the project
> 4. Try to undo the change
Thank you for reporting this issue. We fixed it and the fix will be available in the next patch release of LabPlot 2.10 that we plan to do in the next weeks.
Comment 2 João Figueiredo 2023-06-09 22:20:59 UTC
Awesome, thank you for the quick response!