Missing right-click context menu in editor on secondary displays
JabRef version
Latest development branch build (please note build date below)
Operating system
macOS
Details on version and operating system
macOS Sonoma 14.4.1 (23E224) / JabRef 5.14--2024-04-09--beb6ece
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
JabRef 5.14--2024-04-09--beb6ece
Mac OS X 14.4.1 aarch64
Java 21.0.2
JavaFX 22+30
- Open the entry editor
- Right-click into an entry field
- No context menu shows. Previously, a context menu was available, showing "normalize to BibTeX name format" in author/editor fields or different capitalization options for title fields.
Appendix
No response
Just upgraded to macOS 14.4.1 and cannot reproduce with 5.13 release Did you install the arm64 variant?
JabRef 5.14 from today also works fine on 14.4.1. context menus is present as always
After checking again, I found that the problem is apparently related to multiple displays: It occurs only if the JabRef window is not on the main display (as per macOS's display settings).
If the JabRef window is moved to a screen that is set to "extend desktop", then no context menu is shown. If the same JabRef window is moved to the "main display", however, then the context menu shows normally.
I tested with the dev version mentioned above as well as with
JabRef 5.13--2024-04-01--6bdcf63
Mac OS X 14.4.1 aarch64
Java 21.0.2
JavaFX 22+30
Both are arm64 (aarch64) variants.
On a right click on a secondary display, I can see the edge of the context menu flashing on the edge of said secondary display, so it seems that the menu is instantiated at some coordinates on the very edge of the primary screen, but as the window is on the second screen, it is not actually shown on the primary screen. Because the position on which it is instantiated lays outside of the second screen, however, it is not shown on the second screen either, so it is not shown at all.
I have issues with the main menus. They are positioned off the menu bar:
I can get it to work if I resize JabRef:
Reproduce:
- Windows 10
- Have FancyZones (PowerToys) active
- Have two monitors
- Have 150% scale on monitor 1
- Have 100% scale on monitor 2
- Start JabRef. Move it to monitor 2.
- Move JabRef Window to monitor 1 using drag and drop. Let FancyZones highlight the area. Pay attention that the window does not resize to 150% zoom while dragging
- Drop
- See 100% scaling kept for the window and the menus being off screen.
Workaround: Maximize JabRef and then drop it into the Zone of monitor 1. It keeps 150% scaling.
Related: https://github.com/JabRef/jabref/issues/10729
@pcdi I was finally able to reproduce it and provide a fix. Can you test this version? https://builds.jabref.org/pull/11324/merge Note that the build is not notarized (we only do this for releases) so you need to allow it to start in the security settings
In version
JabRef 5.14--2024-06-03--109600b
Mac OS X 14.5 aarch64
Java 21.0.2
JavaFX 22.0.1+7
this is fixed for me.