-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve code of BibDataBaseDiff #11355
Conversation
Co-authored-by: Carl Christian Snethlage <[email protected]>
I could stil reproduce it sometimes with the file field, it seems the formatting differs, I have autosve enabled and reformat is disabled. I stored the bib file in nextcloud synced folder. (tested on mac) see the entries: If you quickly type into the comemnt field some gibberish text and wait it will also trigger the dialog. |
I would take a different approach to disable the changes if the file in disk is the saved file. Reason: Save actions modify the file. That should happen silently... |
Yes, that seems like a good idea, but isn't the change scanner basically doing this? Except that we compare it with the in memory library |
Memory is not equal to disk because of white space removal. File field could be different thing. I don't know yet. Memory and disk is same for applied save actions, because these propagate back to the memory - but lead to cursor jumping. |
Another thing related to autosave: Should autosave trigger only when leaving the field? File field is treated as mulitline field at least in FieldContentFormatter |
The build for this PR is no longer available. Please visit https://builds.jabref.org/main/ for the latest build. |
Made during thinking of #4877 (but did not work)
Mandatory checks
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)