<Swing Dev> [9] Review request for 8142534: [TEST_BUG] Test javax/swing/JMenu/8072900/WrongSelectionOnMouseOver.java fails for Ubuntu 15.10
Yuri Nesterenko
yuri.nesterenko at oracle.com
Wed Apr 12 08:13:04 UTC 2017
+1
-yan
On 04/11/2017 09:25 PM, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK9:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8142534
>
> webrev: http://cr.openjdk.java.net/~ssadetsky/8142534/webrev.00/
>
> In Ubuntu starting version 15 the current active windows gets an
> external translucent shadow which serves as a sensitive border for
> resizing. So all mouse clicks that fall into ~10 px distance around the
> active window belongs are captured by WM, even if another window is seen
> at the click point.
>
> In the test 2 windows are created beside to each other and in the second
> step of the test a mouse click is emulated to activate the 2nd window
> menu, but the click happens in 5px from the 1st window edge which is
> active and captured by WM as the 1st window resize event.
>
> To fix this Ubuntu specific issue the suggested patch increases the
> distance between two windows by 50 pixels.
>
> --Semyon
>
>
More information about the swing-dev
mailing list