RFR: 8299306: Test "javax/swing/JFileChooser/FileSystemView/CustomFSVLinkTest.java" fails on Windows 10 x64 because there are some buttons did not display button name

Prasanta Sadhukhan psadhukhan at openjdk.org
Tue Jan 3 09:08:50 UTC 2023


On Tue, 3 Jan 2023 08:28:16 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> When JFilechooser is added to a frame, the control buttons are disabled. Since in the test the control buttons are not required since JFilechooser is added to a JFrame and in turn frame disposal is handled by PassFailJFrame. The fix is to disable JFileChooser control buttons.
>
> Any idea why "Open" button is not shown whereas "Cancel" button is shown? Seems to be some product issue w.r.t button size for "Open" button...

> @prsadhuk the size issue isn't affecting anything since it is disabled inside a JFrame, should it be looked into in a separate bug?

I dont see it disabled..It is just not shown, that too for one button whereas other button is shown...Agreed it has no bearing for this test...so it can be looked into as separate issue..you can raise a JBS issue and point to that bug here..

-------------

PR: https://git.openjdk.org/jdk/pull/11821



More information about the client-libs-dev mailing list