This came out as a result of working on https://bugs.openjdk.org/browse/JDK-8316117
On macOS above jfx-tests test (Effects2Test.Lightningspotlight) fails. Further investigation showed that it is not an issue with the test itself, but rather a problem on JFX side.
ADDITIONAL SYSTEM INFORMATION :
MacBook M1 Max, macOS Sonoma 14.3.1 only - does not happen on Windows 11 or Ubuntu 22.04 LTS
Also, out of curiosity, tested it with latest version of Metal pipeline from jfx-sandbox github repo and the problem still occurs.
A DESCRIPTION OF THE PROBLEM :
In attached app the Text and Rectangle are lit incorrectly (see SpotLight-Screenshot.png). If we take Scene's or Node's snapshot (SpotLight-Snapshot.png and SpotLight-Snapshot2.png respectively) the lighting is different.
On Windows and Linux the scene looks like the snapshots, so I think there must be some problem with presenting the scene on macOS window.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run attached program (SpotLightSnapshotIssue.java) on macOS. It will produce two .png snapshots. Compare the snapshots to what is displayed in the window.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Lighting on scene displayed on macOS window matches the snapshots and what is displayed by Windows/Linux
ACTUAL -
Lighting does not match above
WORKAROUND :
None I could think of
FREQUENCY :
always
On macOS above jfx-tests test (Effects2Test.Lightningspotlight) fails. Further investigation showed that it is not an issue with the test itself, but rather a problem on JFX side.
ADDITIONAL SYSTEM INFORMATION :
MacBook M1 Max, macOS Sonoma 14.3.1 only - does not happen on Windows 11 or Ubuntu 22.04 LTS
Also, out of curiosity, tested it with latest version of Metal pipeline from jfx-sandbox github repo and the problem still occurs.
A DESCRIPTION OF THE PROBLEM :
In attached app the Text and Rectangle are lit incorrectly (see SpotLight-Screenshot.png). If we take Scene's or Node's snapshot (SpotLight-Snapshot.png and SpotLight-Snapshot2.png respectively) the lighting is different.
On Windows and Linux the scene looks like the snapshots, so I think there must be some problem with presenting the scene on macOS window.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Run attached program (SpotLightSnapshotIssue.java) on macOS. It will produce two .png snapshots. Compare the snapshots to what is displayed in the window.
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Lighting on scene displayed on macOS window matches the snapshots and what is displayed by Windows/Linux
ACTUAL -
Lighting does not match above
WORKAROUND :
None I could think of
FREQUENCY :
always
- relates to
-
JDK-8316117 Restore ignored test case in Effects2Test
-
- Open
-