-
-
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
Use binding to update global state manager #5325
Conversation
@@ -396,6 +396,7 @@ run { | |||
'--add-exports', 'org.controlsfx.controls/impl.org.controlsfx.skin=org.jabref', | |||
'--add-opens', 'javafx.controls/javafx.scene.control=org.jabref', | |||
'--add-opens', 'org.controlsfx.controls/org.controlsfx.control.textfield=org.jabref', | |||
'--add-opens', 'javafx.controls/com.sun.javafx.scene.control=org.jabref', |
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.
Yeah, I was about to report that. Encountered this yesterday but forgot to report it
|
||
initDragAndDrop(); | ||
|
||
//setBounds(GraphicsEnvironment.getLocalGraphicsEnvironment().getMaximumWindowBounds()); |
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.
Can this be removed or why is this (still) uncommented? What did it do?
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.
To be honest, I have no idea ;-) Probably to restore the window size on start. Feel free to investigate ;-)
e1acabe Upload Styles (#5351) d9cbf08 Update and rename journal-of-eta-maritime-science.csl to dependent/journal-of-eta-maritime-science.csl (#5353) 988ecca Update clinical-and-translational-immunology.csl (#5348) 1691078 Update molecular-plant-pathology.csl (#5349) 932a5bf Create neurospine.csl (#5334) d663ffc Update sylwan.csl (#5341) b7be05d Update pakistan-journal-of-agricultural-sciences.csl (#5343) d742832 Please rename to Tijdschrift-voor-geneeskunde-en-gezondheidszorg (#5344) 6c6be4d Update et-al settings for journal-of-the-american-society-of-nephrology.csl (#5333) 0263204 Correct citation format of numeric AOSIS styles (#5335) e4cd348 Create the-horticulture-journal.csl (#5327) 5804a6f Add AOSIS dependents (#5332) 2b4510b Create natura-croatia.csl (#5328) 03c6789 Create groundwater.csl (#5329) e08fa09 Create hystrix-the-italian-journal-of-mammalogy.csl (#5330) 1d730aa update page-range-format for Anglia (#5331) 9bb8724 Sort American Physiological Society citation style according to updated author instructions (#5305) a8b53ca Create african-online-scientific-information-systems-vancouver.csl (#5326) c7d8f90 Update yozgat-bozok-universitesi-fen-bilimleri-enstitusu.csl (#5319) 87dc0eb Update and rename tijdschrift-voor-geneeskunde.csl to tijdschrift-voo… (#5325) 89e07b0 Create university-of-gothenburg-apa7-swedish-legislations (#5316) 4582cb6 Create chinese-law-journals.csl (#5314) 6412083 Create stellenbosch-law-review.csl (#5322) git-subtree-dir: buildres/csl/csl-styles git-subtree-split: e1acabe
Use JavaFX binding instead of a listener to update the global state manager. That seems to work more reliable and fixes a bunch of issues. In particular, fixes #3142 and fixes #4441.
Moreover, I fixed an error that was thrown when interacting with the toolbar (missing open statement but we were using reflection...).