Skip to content
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

bottom menu items not visible #11140

Open
2 tasks done
AdamWysokinski opened this issue Apr 3, 2024 · 24 comments
Open
2 tasks done

bottom menu items not visible #11140

AdamWysokinski opened this issue Apr 3, 2024 · 24 comments
Labels
os: linux status: depends-on-external A bug or issue that depends on an update of an external library

Comments

@AdamWysokinski
Copy link
Contributor

JabRef version

5.13 (latest release)

Operating system

GNU / Linux

Details on version and operating system

Debian

Checked with the latest development build (copy version output from About dialog)

  • I made a backup of my libraries before testing the latest development version.
  • I have tested the latest development version and the problem persists

Steps to reproduce the behaviour

Bottom menu items are not visible after upgrading to 5.13, see attached screenshot.

scrot

Appendix

No response

@Siedlerchr
Copy link
Member

That is weird! Which desktop environment are you using? Gnome? Kde?
Does a version from here (with newer JavaFX https://builds.jabref.org/jdk-ea/ work correctly ?)

@AdamWysokinski
Copy link
Contributor Author

That's i3. The issue is the same in the newer JavaFX version. Changing the menu items padding (in theme css) does not help.

@HoussemNasri
Copy link
Member

@AdamWysokinski What version of JabRef did you upgrade from? From what I can see it looks like a rendering issue with JavaFX, did you try to restart the computer? Maybe when the window manager gets reinitialized, it will fix itself. Also, did you notice the problem in other menus or just the File one?

@duguyipiao
Copy link

I have the same issue under manjaro xfce. I tried both jabref and jabref-bin from aur. I also tried to restart the computer. It happens to all menus and also the contextual menu.

Btw, I don't know whether it is related, but the override default font size setting is not functional for the bib entries after restarting jabref.

@AdamWysokinski
Copy link
Contributor Author

AdamWysokinski commented Apr 4, 2024

@AdamWysokinski What version of JabRef did you upgrade from? From what I can see it looks like a rendering issue with JavaFX, did you try to restart the computer? Maybe when the window manager gets reinitialized, it will fix itself. Also, did you notice the problem in other menus or just the File one?

After restarting the system, this issue is still present. All menus are affected. The context menu as well.

@HoussemNasri
Copy link
Member

@AdamWysokinski What version of JabRef did you upgrade from?

@AdamWysokinski
Copy link
Contributor Author

In JabRef 5.13-PullRequest10808.81--2024-01-20--34082ca menus work fine.

@AdamWysokinski
Copy link
Contributor Author

AdamWysokinski commented Apr 5, 2024

The issue is also present in 5.14 from https://builds.jabref.org/main/

@Siedlerchr
Copy link
Member

@AdamWysokinski can you also test the 5.14 with jfx23 https://builds.jabref.org/jdk-ea/ variant here? (portable is probably fine enough)

@HoussemNasri
Copy link
Member

Also, please test https://builds.jabref.org/pull/11155/merge/. It uses JavaFX 21.0.2 which is the same version used in
JabRef 5.13-PullRequest10808.81--2024-01-20--34082ca.

@AdamWysokinski
Copy link
Contributor Author

@AdamWysokinski can you also test the 5.14 with jfx23 https://builds.jabref.org/jdk-ea/ variant here? (portable is probably fine enough)

No change, same issue.

@AdamWysokinski
Copy link
Contributor Author

Also, please test https://builds.jabref.org/pull/11155/merge/. It uses JavaFX 21.0.2 which is the same version used in JabRef 5.13-PullRequest10808.81--2024-01-20--34082ca.

No change, same issue.

@tsayao
Copy link

tsayao commented Apr 6, 2024

That's very weird, since the menu is a popup window and has it's own rendering. The fact that the rendering glitch is not a rectangle is even weirder.

@tsayao
Copy link

tsayao commented Apr 6, 2024

It it i3/Xorg or Sway/Wayland ?

@AdamWysokinski
Copy link
Contributor Author

It it i3/Xorg or Sway/Wayland ?

i3/Xorg. Same issue with NVidia and AMD cards.

@tsayao
Copy link

tsayao commented Apr 6, 2024

It's a sizing issue - but only happens on i3 according to my tests.

@Siedlerchr
Copy link
Member

@tsayao Thank you very much for your investigation!

@Siedlerchr Siedlerchr added the status: depends-on-external A bug or issue that depends on an update of an external library label Apr 6, 2024
@tsayao
Copy link

tsayao commented Apr 6, 2024

Proposed a fix here:
openjdk/jfx#1437

@ytzemih
Copy link

ytzemih commented Apr 10, 2024

I can indeed confirm that on i3 on JR 5.13 and 5.14, but I've not had this issue with JR 5.12, see my screenshoots:
jr-cutoff-menus
jr-cutoff-menus2

Generally, on i3, I've had JavaFX layouting problems for years, but fortunately never some missing menu items.

Hope there is an easy fix as it did still work on JR 5.12.

@ytzemih
Copy link

ytzemih commented Apr 10, 2024

Thanks, @tsayao for having had a go on this.

@AdamWysokinski
Copy link
Contributor Author

AdamWysokinski commented May 21, 2024

It seems that I have solved the problem: compton (Linux xorg compositor) was not running. After re-enabling it menus look fine. Will test more and report.

@Siedlerchr
Copy link
Member

Siedlerchr commented May 21, 2024

@AdamWysokinski @ytzemih
The fix for i3 was merged a couple of days ago into javafx 23, so you can try out this version here with the new javafx:

https://builds.jabref.org/jdk-ea/

Thanks again @tsayao for the fix!

@AdamWysokinski
Copy link
Contributor Author

Thanks, that one is perfect!

@ytzemih
Copy link

ytzemih commented May 22, 2024

That one works for me as well. Thanks a lot for finding a fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
os: linux status: depends-on-external A bug or issue that depends on an update of an external library
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants