JDK-8335469 : [XWayland] crash when an AWT ScreenCast session overlaps with an FX ScreenCast session
  • Type: Bug
  • Component: javafx
  • Sub-Component: window-toolkit
  • Affected Version: jfx23,jfx24
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-07-01
  • Updated: 2025-03-25
  • Resolved: 2024-11-25
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.0.2Fixed
Related Reports
Blocks :  
Relates :  
Relates :  
Relates :  
Description
Internally the ScreenCast session keeps open for 2s.

This is to reduce overhead in case of frequent consecutive screen captures.

There is a crash when an AWT ScreenCast session overlaps with an FX ScreenCast session.
E.g. java.awt.Robot#getPixelColor() and javafx.scene.robot.Robot#getPixelColor() are called within 1 second.

This may require a fix on the JFX or OpenJDK side, or both.
Comments
[jfx23u-fix-request] Approval Request from Aleksandr Zvegintsev
25-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx23u/pull/33 Date: 2024-11-25 13:36:35 +0000
25-11-2024

Changeset: 001f292e Branch: master Author: Alexander Zvegintsev <azvegint@openjdk.org> Date: 2024-11-25 11:10:53 +0000 URL: https://git.openjdk.org/jfx/commit/001f292e9f6f31e903e1219ffbc84432bae5824b
25-11-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jfx/pull/1639 Date: 2024-11-15 01:47:40 +0000
15-11-2024