"Discard changes" in "Save before closing" should delete "newer" backups
See original GitHub issueAs user, I work on JabRef. Then, I add some things. I maybe want to cancel my changes. Example:
Then, at the start of JabRef, JabRef should NOT prompt me to restore these changes.
Four options:
- Option 1: Delete newer backup files
- Option 2: Rename backup files to files with certain keywords (and delete them after some time)
- Option 3: Make backups appearing “older” (we need to fake time stamps)
- Option 4: Create
discarded
file to mark that the user discarded changes. On start of JabRef, JabRef removes that file and backup takes normally place. Example filename:269b5589--test.bib--discarded.bak
. When JabRef starts freshly, it creates new backups in the backup manner. After a normal save and an additional restart, JabRef MUST NOT assume that the last quit was a discard.
We opt for Option 4.
Issue Analytics
- State:
- Created 10 months ago
- Comments:18 (8 by maintainers)
Top Results From Across the Web
How do you undo "Discard all changes" in VS Code/Git
I thought I was doing something wrong So I clicked on the 'Discard All Changes' option available on VSCode and boom! all the...
Read more >Additional code to handle discarded changes #9441 - GitHub
Successfully merging this pull request may close these issues. "Discard changes" in "Save before closing" should delete "newer" backups.
Read more >Notepad++ Is there a setting to stop from asking me to save on ...
Yes, there is. In Backup page of Preferences, be sure you check. Remember current session for next launch. Enable session snapshot and ...
Read more >Save, back up, and recover a file in Microsoft Office
You can restore files and folders you deleted from your OneDrive. Saved to your device. If AutoRecover is turned on and your file...
Read more >How to recover unsaved Excel file or restore its previous version
Learn how to use Excel backup features to retrieve an unsaved workbook or restore the previous version of an overwritten file.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi Koppor, I would like to contribute to this project and would like to work on this issue. Could you please assign this to me. Thanks.
I was able to work on this issue and functionality seems to be working fine as expected but I need to test more using the testing documentation on jabref.