-
-
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
Groups/search window doesn't close #8082
Comments
@calixtus à side effect (no pun intended) of getting rid of the fxml? |
Possibly. On the code side, the groups panel code is separated from the side panel stuff. But maybe something unforeseen. Need to investigate. |
I tried to debug it and I think I discovered the cause: The ChangeListener is only called when I close JabRef, not when I open it, although it should fire when shown=true jabref/src/main/java/org/jabref/gui/JabRefFrame.java Lines 432 to 438 in 9c5b8ab
For reference JabRef 5.4--2021-09-02--9c5b8ab works fine |
Testing further shows that the change listener also did not trigger in javafx16, so we can rule out that it happend with the jfx 17 upgrade I think |
I have been working on something else with any Listener on an ObservableMap, that is not firing. Could there maybe a problem with javafx? On the otherhand: I heavily tried closing the sidepane on my windows machine and was not able to reproduce this bug... |
I tried to move the SidePanePreferences to the new Preferences model, the whole logic with an enum of SidePaneType is an overcomplicated mess... |
Yes, I noticed the problem disappeared a day or two ago. I'm on
and it's fine. |
@Siedlerchr yes should be. @wujastyk can you test please, if the the sidepane keeps its width after closing and reopening? |
On mac I have the problem that the exact size is not kept after closing and reopening JabRef. Would be interesting to see if this only a mac issue or if it affects other platforms. |
JabRef 5.4--2021-12-16--5792f0f On my system the selected width of the web-search and groups sidebar is preserved after closing and restarting JabRef. |
@Siedlerchr Maybe a mac thing? Im sorry, but I cannot debug this then. |
JabRef version
Latest development branch build (please note build date below)
Operating system
GNU / Linux
Details on version and operating system
JabRef 5.4--2021-09-11--366f0cf Linux 5.4.0-84-generic amd64 Java 16.0.2 JavaFX 17+18
Checked with the latest development build
Steps to reproduce the behaviour
Appendix
...
Log File
``` Paste an excerpt of your log file here ```The text was updated successfully, but these errors were encountered: