-
-
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
Preview out of sync with entry table #9172
Comments
As far as I can tell, this issue does not appear in the following version: JabRef 5.8--2022-09-05--ce08d0d I also wanted to try the latest version, but since #9176 still needs to be fixed, I will have to wait for that bugfix until I can test the current JabRef version. |
I cannot reproduce the bug with JabRef 5.8--2022-09-14--6a4a4f4 |
The issue stopped showing once I downgraded to JavaFX 18. The upgrade to JavaFX 19 was done on 2022-09-15, which explains why it was not reproducible on the day before it. |
@HoussemNasri Thanks for testing this. Maybe it has something to do with the changes to the observables (in combination with the new map operators stuff) Could be then an issue with our easybind fork |
I don't think so. When I tested it, I only changed the version of JavaFX in the gradle file. If the changes in the observables or easybind triggered the issue then downgrading JavaFX shouldn't prevent the issue because the changes are still there. I saw a recent issue in JavaFX TreeView - TreeView selects wrong item when folder above is modified and opened - Maybe both TreeView and TableView share the same selection logic? I need to have a deeper look to confirm the cause. |
Ah okay, thanks https://github.com/openjdk/jfx/blob/master/doc-files/release-notes-19.md |
Thank you; I'll take a look. It's hard to tell whether it's really a JavaFX-related issue. I played around with JabRef for ~5 minutes and was able to trigger it around 5 times while running JavaFX 19 and none while running version 18. It's probably a concurrency problem because it's randomly triggered and I still can't extract deterministic steps for triggering it. |
DevCall decision: We create an explicit branch with JavaFX 18, ask users for feedback - and see if the issue still appears. |
I wil prepare a thing |
@mlep Can you try and test this version? I downgraded to javafx18 so we can see if this was introduced there |
The bug is there. |
Encountered the same issue.
|
Just as a follow-up, I have the same problem under: JabRef 5.9--2023-01-08--76253f1a7 It seems to me that when JabRef has been running for a while, the problem goes away (some kind of caching issue?). |
Have the same issue with: JabRef 5.9--ArchLinux--1 I can also confirm that after some time (In the neighbourhood of like a few to 10 minutes) the issue seems to go away and the preview is updated consistently and correctly. This seems to be affected by the amount of usage. |
+1 The Preview tab gets stuck displaying a particular entry and doesn't change when one scrolls to different entries. jabref.mp4 |
I can reproduce this very reliably if you show the entry preview next to the entry editor. Then you will also see that the entry editor is updated correctly, but not the preview. In fact, one can sometimes even arrange that one entry is previewed in one tab, while another entry is shown in another tab. So it's almost surely not an issue in JavaFX (at least not related to the main table), and more likely a problem how the update events are consumed to update the preview. |
It has to do something with throttling of events... After writing the report, the view updated. Clicking fastly back and forth, the view does not update. - Heisenbug. - Currently no update. |
JabRef version
Latest development branch build (please note build date below)
Operating system
GNU / Linux
Details on version and operating system
JabRef 5.8--2022-09-21--35d995a Linux 5.10.0-18-amd64 amd64 Java 18.0.2.1 JavaFX 19+11
Checked with the latest development build
Steps to reproduce the behaviour
From time to time, the entry displayed in the preview does not correspond to the entry selected in the entry table.
--> from time to time, the preview does not match the selected entry (it matches the previous entry).
I never noticed this issue before. So, it could be due to a recent change.
I could reproduce this behaviour with the preview as a tab or not.
Appendix
...
Log File
The text was updated successfully, but these errors were encountered: