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

remember location of earlier position of jabref window on displays #7341

Closed
ilippert opened this issue Jan 14, 2021 · 9 comments · Fixed by #11441
Closed

remember location of earlier position of jabref window on displays #7341

ilippert opened this issue Jan 14, 2021 · 9 comments · Fixed by #11441

Comments

@ilippert
Copy link
Contributor

running Linux, Fedora 33, wayland.

JabRef 5.3--2021-01-13--4d8e4f0
Linux 5.9.16-200.fc33.x86_64 amd64
Java 15.0.1
JavaFX 15.0.1+1

I use several monitors. I am frustrated because JabRef forgets its location to which I had moved it before when it starts anew. Solution: remember location.

@ilippert ilippert changed the title remember location earlier position on displays remember location of earlier position of jabref window on displays Jan 14, 2021
@Siedlerchr
Copy link
Member

Do you detach the monitors (e.g external monitor for a notebook) or do you have them permanently connected to your computer? Refs #5037

@ilippert
Copy link
Contributor Author

ilippert commented Feb 1, 2021

I have three monitors, running via gnome/Linux, Fedora 33. The cables between monitors and computer are always connected.
Gnome thinks of my two HDMI monitors as always connected. That is, if I turn one off, gnome still thinks both are on. The third monitor is powered by displayport, and if that is turned off, gnome relocates its windows to other windows.

current behaviour:
When JabRef is running: Gnome relocates JabRef correctly from and to the displayport monitor depending on whether the monitor is turned on or off.

When I quit JabRef, it always reappears on the same monitor. It also appears on that same monitor if I designate another display as a primary display.

@ilippert
Copy link
Contributor Author

ilippert commented Aug 1, 2021

still of interest

@Siedlerchr
Copy link
Member

There might be some fix coming with the next javafx version

@JabRef JabRef deleted a comment from github-actions bot Aug 1, 2021
@ThiloteE
Copy link
Member

Can you still reproduce?

@ilippert
Copy link
Contributor Author

Hi, now on
JabRef 5.7--2022-06-22--9701e35
Linux 5.18.6-200.fc36.x86_64 amd64
Java 18.0.1
JavaFX unknown

the issue is still present. JabRef works well, but it does neither recall its last position, nor does it follow Gnome's typical window placing policy (that is, the window should be placed on the display on which the mouse cursor is located).

@ilippert
Copy link
Contributor Author

Still an issue

JabRef 5.10--2023-01-12--5d24847
Linux 6.0.18-300.fc37.x86_64 amd64
Java 19.0.1
JavaFX 19+11

@koppor koppor mentioned this issue Jul 1, 2024
6 tasks
@koppor
Copy link
Member

koppor commented Jul 1, 2024

but it does neither recall its last position, nor does it follow Gnome's typical window placing policy (that is, the window should be placed on the display on which the mouse cursor is located).

Doesn't the latter contradict with the former? Should JabRef "just" open at the last position (depending on the number of connected screens) or should it reposition itself on the monitor where the mouse curser is placed (and use the last position on that screen)?

@koppor koppor mentioned this issue Jul 1, 2024
6 tasks
@ilippert
Copy link
Contributor Author

ilippert commented Jul 1, 2024

Yes, the contradiction is correctly identified. The point is that I would expect either of both options: either JabRef should show up where I last moved it, or it should show up as per Window Manager default (on Gnome, follow the current cursor).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants