JDK-8337400 : [Linux] Initial window position is not centered on Ubuntu 24.04 / Xorg
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: jfx23
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-07-29
  • Updated: 2025-04-17
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
On Ubuntu 24.04 the window is moved to top left corner. Only happens on Xorg.

Steps to reproduce:
1) Run attached sample on Xorg / Ubuntu 24.04 with gnome
2) Observe that the window is not centered


Comments
It's a Gnome/Mutter bug reported here: https://gitlab.gnome.org/GNOME/mutter/-/issues/3640
26-08-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1520 Date: 2024-07-29 17:46:52 +0000
29-07-2024