-
-
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
The Group Panel is not updated when switching between certain libraries #3142
Comments
Refs #2690 |
This can be reproduced in the following way:
If tracked the problem down to this part: jabref/src/main/java/org/jabref/gui/groups/GroupSidePane.java Lines 131 to 133 in 6a26798
Here the groups side pane should repaint, but the
But that leads to an ugly flicker in the UI. Resetting the scene with a newly created instance is the key. Without that, no change happens. @tobiasdiez How can I force the |
@lenhard I cannot reproduce the issue with the steps you describe with the latest master. For me, an empty groups tree is displayed for the new database. Codewise, it (should) work as follows: The statemanager is notified about the new database jabref/src/main/java/org/jabref/gui/JabRefFrame.java Lines 616 to 618 in 007a534
and propagates the event to the group tree view jabref/src/main/java/org/jabref/gui/groups/GroupTreeViewModel.java Lines 55 to 56 in 007a534
There the tree is updated,
which triggers a repaint of the tree due to the binding jabref/src/main/java/org/jabref/gui/groups/GroupTreeController.java Lines 99 to 105 in 007a534
|
@tobiasdiez Hm, you use Win10, right? if you cannot reproduce this, maybe the problem is related to Win7. Because for me it is no problem to reproduce and I have the same setting as @bernhard-kleine We might need more help tracking this down from other people that use different settings. |
Yes, I'm on Win10. Can you please verify that
|
I debugged this and the method is invoked with the empty database. This is the case for BibTeX and biblatex, but unfortunately the group tree doesn't get updated properly. |
This should be fixed in the latest development version. Could you please check the build from http://builds.jabref.org/master/. Thanks! Please remember to make a backup of your library before trying-out this version. |
JabRef 4.0-beta3
Windows 7 6.1 amd64
Java 1.8.0_131
Steps to reproduce:
I have the following screenshots to show that behaviour: when I switch from chapter04.bib to EndokrinologieKunde20170513VS4.0.0.bib and vice versa the group panel is not updated, while switching to FatMetabolism20170608VS4.0.0.bib it is updated and then back to either chapter04.bib or EndokrinologieKunde... it is. Chapter04 has 275 entries, FatMetabolism has 900 and Endokrinologiekunde has 1991 entries
Log File
The text was updated successfully, but these errors were encountered: