<Swing Dev> RFR: 8196465: javax/swing/JComboBox/8182031/ComboPopupTest.java fails on Linux
Sergey Bylokhov
serb at openjdk.java.net
Sat Oct 24 06:29:34 UTC 2020
On Fri, 23 Oct 2020 09:50:37 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
> Please review a test fix for an issue seen to be failing in mach5 testing on linux whereby the combo popup is not opening.
> The issue is not reproducible locally in ubuntu18.04 but mach5 testing on ubuntu18.04 was able to see the issue.
> Combo popup was opened by clicking at right edge of combo box, which sometimes is not set properly at mach5 system, so mouse click is clicked at wrong location of frame, thereby not opening the combo popup.
> Modified the test to open the combo popup by clicking on middle of combobox which now works for all. Also, made robot autodelay consistent with other test to be 100ms. Also, changed deprecated constant to appropriate constants.
> Mach5 job was run for several iteration on all 3 platforms. Link in JBS
This test was created for this bug:
https://bugs.openjdk.java.net/browse/JDK-8182031
> A DESCRIPTION OF THE PROBLEM :
> When clicking the right-most pixel of a JComboBox the related Popup opens and closes immediately. Happens on any tested Look & Feel (Metal, Windows, Nimbus, BizLookAndFeel).
So it looks like the usage of the right-most pixel to open the popup is intentional,
-------------
PR: https://git.openjdk.java.net/jdk/pull/829
More information about the swing-dev
mailing list