-
Bug
-
Resolution: Fixed
-
P3
-
jfx11, 8, jfx24
-
b02
-
os_x
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8349677 | jfx24.0.1 | Kevin Rushforth | P3 | Resolved | Fixed | b02 |
JDK-8348985 | jfx24 | Kevin Rushforth | P3 | Resolved | Fixed | b27 |
This can be reproduced in one of two ways:
I. Using a standalone application
1. Run the following from a Terminal shell
sleep 5; java HelloRectangle
2. Quickly (before the 5 second sleep finishes) click on the desktop then click on it again to remove focus from (deactivate) the Terminal; alternatively, click on the Finder or some other application (not another terminal window)
BUG: The application will not be activated and the Stage will not have focus
II. Using a headful system test
1. Run the following from a Terminal shell
sleep 5; gradle -PFULL_TEST=true -PUSE_ROBOT=true :systemTests:test --tests CanvasTest
2. Quickly (before the 5 second sleep finishes) click on the desktop then click on it again to remove focus from (deactivate) the Terminal; alternatively, click on the Finder or some other application (not another terminal window)
BUG: the test will FAIL with a timeout assertion because the Stage is not focused
CanvasTest > testCanvasRect() FAILED
org.opentest4j.AssertionFailedError: Timeout when waiting for focus change ==> expected: <true> but was: <false>
at app//org.junit.jupiter.api.AssertionFailureBuilder.build(AssertionFailureBuilder.java:151)
at app//org.junit.jupiter.api.AssertionFailureBuilder.buildAndThrow(AssertionFailureBuilder.java:132)
at app//org.junit.jupiter.api.AssertTrue.failNotTrue(AssertTrue.java:63)
at app//org.junit.jupiter.api.AssertTrue.assertTrue(AssertTrue.java:36)
at app//org.junit.jupiter.api.Assertions.assertTrue(Assertions.java:214)
at app//test.javafx.scene.web.CanvasTest.testCanvasRect(CanvasTest.java:124)
- backported by
-
JDK-8348985 Application window not always activated on macOS 15
-
- Resolved
-
-
JDK-8349677 Application window not always activated on macOS 15
-
- Resolved
-
- relates to
-
JDK-8348878 JavaFX uses deprecated NSApp::activateIgnoringOtherApps method
-
- Open
-
-
JDK-8315657 Application window not activated in macOS 14 Sonoma
-
- Resolved
-
-
JDK-8319066 Application window not always activated in macOS 14 Sonoma
-
- Resolved
-
- links to
-
Commit(jfx24) openjdk/jfx/0f540e25
-
Commit(master) openjdk/jfx/f55f5c60
-
Review(jfx24) openjdk/jfx/1687
-
Review(master) openjdk/jfx/1685