"Default library mode" combobox is cut off
JabRef version
5.13 (latest release)
Operating system
GNU / Linux
Details on version and operating system
Xubuntu 23.10 x86_64, XFCE
Checked with the latest development build (copy version output from About dialog)
- [X] I made a backup of my libraries before testing the latest development version.
- [X] I have tested the latest development version and the problem persists
Steps to reproduce the behaviour
- Go to preferences window
- Go to "General"
- Click on "Default library mode"
Only one item is shown, however actually there are two of them. I still can switch between them using arrow keys.
Appendix
No response
Currently will test with other desktop managers
Works great on Windows
Next step: Write a reproducer. See https://github.com/Siedlerchr/javafxreproducer. Maybe, create another app.
I've made an MWE: https://github.com/InAnYan/javafx-comboboxes
It seems to work wonderful on Xubuntu, XFCE!
I guess there is some issue also with JabRef CSS styles.
@calixtus Can you look into the MWE (https://github.com/InAnYan/javafx-comboboxes) and integrate JabRef CSS files there?
Or you can tell me how to do it properly, because I haven't worked with that, and JabRef has some custom logic for CSS
Xubuntu, LXDE works perfectly.
I guess it's some issue with XFCE and JabRef CSS
Your repo is private, you need to invite me first
Ooops, I thought I made it public.
Made it public and added you as a collaborator.
JabRef has some custom logic for CSS
What do you mean by that?
I did not see any CSS logic in your example. Can you add some CSS there? One of the first Google hits (https://docs.oracle.com/javafx/2/css_tutorial/jfxpub-css_tutorial.htm) read that it is straight-forward: scene.getStylesheets().add("path/stylesheet.css");. You could try to use JabRef's full CSS there. If it does not lead to a failing thing, we need to think more. If it leads to a failure, the CSS needs to be cut down. Delete one line, retry... If still issue appears: Delete one line. Repeat until error disappears. Add line again. Delete other lines. With that, one should be able to find the CSS line.
Other idea: JabRef has dynamic reload of CSS, hasn't it? Then, there can be one line after another be deleted to find out the cause?