JDK-8326710 : ☂ JavaFX support for XWayland
  • Type: Task
  • Component: javafx
  • Sub-Component: window-toolkit
  • Priority: P3
  • Status: Open
  • Resolution: Unresolved
  • OS: linux
  • Submitted: 2024-02-26
  • Updated: 2024-02-26
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
Blocks :  
Blocks :  
Description
Currently JavaFX only supports X.org on Linux systems. It generally runs on XWayland, although there are known bugs and limitations. Specifically, many JavaFX robot operations don't work, such as screen capture.

Supporting XWayland will become increasingly urgent. The following blog post from RedHat indicates their planned time frame for dropping X.org:

https://www.redhat.com/en/blog/rhel-10-plans-wayland-and-xorg-server

"... we believe the Wayland infrastructure and ecosystem are in good shape, and that we’re on a good path for the identified blockers to be resolved by the time RHEL 10 is out, planned to be released on the first half of 2025.

With this, we’ve decided to remove Xorg server and other X servers (except Xwayland) from RHEL 10 and the following releases. ..."

I expect that Canonical will make a similar announcement at some point in the not-to-distant-future. It would not be a surprise if, for example, X.org were removed in Ubuntu 26.04 LTS.

This is an umbrella Task. We will file separate linked-blocking bugs for each problem that needs to be fixed.