Re: [11][JDK-8197808] Test java/awt/Dialog/MakeWindowAlwaysOnTop/MakeWindowAlwaysOnTop.java fails on Windows

2018-02-27 Thread Krishna Addepalli
Hi Sergey/Phil, Thanks for pointing that out. I have created a new webrev: http://cr.openjdk.java.net/~kaddepalli/8197808/webrev01/ with the appropriate changes for ProblemList.txt as well. I have tested on Windows 7, Ubuntu 16.04, Ubuntu 17.10 and MacOS 10.13, and the test passed with/without

Re: [11] JDK-8196017: java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java fails

2018-02-27 Thread Shashidhara Veerabhadraiah
/browse/JDK-8195738 ? Webrev:?HYPERLINK "http://cr.openjdk.java.net/%7Esveerabhadra/8195738/webrev.00/"http://cr.openjdk.java.net/~sveerabhadra/8195738/webrev.00/ ? Problematic platform: Windows only. ? Summary: This bug occurs only on windows platform and whereas the behavior is different on Mac/Linux platforms. Now after this fix there is common behavior across the platforms. The main problem was with resetting the state of the scroll bars even though the scroll bar panes are spawned with SCROLLBARS_NEVER as the scroll bar display policy. This resetting should not occur as the scroll bar display policy makes the? scroll bar panes invisible. Hence except the setScrollPosition() calls, we don?t need to resize/update the scroll bars state upon calling the scroll bars validation if SCROLLBARS_NEVER policy is used as the scroll bars are not displayed. ? Thanks and regards, Shashi ? ? ? ? ? ? -- next part -- An HTML attachment was scrubbed... URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20180227/6d746987/attachment.html> End of awt-dev Digest, Vol 130, Issue 41

Re: [11] JDK-8196017: java/awt/Mouse/GetMousePositionTest/GetMousePositionWithPopup.java fails

2018-02-27 Thread Krishna Addepalli
ndows only. ? Summary: This bug occurs only on windows platform and whereas the behavior is different on Mac/Linux platforms. Now after this fix there is common behavior across the platforms. The main problem was with resetting the state of the scroll bars even though the scroll bar panes are spawned with SCROLLBARS_NEVER as the scroll bar display policy. This resetting should not occur as the scroll bar display policy makes the? scroll bar panes invisible. Hence except the setScrollPosition() calls, we don?t need to resize/update the scroll bars state upon calling the scroll bars validation if SCROLLBARS_NEVER policy is used as the scroll bars are not displayed. ? Thanks and regards, Shashi ? ? ? ? ? ? -- next part -- An HTML attachment was scrubbed... URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20180227/6d746987/attachment.html> End of awt-dev Digest, Vol 130, Issue 41

Re: [11] JDK-8195738: scroll poistion in ScrollPane is reset after calling validate()

2018-02-27 Thread Shashidhara Veerabhadraiah
Hi Semyon, Thanks for your help. I did some debugging from that perspective and could find the problem and the solution. Here is the new webrev, please review it:   http://cr.openjdk.java.net/~sveerabhadra/8195738/webrev.01/   The problem was that in the case of SCROLLBARS_NEVER, scroll bar i