jabref
jabref copied to clipboard
Prevent bulk imports from adding entries to navigation history
Closes #13878
Prevent bulk import operations from polluting the navigation history. When multiple entries are imported at once, automatic selection changes are now suppressed from being recorded in the navigation history. This ensures that only user-driven navigation actions are tracked, keeping the Back/Forward buttons functional and predictable.
Steps to test
- Open JabRef and create a new library
- Import multiple entries at once (e.g., via File → Import → BibTeX, or drag-and-drop multiple .bib files)
- After the import completes, verify that:
- The Back/Forward navigation buttons remain disabled (or show the correct state based on actual user navigation)
- Manually selecting different entries adds them to navigation history as expected
- Using Back/Forward buttons only navigates through entries you actually visited, not entries from the bulk import
Expected behavior: Bulk imports should not enable Back/Forward navigation or add entries to navigation history. Only manual entry selections should affect navigation history.
Mandatory checks
- [x] I own the copyright of the code submitted and I license it under the MIT license
- [x] I manually tested my changes in running JabRef (always required)
- [x] I added JUnit tests for changes (if applicable)
- [/] I added screenshots in the PR description (if change is visible to the user)
- [/] I described the change in
CHANGELOG.mdin a way that is understandable for the average user (if change is visible to the user) - [/] I checked the user documentation: Is the information available and up to date? If not, I created an issue at https://github.com/JabRef/user-documentation/issues or, even better, I submitted a pull request updating file(s) in https://github.com/JabRef/user-documentation/tree/main/en.