| Summary: | LabPlot deletes Origin files | ||
|---|---|---|---|
| Product: | [Applications] LabPlot2 | Reporter: | uwestoehr <uwestoehr> |
| Component: | general | Assignee: | Stefan Gerlach <stefan.gerlach> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | CC: | stefan.gerlach |
| Priority: | NOR | ||
| Version First Reported In: | latest | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Other | ||
| Latest Commit: | https://invent.kde.org/education/labplot/-/commit/bb7c42d7bb3b47d131a5ac5cfe83ed422577da6c | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Attachments: |
original Origin file
screenshot of the dialog that pops up on closing LabPlot the result - an empty Origin file screencast showing the recipe to reproduce screenshot showinghe OPJ file when it is loaded screenshot showing that the OPJ file was modified |
||
|
Description
uwestoehr
2024-11-20 02:59:16 UTC
Created attachment 175967 [details]
screenshot of the dialog that pops up on closing LabPlot
Created attachment 175968 [details]
the result - an empty Origin file
When i press "Save" when ask while closing LabPlot, i get a new file dialog to select the LML file to save to. The original OPJ file can not be selected for overwriting. Did i miss something? I'm curious how you could select an OPJ file for saving. (In reply to Stefan Gerlach from comment #3) > I'm curious how you could select an OPJ file for saving. I did not select it. here again my recipe: 1. double-click on the OPJ file (see the attached screenshot showing that the OPJ file was last modified on Nov 20) 2. go to the plot 3. move the legend a bit 4. click on LabPlot's main window to close it 5. in the appearing save dialog click "Save" (see the attached screencast that shows step 2. to 5. as result you get an empty OPJ file, see the attached screenshot that shows that the file was now modified. Created attachment 176073 [details]
screencast showing the recipe to reproduce
Created attachment 176074 [details]
screenshot showinghe OPJ file when it is loaded
Created attachment 176075 [details]
screenshot showing that the OPJ file was modified
Git commit bb7c42d7bb3b47d131a5ac5cfe83ed422577da6c by Stefan Gerlach. Committed on 26/11/2024 at 16:26. Pushed by sgerlach into branch 'master'. don't overwrite OPJ files when saving M +6 -3 src/frontend/MainWin.cpp https://invent.kde.org/education/labplot/-/commit/bb7c42d7bb3b47d131a5ac5cfe83ed422577da6c |