-
-
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
Fix for Indexing stopping while having library modification #8469
Conversation
You said you encountered some issues, can you explain it a bit better. |
I mean it didn't pass some test cases in It fails these tests in particular:
|
They are not relevant to your changes and you can ignore them. If the tests on the CI pass its fine. (fetcher test can be ignored if you didn't change a fetcher) |
OK, thanks for informing me. It should be good then to review, if you have any issues or questions let me know. |
Okay, then if your PR is ready then remove the WIP and it would be nice if you could explain your changes a bit here in the PR description what the fix is/how it works. |
OK, let me know if you have any other questions or recommendations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
@tobiasdiez could you check if this solves your issue? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally looks good to me. One suggestion to improve the code a bit. Please also add a change log entry. Otherwise good to go from my side.
src/main/java/org/jabref/logic/pdf/search/indexing/IndexingTaskManager.java
Outdated
Show resolved
Hide resolved
Co-authored-by: Tobias Diez <code@tobiasdiez.com>
I updated CHANGELOG.md and committed your suggestion to the PR. Let me know if there is anything else you would recommend. |
Thanks! There are still some merge conflicts. Could you please take care of them as well? |
Alright, I believe all the conflicts should be fixed now. Checked to make sure it still fixes the issue and it does after some modifications. Let me know if there is anything you would like to change with the new revisions. |
I had to revert the commit because after opening a file the library tab shows untitled! /File open recent |
Fixes issue #8420. Code follows suggested change in original issue by @tobiasdiez: makes database context a constructor for IndexingTabManager, has IndexingTabManager listen for filename changes and updates title using logic from updateTabTitle method in LibraryTab. Feel free to ask me any questions or make/propose changes as needed.
fixes #8420
CHANGELOG.md
described in a way that is understandable for the average user (if applicable)