JDK-8340365 : Position the first window of a window list
  • Type: Bug
  • Component: client-libs
  • Affected Version: 8u421,11.0.24,17.0.12,21.0.2,22
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2024-09-18
  • Updated: 2024-10-25
  • Resolved: 2024-09-23
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.
JDK 11 JDK 17 JDK 21 JDK 23 JDK 24 JDK 8
11.0.26-oracleFixed 17.0.14-oracleFixed 21.0.6-oracleFixed 23.0.2Fixed 24 b17Fixed 8u441Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Description
Support of multiple test UI windows in PassFailJFrame is still evolving. After JDK-8340210, the Builder has a method `positionTestUI` to supply an implementation of PositionWindows interface which should handle the positioning of all test UI windows created.

If PositionWindows is not provided, all the test UI windows are left with the default coordinates: 0, 0.

If PassFailJFrame called positionTestWindow for the first window, it would allow the test developer to position other windows based on the position of the first one.

See https://github.com/openjdk/jdk/pull/21029#discussion_r1763744407
Comments
A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1085 Date: 2024-10-23 15:01:30 +0000
23-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk17u-dev/pull/2997 Date: 2024-10-23 15:02:32 +0000
23-10-2024

Fix request [17u,21u] I backport this for parity with 17.0.14-oracle,21.0.6-oracle. No risk, only a test change Clean backport. Executed a test using PassFailJFrame to check.
23-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk23u/pull/169 Date: 2024-10-14 19:39:13 +0000
14-10-2024

Fix Request for 23u A small update to PassFailJFrame, the manual test framework, which allows handling multiple test UI windows more conveniently. Risk: Low
07-10-2024

Changeset: e97f0fe1 Branch: master Author: Alexey Ivanov <aivanov@openjdk.org> Date: 2024-09-23 18:31:31 +0000 URL: https://git.openjdk.org/jdk/commit/e97f0fe1b4046bfcc40e85ba1bee4f4c40053300
23-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/21057 Date: 2024-09-18 12:05:22 +0000
18-09-2024