hg: openjfx/8/graphics/rt: 5 new changesets

hang.vo at oracle.com hang.vo at oracle.com
Tue Aug 27 04:03:35 PDT 2013


Changeset: 74bc824622d7
Author:    Assaf Yavani
Date:      2013-08-27 13:58 +0300
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/74bc824622d7

[RT-30879] - Incorrect focus swithching if VK enabled
Resution was to allow another window to get focus while another window holds the grab.
Main changes:
1)glass_window_requestFocus - remove the 'grab protection' and honor all requests
2)lens_wm_setFocusedWindow - changed the parameter that was sent to glass_window_ungrabFocus() from the window requesting focus to the current focused window
The reset is logging messages updates

Tested on beagleboard
Review url http://sthinfra10.se.oracle.com:8060/cru/CR-FX8GFX-270

! modules/graphics/src/main/native-glass/lens/LensView.c
! modules/graphics/src/main/native-glass/lens/LensWindow.c
! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.c

Changeset: fe20dd490f3a
Author:    Assaf Yavani
Date:      2013-08-27 13:58 +0300
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/fe20dd490f3a

[RT-32482] - Lens: WindowEvent.FOCUS_DISABLED is not supported
Window events are explicitly checked before processed. WindowEvent.FOCUS_DISABLED check was not implemented.

Tested on device

! modules/graphics/src/main/java/com/sun/glass/ui/lens/LensApplication.java
! modules/graphics/src/main/java/com/sun/glass/ui/lens/LensWindow.java

Changeset: 922bb2496c20
Author:    Assaf Yavani
Date:      2013-08-27 13:58 +0300
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/922bb2496c20

[RT-32476] - WindowEvent.RESTORE wrongly sent by setBoundsImpl
The event was removed and was replaced with a log print that states there is nothing to do.

Also WindowEvent.RESTORE was removed from setVisible(true) as there is no need to inform glass window is actually visible

Tested on device using SnakeLadders application that the original problem was detected on.

! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.c

Changeset: 0a2b318d5698
Author:    Assaf Yavani
Date:      2013-08-27 13:58 +0300
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/0a2b318d5698

[RT-32478] incorect focus handling in some window's visibility state
1)grant the focus to a window when it become visible - changed from only to windows to windows that are focusable and enabled
2)deny focus request on invisible windows

Tested on device

! modules/graphics/src/main/native-glass/lens/wm/LensWindowManager.c

Changeset: 2d42cddb1e09
Author:    Assaf Yavani
Date:      2013-08-27 13:58 +0300
URL:       http://hg.openjdk.java.net/openjfx/8/graphics/rt/rev/2d42cddb1e09

[RT-32481] call to setEnabled(false) causes FOCUS_DIABLED event to be sent
1) move window->isEnabled = false; to the end of the request processing
2)send MouseEvent.EXIT only when mouse is actually above the window

tested on BB

! modules/graphics/src/main/native-glass/lens/LensApplication.c
! modules/graphics/src/main/native-glass/lens/LensWindow.c



More information about the openjfx-dev mailing list