JDK-8221263 : [TEST_BUG] RemotePrinterStatusRefresh test is hard to use
  • Type: Bug
  • Component: client-libs
  • Sub-Component: 2d
  • Affected Version: 8,11,12,13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2019-03-21
  • Updated: 2020-01-14
  • Resolved: 2019-04-09
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 13 JDK 7 JDK 8 Other
11.0.4-oracleFixed 13 b17Fixed 7u241Fixed 8u212Fixed openjdk8u222Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The UI of the manual test test/jdk/java/awt/print/RemotePrinterStatusRefresh/RemotePrinterStatusRefresh.java is hard to use.

First of all, the UI comes up clipped even in the case where you have no printers at all, test instructions are not completely seen. After you press "Printer Added/Removed" button, the button panel moves below the window boundary.

The test depends on the timeout between printer list updates. There's no way to know whether the list is already updated or not. So the test should allow pressing "Printer Added/Removed" several times so that the user can see whether the list is updated or not.

Even more: the test could automatically compare the lists of printers. The changes to the lists could be highlighted. This will facilitate the work of the tester.
Comments
The patch applies cleanly, as stated in Fix Request section.
29-05-2019

Does this need a review for 8u or is it a clean backport? If review is required, please post patches for review to the jdk8u mailing list and don't add jdk8u-fix-request until review is complete. Thanks.
28-05-2019

8u backport webrev: http://cr.openjdk.java.net/~zgu/JDK-8221263-8u/webrev.00/
25-05-2019

Fix Request: I would like to backport this change to openjdk 8u. It is part of the Oracle updates as well. Patch applies cleanly.
25-05-2019

Fix Request: Request to backport this test fix to OpenJDK 11 updates. It is part of the Oracle updates as well. Patch applies cleanly.
15-05-2019