JDK-8326712 : Robot tests fail on XWayland
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: jfx11,8,jfx17,jfx21,jfx23
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: linux
  • Submitted: 2024-02-26
  • Updated: 2024-12-10
  • Resolved: 2024-07-03
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
jfx23 b25Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
We get many test failures when running the JavaFX headful system tests on XWayland.

I have attached a list from an older run (a couple months ago), and will update it soon with the results from a more recent test run on the latest jfx master.

Most of these failures are due to screen capture not working. Additional code is needed to enable this functionality on Wayland, similar to what AWT did in the JDK client-libs area.
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1490 Date: 2024-06-26 11:25:37 +0000
09-07-2024

Changeset: 459b15fc Author: Alexander Zvegintsev <azvegint@openjdk.org> Date: 2024-07-03 09:53:19 +0000 URL: https://git.openjdk.org/jfx/commit/459b15fc61e7a78f29c16fe665370657c1236b3f
03-07-2024

we plan to let Alexander to jump on this to migrate to FX what was done in client-libs once X11 compatibility mode bug fixing is done in client-libs.
13-03-2024

AWT uses the screencast API to do screen captures. See JDK-8280982 along with the various follow-on fixes.
26-02-2024