I’m not very familiar with Flatpak, but JavaFX should work on Wayland through the XWayland compatibility layer, so the X11 backend should still be usable in a Wayland environment.
This PR — https://github.com/openjdk/jfx/pull/2139 — although it works on Xorg as well, addresses several issues related to Wayland, which is where it was primarily tested. I’m an independent contributor, and I’ve also done some experiments with native Wayland support in JavaFX. You can see one of them here: https://www.youtube.com/watch?v=1CvpakL5RRU. I chose to invest my time in the PR above rather than continue working on native Wayland support. I believe it makes more sense to first get the existing implementation working well, since a native Wayland implementation would likely initially be introduced as a preview feature and could take several releases before becoming fully supported. It’s a fairly significant amount of work. Em dom., 6 de set. de 2026 às 10:05, Davide Perini < [email protected]> escreveu: > As title. > App submissions on Flathub is having problems due to the fact that you > can't have bot X11 and Wayland backend active at the same time. > > My app needs the Wayland permission on Flathub but it requires the X11 > one for JavaFX only. > > This is a big issue for JavaFX apps IMHO. > > Any news on a real Wayland backend support? > > Thanks > Davide >
