Open RPadial opened 3 months ago
see #10731
Working on Linux Mint 21.3. I opened Jabref once with only one screen connected, and afterwards, it always works with two screens. Different behavior in Ubuntu 20.04. After open Jabref with only one screen connected, it open correctly once but it turns to the initial behavior instead.
Thank you for reporting this issue. We think, that is already fixed in our development version and consequently the change will be included in the next release.
We would like to ask you to use a development build from https://builds.jabref.org/main and report back if it works for you. Please remember to make a backup of your library before trying-out this version.
It seem jabref_5.16_amd64.deb fixes the issue on Linux Mint 21.3 but not tested on Ubuntu 20.04. purged 5.15 version with apt remove --purge jabref and apt autoremove in order to remove configuration files because previous jabref version was working with the workarund previously described.
Have you tried resetting the preferences in JabRef? Can you share a screenshot? Or is this about the 2 screens?
I have just reset preferences and issue is still present
The bar to close(minimize the window is not present.
Now the workaround I found doesn't work.
With one screen it works. I used https://github.com/JabRef/jabref/tree/main/scripts/vms/linux-mint-cinnamon and run from source.
I am struggling to get two monitors working in Virtual Box - https://superuser.com/a/207291/138868. This is my blocker to check the issue.
@RPadial Do you have a special window manager or "just" the plain Cinnamon?
Yes, it works with only one monitor. Just cinnamon but note that issue is also present on Ubuntu desktop with gnome with slightly different behaviour.
Your screenshot shows the second monitor, I assume.
On your first monitor, what does the context menu of the JabRef app icon say?
Alt and "left mouse down" and then move with the mouse seems to be the shortcuts to move a window. Can you move it?
@koppor Yes, that the second monitor. Jabref opens in monitor n. 1 that is the second monitor. Monitor n.2 i set as the main monitor
This is the screenshot with both monitors:
Note that if I change main monitor to the n.1, it is working even if I reset the preferences, The issue cold be related with cinnamon/gnome launching windows on monitor n.1 instead of in the main one.
I tried to:
In the workaround I moved Jabref window to monitor n.2, so I performed another test:
The the issue is present, there is no way of moving the Jabref window with "Alt + left clic" neither with "Cmd + any arrow key". It only can be minimized or closed with the context menu on the app icon.
All these screeshot and test are performed Jabref 5.15. The workaround doesn't work on Jabref 5.16 because it always launches on monitor n.1 and it doesn't save the previous window's position.
Could you help you to check the differences between the default preferences file and the file after the workaround or any logfile? Which file would you need?
What would be nice, if you tried "--debug" (https://docs.jabref.org/advanced/commandline#debug-mode-debug). JabRef should write out Screen information and which decision it took.
I am going to try for myself; but currently on holiday with less time for JabRef.
@koppor When the issue is present, mainStages.SIZE_Y changes to 1114.0. My resolution is 1920:1080 in both monitors. Please, find attached the logs files. Note that the issue comes when jabref launches in the monitor is not set to main. I set in the filename in which monitor it launches and which monitor is set to main. log_2024-08-12_08-58-34_launch_2_main_2.txt log_2024-08-12_08-59-28_launch_2_main_1.txt log_2024-08-12_09-01-06_launch_1_main_2.txt log_2024-08-12_09-01-53_launch_1_main_1.txt
I am asking myself if JabRef should do any window management on non-Windows systems. I think, Linux does a very good job on Window management - and JabRef should not do anything regarding remembering screen positions, window size, and maximization state. Thoughts on this?
I spend nearly the whole day to replicate the display settings described at https://github.com/JabRef/jabref/issues/11530#issuecomment-2275004250. Not working. Details at https://forums.linuxmint.com/viewtopic.php?p=2513417#p2513417.
I am asking myself if JabRef should do any window management on non-Windows systems. I think, Linux does a very good job on Window management - and JabRef should not do anything regarding remembering screen positions, window size, and maximization state. Thoughts on this?
JabRef 5.16--2024-08-20--6b8c5a3 Linux 6.8.0-40-generic amd64 Java 21.0.2 JavaFX 22.0.2+4
System: Kernel: 6.8.0-40-generic arch: x86_64 bits: 64 compiler: gcc v: 13.2.0 clocksource: tsc Desktop: Cinnamon v: 6.2.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.2.0 vt: 7 dm: LightDM v: 1.30.0 Distro: Linux Mint 22 Wilma base: Ubuntu 24.04 noble
Two monitors.
I think this would be okay for Linux Mint + Cinnamon. Other apps seem to leave window management to Cinnamon. It means that JR will always start in the same location, and may always need to be dragged to the preferred location, I think, but that's not too troublesome.
I am a bit surprised that this issue is still present for other users. It went away completely for me two weeks ago, after the removal of "fullscreen" mode from the JR code.
Hello, The problem with the dev version is that jabref always launches on screen number 1 in full screen mode, which is not the main one in my setup. If I get to change to the main screen, it comes back to screen number one after restarting jabref, so it is always unsable.
I have experience exactly the same behaviour in ubuntu 20.04.
I have experience exactly the same behaviour in ubuntu 20.04.
Also Cinnamon or another window manager?
JabRef 6.0--2024-10-13--4644e8d Linux 6.8.0-45-generic amd64 Java 21.0.2 JavaFX 23+29
Cinnamon v: 6.2.9 Distro: Linux Mint 22 Wilma
Today's JR launched just fine under Linux and Cinnamon. Non-maximized window and with working toolbar.
Good!
Same problem with JabRef 6.0
JabRef version
5.15 (latest release)
Operating system
GNU / Linux
Details on version and operating system
Ubuntu 20.04 and Linux Mint 21.3 (Ubuntu 22.04)
Checked with the latest development build (copy version output from About dialog)
Steps to reproduce the behaviour
Appendix
...
Log File
``` Paste an excerpt of your log file here ```