[9] Review request for 8166313: JavaDoc mentions AppEvent subclasses as inner class of AppEvent

2017-02-13 Thread Alexander Zvegintsev
Hello, please review the doc fix http://cr.openjdk.java.net/~azvegint/jdk/9/8166313/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8166313 This is a simple clean up fix. -- Thanks, Alexander.

Re: [9] Review Request: 8168307 Toolkit.getScreenSize() returns incorrect size on unix in multiscreen systems

2017-02-13 Thread Alexander Zvegintsev
Hello Sergey, Main screen on Windows and Mac OS always has (0,0) coordinates. On Linux main screen may be shifted, e.g. if it is located to the right of secondary one (800,0). I think that it is feasible to unify Linux main screen behavior with Mac OS and Windowsa and make it always located

Re: [9] Review request for 8147440 HiDPI (Windows): Swing components have incorrect sizes after changing display resolution

2017-02-08 Thread Alexander Zvegintsev
+1 -- Thanks, Alexander. On 02/08/2017 07:59 PM, Sergey Bylokhov wrote: Looks fine. Hello, Could you review the updated fix: http://cr.openjdk.java.net/~alexsch/8147440/webrev.03 - InvokeFunction is used to call the _WindowDPIChange in the AWT Window on native level. - WWindowP

Re: RFR: 8167228: Update to libpng 1.6.28

2017-01-23 Thread Alexander Zvegintsev
+1 Thanks, Alexander. On 23/01/2017 18:35, Sergey Bylokhov wrote: Looks fine. Webrev: http://cr.openjdk.java.net/~prr/8167228/ This fix updates libpng in JDK 9 to the current version 1.6.28. Aside from updating to these files there are few changes to note (1) The CHANGES file has previously

Re: [9] Review request for 8165705: Robot.createScreenCapture produces black screenshot on Oracle Linux 7.1

2017-01-09 Thread Alexander Zvegintsev
Sure, updated in place. Thanks, Alexander. On 01/09/2017 06:09 PM, Sergey Bylokhov wrote: Looks fine. But it seems that this field can be removed? private static boolean isGtkSupported =false; After the fix for JDK-8150954 this field is not used. Hello, please review the fix http://cr.ope

[9] Review request for 8165705: Robot.createScreenCapture produces black screenshot on Oracle Linux 7.1

2017-01-09 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8165705/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8165705 Gtk is now default option for taking screenshots with Robot. -- Thanks, Alexander.

Re: [9] Review request for 8167652: Making a frame/dialog resizeble/unresizeble shifts its position on Unity.

2016-12-19 Thread Alexander Zvegintsev
Looks good to me. Thanks, Alexander. On 26/10/2016 16:06, Semyon Sadetsky wrote: Please review the updated fix: http://cr.openjdk.java.net/~ssadetsky/8167652/webrev.01/ - unnecessary AWT locks are removed - client code calls are taken away from AWT lock blocks - some design improvements are

Re: [9] Review request for 8166683: On macOS (Mac OS X) getting a ScreenMenuBar when not running "com.apple.laf.AquaLookAndFeel"

2016-12-05 Thread Alexander Zvegintsev
nder. On 11/29/16 4:12 AM, Alexander Zvegintsev wrote: I don't find any modern jdk9 prefix convention for such property, so I've named it "jdk.swing.disableForcedGlobalMenuBar" http://cr.openjdk.java.net/~azvegint/jdk/9/8166683/02/ Thanks, Alexander. On 11/28/16 9:05 P

Re: [9] Review request for 8166683: On macOS (Mac OS X) getting a ScreenMenuBar when not running "com.apple.laf.AquaLookAndFeel"

2016-11-29 Thread Alexander Zvegintsev
Probably something like "globalMenuBar", etc? At least this will allow us to change implementation in any ways on other platforms w/o changing/adding the old/new properties. On 15.11.16 17:39, Alexander Zvegintsev wrote: Hi Sergey, I've not found casting issues, but I'v

Re: [9] Review request for 8151189: Possible getAppContext() NPE in java.awt.Desktop and java.awt.Taskbar

2016-11-20 Thread Alexander Zvegintsev
od is called by the user then appcontext should not be null, additionally we should not cache this value in the static, so all other code will use this cached static value. On 15.11.16 20:38, Phil Race wrote: +1 -phil. On 11/15/2016 08:24 AM, Alexander Zvegintsev wrote: Hello, please review t

[9] Review request for 8151189: Possible getAppContext() NPE in java.awt.Desktop and java.awt.Taskbar

2016-11-15 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8151189/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8151189 -- Thanks, Alexander.

Re: [9] Review request for 8166683: On macOS (Mac OS X) getting a ScreenMenuBar when not running "com.apple.laf.AquaLookAndFeel"

2016-11-15 Thread Alexander Zvegintsev
va.net/~azvegint/jdk/9/8166683/01/ Thanks, Alexander. On 11/11/16 2:14 PM, Sergey Bylokhov wrote: Hi, Alexander. Did you run the tests on non-Aqua l&f? I assume that we can have a places in other l&f where we try to cast the MenuBarUI to some specific UI delegate. On 09.11.16 16:58

[9] Review request for 8166683: On macOS (Mac OS X) getting a ScreenMenuBar when not running "com.apple.laf.AquaLookAndFeel"

2016-11-09 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8166683/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8166683 This fix adds support for ScreenMenuBar for L&F's other than Aqua. With this fix it is enabled by default if apple.laf.useScreenMenuBar property

Re: [9] Review request for 8163101: dual-screen issue with JMenu, JPopupMenu

2016-11-03 Thread Alexander Zvegintsev
+1 Thanks, Alexander. On 8/31/16 5:18 PM, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8163101 webrev: http://cr.openjdk.java.net/~ssadetsky/8163101/webrev.00/ In the 8137571 the available screen area request Toolkit.getDefaultTool

Re: [9] Review request for 8159432: [PIT][macosx] StackOverflow in closed/java/awt/Dialog/DialogDeadlock/DialogDeadlockTest

2016-11-02 Thread Alexander Zvegintsev
+1 Thanks, Alexander. On 11/1/16 10:59 PM, Sergey Bylokhov wrote: Looks fine. On 05.10.16 11:45, Semyon Sadetsky wrote: To avoid this the 8139218 solution is revisited to manage the focus restore synchronously only if it is possible and send a single asynchronous focus request otherwise. Ca

Re: [9] Review request for 8143914: Provide Mac-specific fullscreen support

2016-10-25 Thread Alexander Zvegintsev
Please see the updated webrev: http://cr.openjdk.java.net/~azvegint/jdk/9/8143914/02/ Thanks, Alexander. On 10/11/16 5:00 PM, Alexander Zvegintsev wrote: Hi Sergey, Please see the updated webrev: http://cr.openjdk.java.net/~azvegint/jdk/9/8143914/01/ As I can observe other windows such

Re: [9] Review request for 8166594: Taskbar.setWindowProgressValue() spec does not specify expected visual behavior of setWindowProgressValue()

2016-10-18 Thread Alexander Zvegintsev
Updated the "behavior is undefined" section: http://cr.openjdk.java.net/~azvegint/jdk/9/8166594/01/ Thanks, Alexander. On 10/6/16 6:14 PM, Semyon Sadetsky wrote: On 10/6/2016 3:38 PM, Alexander Zvegintsev wrote: Hi Semyon, Yes it is, Microsoft defined some set of rules for s

Re: [9] Review request for 8166897: Some font overlap in the Optionpane dialog.

2016-10-17 Thread Alexander Zvegintsev
+1 Thanks, Alexander. On 10/13/16 12:12 AM, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8166897 webrev: http://cr.openjdk.java.net/~ssadetsky/8166897/webrev.00/ The setResizable() method of XDecoratedPeer class clears the frame in

Re: [9] Review Request: 8143077 Deprecate InputEvent._MASK in favor of InputEvent._DOWN_MASK

2016-10-17 Thread Alexander Zvegintsev
Looks good. On 10/7/16 4:21 PM, Sergey Bylokhov wrote: On 07.10.16 10:06, Semyon Sadetsky wrote: Hi Sergey, After applying the patch I found 72 usages of the Event class. Why they are not replaced? By the same reason why InputEvent.getModifiers() was not replaced by InputEvent.getModifiers

[9] Review request for 8167565: [macosx] Maximization of a dialog hides it

2016-10-13 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8167565/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8167565 We trying to zoom to a zero size window(standardFrame has zero size). standardFrame initialization happens on setMaximizedBounds call. Dialog doe

Re: [9] Review request for 8143914: Provide Mac-specific fullscreen support

2016-10-11 Thread Alexander Zvegintsev
it (I tried on 10.10 and 10.12): application is blocked by a modal dialog, and there's no way to see it. -yan On 10/11/2016 05:01 PM, Alexander Zvegintsev wrote: Actually I can't reproduce such behavior. On 9/30/16 5:12 PM, Semyon Sadetsky wrote: The fix looks good. Do you know why J

Re: [9] Review request for 8143914: Provide Mac-specific fullscreen support

2016-10-11 Thread Alexander Zvegintsev
Actually I can't reproduce such behavior. On 9/30/16 5:12 PM, Semyon Sadetsky wrote: The fix looks good. Do you know why JDialog maximize button doesn't work? When I click on it the maximize button the dialog disappears. --Semyon On 9/6/2016 5:32 PM, Alexander Zvegintsev wro

Re: [9] Review request for 8143914: Provide Mac-specific fullscreen support

2016-10-11 Thread Alexander Zvegintsev
h are generated by the same peer. Why not use windowWill/DidEnterFullScreen + windowWill/DidExitFullScreen? Why the fix is for the Frames only, there are some limitations for other windows, dialogs etc? On 06.09.16 17:32, Alexander Zvegintsev wrote: Hello, please review the fix http://cr.openjdk.jav

Re: [9] Review Request: 8166673 The new implementation of Robot.waitForIdle() may hang

2016-10-11 Thread Alexander Zvegintsev
+1 -- Thanks, Alexander. On 07.10.2016 17:07, Sergey Bylokhov wrote: On 07.10.16 10:28, Semyon Sadetsky wrote: Hi Sergey, 1525 queueEmpty = false; 1526 eventDispatched = false; 1527 synchronized(waitLock) { Shouldn't lines 1525 & 1526 be moved inside the synchronized

Re: RFR: JDK-8165232 XKeycodeToKeysym is deprecated and should be replaced with XkbKeycodeToKeysym

2016-10-06 Thread Alexander Zvegintsev
+1 P.S. It wasn't hard to find, but the webrev is updated at the first revision http://cr.openjdk.java.net/~alanbur/JDK-8165232 -- Thanks, Alexander. On 06.10.2016 13:18, Alan Burlison wrote: On 04/10/2016 19:34, Alan Burlison wrote: key_syms is not freed. So there is, thanks for the cat

Re: [9] Review request for 8166594: Taskbar.setWindowProgressValue() spec does not specify expected visual behavior of setWindowProgressValue()

2016-10-06 Thread Alexander Zvegintsev
anged lines to make them following the 80 chars maximum? --Semyon On 06.10.2016 04:56, Alexander Zvegintsev wrote: Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8166594/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8166594 It also fixes two issu

Re: [9] Review request for 8166942: Usage of SplashScreen Functions hangs up FX Application

2016-10-06 Thread Alexander Zvegintsev
You are right, it it undefined behavior. On 10/6/16 10:02 AM, Semyon Sadetsky wrote: Hi Alexander, Is it safe to lock the mutex on one thread and unlock it on another? --Semyon On 06.10.2016 06:08, Alexander Zvegintsev wrote: Hello, please review the fix http://cr.openjdk.java.net

[9] Review request for 8166942: Usage of SplashScreen Functions hangs up FX Application

2016-10-05 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8166942/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8166942 SplashEventLoop() acquires the lock[0] and then trying to call SplashRedrawWindow() which is trying execute some code on the main thread[1]. Thu

[9] Review request for 8166594: Taskbar.setWindowProgressValue() spec does not specify expected visual behavior of setWindowProgressValue()

2016-10-05 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8166594/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8166594 It also fixes two issues to conform the documentation: setting value below 0 doesn't disable progress indication switching from indeterminate t

Re: RFR: JDK-8165232 XKeycodeToKeysym is deprecated and should be replaced with XkbKeycodeToKeysym

2016-10-04 Thread Alexander Zvegintsev
Hello, as I can see there is a memory leak in case when the index is greater than or equal to num_syms: 837 KeySym *key_syms = XGetKeyboardMapping(display, keycode, 1, &num_syms); 838 if (index >= num_syms) { 839 return NoSymbol; 840 } key_syms is not freed. -- Thanks, Alexander. On 10/4/1

Re: [9] Review Request for 8141528: Test closed/java/awt/FullScreen/DisplayMode/CycleDMImage.java fails for Ubuntu 15.10

2016-10-03 Thread Alexander Zvegintsev
Looks fine. -- Thanks, Alexander. On 10/03/2016 07:38 PM, Semyon Sadetsky wrote: The fix is updated http://cr.openjdk.java.net/~ssadetsky/8141528/webrev.01/ The root case of the issue is that in Unity the screen window size and location are get updated several times after display mode is cha

Re: [9] Review request for 8159432: [PIT][macosx] StackOverflow in closed/java/awt/Dialog/DialogDeadlock/DialogDeadlockTest

2016-10-03 Thread Alexander Zvegintsev
looks good to me. -- Thanks, Alexander. On 24.08.2016 22:18, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8159432 webrev: http://cr.openjdk.java.net/~ssadetsky/8159432/webrev.00/ The issue is connected to the restoring focus to the

Re: [9] Review request for 8154434: Open the request focus methods of the java.awt.Component which accept FocusEvent.Cause

2016-09-23 Thread Alexander Zvegintsev
Looks good to me. -- Thanks, Alexander. On 26.04.2016 16:14, Semyon Sadetsky wrote: On 4/26/2016 3:49 PM, Philip Race wrote: > In applications one may need to know the reason why focus is requested I do not mean why should apps want to *know* the cause. I am asking why apps should be able

Re: [9] Review request for 8165619: Frame is not repainted if created in state=MAXIMIZED_BOTH on Unity

2016-09-23 Thread Alexander Zvegintsev
Looks good to me. -- Thanks, Alexander. On 23.09.2016 16:15, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8165619 webrev: http://cr.openjdk.java.net/~ssadetsky/8165619/webrev.00/ If frame is created in maximized the window extent pr

Re: [9] Review Request for 8041519: JVM crash on second DnD after modal dialog opened during Swing DnD operation

2016-09-19 Thread Alexander Zvegintsev
Looks good to me. On 7/17/15 7:27 PM, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8041519 webrev: http://cr.openjdk.java.net/~ssadetsky/8041519/webrev.00/ This is regression from JDK-6342381. When a modal dialog blocks drop operatio

Re: [9] Review request for 8161910: [PIT] regression: HW/LW mixing seems broken on Unity

2016-09-19 Thread Alexander Zvegintsev
Looks good to me. On 8/30/16 7:18 PM, Semyon Sadetsky wrote: Sorry for inconvenience, but I have to update this fix once again. http://cr.openjdk.java.net/~ssadetsky/8161910/webrev.02 I have found the main root cause of the issue. In the 8036815 I have missed one insets_corrected = true; sta

Re: [9] Review Request: 8004693 TEST_BUG: java/awt/KeyboardFocusmanager/DefaultPolicyChange/DefaultPolicyChange_Swing.java fails

2016-09-13 Thread Alexander Zvegintsev
Looks good to me. On 5/30/16 7:39 PM, Sergey Bylokhov wrote: Hello. Please review the fix for jdk9. The test DefaultPolicyChange_Swing.java has two issues: - It uses invokeLater(), so the test usually pass before the code is executed on the EDT, because the main thread completes before. - T

[9] Review request for 8140311: SwingInterop crashes at window close

2016-09-13 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8140311/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8140311 This issue is only reproducible when a window using CWarningWindow. After window close we cancel HidingTask in CWarningWindow at java level, howe

Re: [9] Review Request for 8141528: Test closed/java/awt/FullScreen/DisplayMode/CycleDMImage.java fails for Ubuntu 15.10

2016-09-08 Thread Alexander Zvegintsev
Hi Semyon, I believe that this webrev should be updated to use isUnityCompiz(). -- Thanks, Alexander. On 07.12.2015 14:11, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8141528 webrev: http://cr.openjdk.java.net/~ssadetsky/8141528/web

Re: [9] Review request for 8164536: enableSuddenTermination() - Not throws SecurityException if a security manager exists and it will not allow the caller to invoke System.exit

2016-09-08 Thread Alexander Zvegintsev
/2016 04:53 PM, Sergey Bylokhov wrote: On 31.08.16 3:27, Alexander Zvegintsev wrote: Hi Sergey, It could be, but actually RuntimePermission is used by eawt(sure we can change it too, but I don't see a point) It is still unclear to me why in most of the place we check two permissions? Ca

Re: [9] Review request for 8153526: [Unity] Taskbar.getTaskbar().setMenu(null) doesn't remove menu

2016-09-08 Thread Alexander Zvegintsev
06.09.16 20:56, Alexander Zvegintsev wrote: Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8153526/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8153526

[9] Review request for 8153526: [Unity] Taskbar.getTaskbar().setMenu(null) doesn't remove menu

2016-09-06 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8153526/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8153526 -- Thanks, Alexander.

[9] Review request for 8143914: Provide Mac-specific fullscreen support

2016-09-06 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8143914/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8143914 This fix adds the green FullScreen button to a resizable frames by default. Previous maximize behavior is still accessible by holding Alt while

Re: [9] Review request 8155083: On Windows, usage of USER_ATTENTION_WINDOW depends on state setting order

2016-09-01 Thread Alexander Zvegintsev
ified window state? --Semyon On 26.08.2016 05:53, Alexander Zvegintsev wrote: Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8155083/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8155083 With current implementation we are showing initially iconified w

Re: [9] Review request for 8164536: enableSuddenTermination() - Not throws SecurityException if a security manager exists and it will not allow the caller to invoke System.exit

2016-08-30 Thread Alexander Zvegintsev
and/or require similar permissions. On 30.08.16 21:58, Alexander Zvegintsev wrote: Hello, Please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8164536/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8164536 This fix add check for canProcessApplicationEvents run

[9] Review request for 8164536: enableSuddenTermination() - Not throws SecurityException if a security manager exists and it will not allow the caller to invoke System.exit

2016-08-30 Thread Alexander Zvegintsev
Hello, Please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8164536/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8164536 This fix add check for canProcessApplicationEvents runtime permission(currently used by eawt) for Desktop and Taskbar classes. -- Thanks, Alex

[9] Review request 8155083: On Windows, usage of USER_ATTENTION_WINDOW depends on state setting order

2016-08-25 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8155083/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8155083 With current implementation we are showing initially iconified window with SW_SHOWMINIMIZED flag, it activates the window, FlashWindowEx doesn't

Re: [9] Review request for 8162840: Desktop. enableSuddenTermination() has no effect

2016-08-16 Thread Alexander Zvegintsev
create a test for the fix? On 16.08.16 19:20, Alexander Zvegintsev wrote: Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8162840/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8162840 We don't call QuitHandler and using default QuitStrategy if s

[9] Review request for 8162840: Desktop. enableSuddenTermination() has no effect

2016-08-16 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8162840/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8162840 We don't call QuitHandler and using default QuitStrategy if sudden termination is enabled. -- Thanks, Alexander.

Re: [9] Review request for 8161007: GPL header missing comma in year - not swapped in licensee bundles

2016-07-19 Thread Alexander Zvegintsev
+1 On 7/19/16 2:28 PM, Alexandr Scherbatiy wrote: The fix looks good to me. Thanks, Alexandr. On 7/15/2016 2:46 PM, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8161007 webrev: http://cr.openjdk.java.net/~ssadetsky/8161007/webrev.

Re: [9] Review Request for 8036915: setLocationRelativeTo stopped working in Ubuntu 13.10 (Unity)

2016-07-14 Thread Alexander Zvegintsev
Hi Semyon, The fix looks good to me. Thanks, Alexander. On 07/13/2016 01:28 PM, Semyon Sadetsky wrote: Please review an updated version of the fix: http://cr.openjdk.java.net/~ssadetsky/8036915/webrev.02/ The solution was completely changed. The frame insets correction algorithm is revised

Re: [9] Review request for 8159460: On Ubuntu Unity, problem with java/awt/Window/FindOwner/FindOwnerTest

2016-07-12 Thread Alexander Zvegintsev
Looks good to me. -- Thanks, Alexander. On 17.06.2016 11:42, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8159460 webrev: http://cr.openjdk.java.net/~ssadetsky/8159460/webrev.00/ On Unity WM_TAKE_FOCUS notification is sent to the de

Re: [9] Review request for 8153512: Taskbar support reported for Xfce4.

2016-07-12 Thread Alexander Zvegintsev
Hi Semyon, please see the updated webrev http://cr.openjdk.java.net/~azvegint/jdk/9/8153512/01/ Thanks, Alexander. On 07/12/2016 05:22 PM, Semyon Sadetsky wrote: Hi Alexander, I would use a static variable and check it once only. --Semyon On 12.07.2016 16:56, Alexander Zvegintsev wrote

[9] Review request for 8153512: Taskbar support reported for Xfce4.

2016-07-12 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8153512/00/ for the issue https://bugs.openjdk.java.net/browse/JDK-8153512 -- Thanks, Alexander.

Re: [9] Review request for 8149115: [hidpi] Linux: display-wise scaling factor should probably be taken into account

2016-07-08 Thread Alexander Zvegintsev
/8149115/webrev.03/ --Semyon On 7/7/2016 9:57 AM, Alexandr Scherbatiy wrote: The fix looks good to me. Thanks, Alexandr. On 7/6/2016 11:46 PM, Alexander Zvegintsev wrote: Still looks good. -- Thanks, Alexander. On 06.07.2016 21:42, Semyon Sadetsky wrote: Thanks, Alexander. Please see the updated

Re: [9] Review request for 8149115: [hidpi] Linux: display-wise scaling factor should probably be taken into account

2016-07-06 Thread Alexander Zvegintsev
Still looks good. -- Thanks, Alexander. On 06.07.2016 21:42, Semyon Sadetsky wrote: Thanks, Alexander. Please see the updated webrev http://cr.openjdk.java.net/~ssadetsky/8149115/webrev.02/ --Semyon On 7/6/2016 9:03 PM, Alexander Zvegintsev wrote: The fix looks good to me. Just a minor

Re: [9] Review request for 8149115: [hidpi] Linux: display-wise scaling factor should probably be taken into account

2016-07-06 Thread Alexander Zvegintsev
The fix looks good to me. Just a minor comment: multiple NULL checks in get_schema_value could be wrapped in CHECK_NULL_RETURN macro, e.g.: CHECH_NULL_RETURN(fp_g_settings_schema_has_key = dlsym(lib_handle, "g_settings_schema_has_key"), NULL); CHECH_NULL_RETURN(fp_g

Re: [9] Review request for 8159374 : Taskbar.setIconBadge() spec omits mention of exception for ICON_BADGE_TEXT feature

2016-07-06 Thread Alexander Zvegintsev
. -- Thanks, Alexander. On 07/06/2016 10:25 AM, Alexandr Scherbatiy wrote: On 7/5/2016 5:54 PM, Alexander Zvegintsev wrote: We have two cases: 1. Underlying system(Linux) supports only numbers as parameter (adding this check will block Linux). 2. Underlying system(OS X) supports strings

Re: [9] Review request for 8159374 : Taskbar.setIconBadge() spec omits mention of exception for ICON_BADGE_TEXT feature

2016-07-05 Thread Alexander Zvegintsev
pport numbers it doesn't support strings too, thus this exception will be thrown in this case. On 7/5/16 5:32 PM, Alexandr Scherbatiy wrote: On 7/5/2016 5:04 PM, Alexander Zvegintsev wrote: Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8159374/00 for the i

[9] Review request for 8159374 : Taskbar.setIconBadge() spec omits mention of exception for ICON_BADGE_TEXT feature

2016-07-05 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8159374/00 for the issue https://bugs.openjdk.java.net/browse/JDK-8159374 -- -- Thanks, Alexander.

[9] Review request for 8155515 : Desktop.moveToTrash() javadoc issue

2016-07-05 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8155515/00 for the issue https://bugs.openjdk.java.net/browse/JDK-8155515 -- -- Thanks, Alexander.

[9] Review request for 8156212 : Typo in javadoc of java.awt.Taskbar, setIconBadge spec

2016-07-05 Thread Alexander Zvegintsev
Hello, please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8156212/00 for the issue https://bugs.openjdk.java.net/browse/JDK-8156212 -- -- Thanks, Alexander.

[9] Review request for 8155691: Update GIFlib library to the latest up-to-date

2016-07-04 Thread Alexander Zvegintsev
Hello, please review the fix https://bugs.openjdk.java.net/browse/JDK-8155691 for the issue http://cr.openjdk.java.net/~azvegint/jdk/9/8155691/00/ -- -- Thanks, Alexander.

[9] Review request for 8155690: Update libPNG library to the latest up-to-date

2016-07-04 Thread Alexander Zvegintsev
Hello, please review the fix https://bugs.openjdk.java.net/browse/JDK-8155690 for the issue http://cr.openjdk.java.net/~azvegint/jdk/9/8155690/00/ -- -- Thanks, Alexander.

Re: CFV: New AWT Group Lead: Sergey Bylokhov

2016-06-10 Thread Alexander Zvegintsev
Vote: yes -- Thanks, Alexander. On 10.06.2016 18:39, Artem Ananiev wrote: Hi, AWT team, I hereby nominate Sergey Bylokhov (OpenJDK user name: serb) to AWT Group Lead [1]. Sergey is a member of Java Client group at Oracle. He has been one of the most active contributors to AWT (and other Ja

Re: Taking screenshots on x11 composite desktop produce wrong result

2016-05-31 Thread Alexander Zvegintsev
Looks fine to me. Thanks, Alexander. On 31/05/16 17:29, Sergey Bylokhov wrote: Hi, Mario. Thanks for your contribution! there is tiny typo in the native: isGtkSupported should be useGtk. It will be good if someone run jprt job to confirm that the build is ok, since make file was changed. On

Re: [8u/9] Review request 8156116 : [macosx] two JNI locals to delete in AWTWindow.m, CGraphicsEnv.m

2016-05-18 Thread Alexander Zvegintsev
Looks fine to me too. Thanks, Alexander. On 05/17/2016 06:36 PM, Anton Tarasov wrote: Would anyone else please review the fix? Thanks Anton. On 5/5/2016 12:45 PM, Sergey Bylokhov wrote: Looks fine. On 05.05.16 10:50, Anton Tarasov wrote: Hello, Please, review a simple fix: webrev: http:

Re: Review-request for 8143227: Platform-Specific Desktop Features

2016-03-05 Thread Alexander Zvegintsev
Fixed: http://cr.openjdk.java.net/~azvegint/jdk/9/8143227/09/ -- Thanks, Alexander. On 03/05/2016 04:10 AM, Mandy Chung wrote: On Mar 4, 2016, at 11:07 AM, Phil Race wrote: Approved. -phil. One comment on something you can't do anything about *yet*, is that adding a new API package right in

Re: Review-request for 8143227: Platform-Specific Desktop Features

2016-03-03 Thread Alexander Zvegintsev
permission for the file as well. At the end it is an interesting question: what permissions are needed to delete the file. On 21.02.16 14:38, Alexander Zvegintsev wrote: Hi Phil, please see updated the webrev here http://cr.openjdk.java.net/~azvegint/jdk/9/8143227/08/ and comments inline On

Re: Review-request for 8143227: Platform-Specific Desktop Features

2016-03-03 Thread Alexander Zvegintsev
s it never used to return null. Now it can. So do we really want to add more places that we need to fix ? In other words I don't think the fix is going to be to revert to it not returning null, so you are going to have to deal with it directly here. -phil. On 2/21/16, 5:08 PM, Alexander Zvegin

Re: [9] Review Request for 8021961: setAlwaysOnTop doesn't behave correctly in Linux/Solaris under certain scenarios

2016-02-26 Thread Alexander Zvegintsev
+1 -- Thanks, Alexander. On 10.02.2016 14:06, Sergey Bylokhov wrote: Looks fine. On 01.10.15 21:27, Semyon Sadetsky wrote: The fix is amended : plese review the new version http://cr.openjdk.java.net/~ssadetsky/8021961/webrev.01/ It is taken into account that the transientFor chain may be lon

Re: [9] Review reuest for 8036915: setLocationRelativeTo stopped working in Ubuntu 13.10 (Unity)

2016-02-26 Thread Alexander Zvegintsev
Hi Sergey, Yes, it is, anyway I can see only a part of the fix in this webrev. -- Thanks, Alexander. On 26.02.2016 16:57, Sergey Bylokhov wrote: Hi, Alexander. It seems that this request is withdrawn? On 24.11.14 18:07, Alexander Zvegintsev wrote: Hello, please review the fix http

Re: Review-request for 8143227: Platform-Specific Desktop Features

2016-02-21 Thread Alexander Zvegintsev
please give an example. It is another Mac specific feature, it does exactly how it described. You can have no windows(not even created), no system menu bar and some running thread, AppReopenedListener will be called on click in dock icon or on double click on the application executable.

Re: Review-request for 8143227: Platform-Specific Desktop Features

2016-02-16 Thread Alexander Zvegintsev
rmissions ? You do need permission to exit the VM, so should you be able to set a QuitStrategy if you don't have such permission ?? More later .. -phil. On 01/21/2016 11:16 PM, Alexander Zvegintsev wrote: Hi Semyon, I am not sure about flexibility, but providing additional info for a user ses

Re: Review-request for 8143227: Platform-Specific Desktop Features

2016-02-15 Thread Alexander Zvegintsev
--Semyon On 1/22/2016 10:16 AM, Alexander Zvegintsev wrote: Hi Semyon, I am not sure about flexibility, but providing additional info for a user session change could be useful http://cr.openjdk.java.net/~azvegint/jdk/9/8143227/05/ (changed awt_Toolkit.cpp, AppEvent.java, UserSessi

Re: Review-request for 8143227: Platform-Specific Desktop Features

2016-01-21 Thread Alexander Zvegintsev
. Also this may add flexibility that allows to support new features in the future. --Semyon On 1/17/2016 11:55 PM, Alexander Zvegintsev wrote: Hi Semyon, Is it possible to use WM_QUERYENDSESSION for Action.APP_SUDDEN_TERMINATION? Sure, so please see updated webrev: http://cr.openjdk.java.net

Re: Review-request for 8143227: Platform-Specific Desktop Features

2016-01-17 Thread Alexander Zvegintsev
, WDesktopPeer.java: added SuddenTerminaton support for Windows -- Thanks, Alexander. On 01/15/2016 04:14 PM, Semyon Sadetsky wrote: Hi, On 1/15/2016 12:39 PM, Alexander Zvegintsev wrote: Hi Semyon, Yes, it is just LOCK/UNLOCK for now, because it is the most common scenario of desktop usage

Re: Review-request for 8143227: Platform-Specific Desktop Features

2016-01-15 Thread Alexander Zvegintsev
CONNECT 0x4 #define WTS_SESSION_LOGON 0x5 #define WTS_SESSION_LOGOFF 0x6 #define WTS_SESSION_LOCK 0x7 #define WTS_SESSION_REMOTE_CONTROL some of them seems to me more suitable to be chosen as the session act/deact event. Could you comment that for me? --Semyon On 11/24/2015 6:02 PM, Alexander Zvegintsev wr

Re: Review-request for 8143227: Platform-Specific Desktop Features

2015-11-24 Thread Alexander Zvegintsev
Please review the updated fix: http://cr.openjdk.java.net/~azvegint/jdk/9/8143227/03/ removed fullscreen related code (moved to JDK-8143914 [0]) fix serialization in AppEvent [0] https://bugs.openjdk.java.net/browse/JDK-8143914 Thanks, Alexander. On 11/21/2015 03:33 AM, Alexander Zvegintsev

Re: Review-request for 8143227: Platform-Specific Desktop Features

2015-11-20 Thread Alexander Zvegintsev
p://cr.openjdk.java.net/~azvegint/jdk/9/8143227/00/src/java.desktop/share/classes/java/awt/desktop/QuitStrategy.java.html * The strategy use to -> The strategy used to http://cr.openjdk.java.net/~azvegint/jdk/9/8143227/00/src/java.desktop/share/classes/java/awt/desktop/ScreenSleepListener.java.ht

Re: Review-request for 8143227: Platform-Specific Desktop Features

2015-11-20 Thread Alexander Zvegintsev
Hi Phil, Can someone explain why this is needed given the existing support of GraphicsDevice.setFullScreenWindow(Window) ? GraphicsDevice.setFullScreenWindow is used for an exclusive full screen mode. Mac OS has another option to create a virtual desktop with provided window in it. You can

Re: Review-request for 8143227: Platform-Specific Desktop Features

2015-11-20 Thread Alexander Zvegintsev
amp;target=quicklilst-static-entry.png -- Thanks, Alexander. On 11/20/2015 05:36 PM, Yuri Nesterenko wrote: Hi Alexander, On 11/19/2015 06:23 PM, Alexander Zvegintsev wrote: Hi Yuri, Nice catch! Just tested on Ubuntu 14.04.3, it does not have libunity.so symlink to libuity.so.9. so we should

Re: Review-request for 8143227: Platform-Specific Desktop Features

2015-11-20 Thread Alexander Zvegintsev
p/share/classes/java/awt/desktop/QuitStrategy.java.html * The strategy use to -> The strategy used to http://cr.openjdk.java.net/~azvegint/jdk/9/8143227/00/src/java.desktop/share/classes/java/awt/desktop/ScreenSleepListener.java.html * have awoke -> have awoken http://cr.openjdk.java

Re: Review-request for 8048731: JEP 272: Platform-Specific Desktop Features

2015-11-19 Thread Alexander Zvegintsev
/~azvegint/jdk/9/8143227/00/src/java.desktop/macosx/classes/sun/lwawt/macosx/CTaskbarPeer.java.html Thanks, Alexander. On 11/19/2015 01:17 AM, Michael Hall wrote: On Nov 18, 2015, at 1:12 AM, Alexander Zvegintsev <mailto:alexander.zvegint...@oracle.com>> wrote: This fix provides publi

Re: Review-request for 8143227: Platform-Specific Desktop Features

2015-11-19 Thread Alexander Zvegintsev
t I don't see BROWSE supported. Thanks, -yan On 11/18/2015 05:01 PM, Alexander Zvegintsev wrote: Hi Alexander, resending the same webrev under the new ID https://bugs.openjdk.java.net/browse/JDK-8143227 http://cr.openjdk.java.net/~azvegint/jdk/9/8143227/00/ The approach is pretty the same as

Re: Review-request for 8143227: Platform-Specific Desktop Features

2015-11-18 Thread Alexander Zvegintsev
/to/jdk9/java -Djava.desktop.appName=SomeApp.desktop Snip Terminal=false Type=Application After that you can run it from dash with specified name. -- Thanks, Alexander. On 11/18/2015 02:52 PM, Alexander Scherbatiy wrote: On 11/18/2015 10:12 AM, Alexander Zvegintsev wrote: Hello please review

Review-request for 8048731: JEP 272: Platform-Specific Desktop Features

2015-11-17 Thread Alexander Zvegintsev
Hello please review the fix http://cr.openjdk.java.net/~azvegint/jdk/9/8048731/ for https://bugs.openjdk.java.net/browse/JDK-8048731 This fix provides public support Mac OS X features(com.apple.{eawt,eio}), adds support for various desktop features such as progress indication, dock overlays, d

Re: JDK9 Review Request for 8037575: JFrame on Windows doesn't animate when setting ICONIFIED state

2015-11-15 Thread Alexander Zvegintsev
: Alexander Scherbatiy Sent: 11 November 2015 19:57 To: Rajeev Chamyal Cc: Sergey Bylokhov; Alexander Zvegintsev; awt-dev@openjdk.java.net Subject: Re: JDK9 Review Request for 8037575: JFrame on Windows doesn't animate when setting ICONIFIED state The fix looks good to me. T

Re: [9] Review Request for 8081457: TrayIcon tests fail in OEL 7 only

2015-10-28 Thread Alexander Zvegintsev
The fix looks good to me. Thanks, Alexander. On 10/28/2015 03:01 PM, Semyon Sadetsky wrote: On 10/14/2015 3:50 PM, Alexander Zvegintsev wrote: Hi Semyon, As I can see there are a lot similar checks in tests for OEL7, ideally it should be checked against gnome-shell(probably from

Re: [9] Review Request for 8036915: setLocationRelativeTo stopped working in Ubuntu 13.10 (Unity)

2015-10-28 Thread Alexander Zvegintsev
Looks good to me. Thanks, Alexander. On 10/06/2015 09:15 AM, Semyon Sadetsky wrote: Sorry. I meant it is not guaranteed to be sent by every WM. On 10/6/2015 9:03 AM, Semyon Sadetsky wrote: In is extended event. In does not guaranteed to be sent by any WM. On 10/5/2015 6:12 PM, Sergey Bylokh

Re: [9] Review Request: 8011541 [TEST_BUG] closed/javax/swing/plaf/metal/MetalUtils/bug6190373.java fails NPE since 7u25b03

2015-10-21 Thread Alexander Zvegintsev
looks fine to me. -- Thanks, Alexander. On 10/21/2015 07:32 PM, Sergey Bylokhov wrote: Hello. Please review the fix for jdk9. The test emulate implementation of two applets inside one vm. It has two threads in two different threads groups, for one of them it creates an appcontext, and the te

Re: [9] Review Request for 8081457: TrayIcon tests fail in OEL 7 only

2015-10-14 Thread Alexander Zvegintsev
Hi Semyon, As I can see there are a lot similar checks in tests for OEL7, ideally it should be checked against gnome-shell(probably from DESKTOP_SESSION env variable, or check for running gnome-shell process), but I am OK with the current check. Could you please extract this check to some he

Re: [9] Review Request for 8022334: After calling frame.toBack() dialog goes to the back on Ubuntu 12.04

2015-09-30 Thread Alexander Zvegintsev
The fix looks good to me. Thanks, Alexander. On 09/29/2015 08:51 PM, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https://bugs.openjdk.java.net/browse/JDK-8022334 webrev: http://cr.openjdk.java.net/~ssadetsky/8022334/webrev.00/ The Unity WM cannot switch top-level windows

Re: Review Request for JDK-8040322 : TextArea.replaceRange() and insert() are broken with setText(null)

2015-09-30 Thread Alexander Zvegintsev
Looks fine to me too. Thanks, Alexander. On 09/28/2015 02:11 PM, Ambarish Rapte wrote: Hi Sergey, Thanks for the review. Executed regression tests for TextArea, TextField & also other tests which use any of the TextArea, TextField or TextComponent. => There are NO fail

Re: JEP 272: Platform-Specific Desktop Features

2015-09-30 Thread Alexander Zvegintsev
Hi Anthony, Thank you for your feedback! It seems correct and appropriate to me, so I'll incorporate your suggestions into the JEP. Thanks, Alexander. On 09/27/2015 09:42 AM, Anthony Vanelverdinghe wrote: Hi I have a few questions/comments about the proposed API: - why not add a class java

Re: [9] Review Request: 8134732 [TEST_BUG] Test java/awt/applet/Applet/AppletFlipBuffer.java fails on Windows with AWTException

2015-09-30 Thread Alexander Zvegintsev
Looks good to me. Thanks, Alexander. On 09/24/2015 10:55 PM, Sergey Bylokhov wrote: Hello. Please review the fix for jdk9. The test for JDK-8130390 (which fixed an unspecified ClassCastException) doesn't take into account that the createBufferStrategy() method can throw the specified excep

Re: RFR: JDK-8134808 Remove support for serialized applets from java.desktop

2015-09-15 Thread Alexander Zvegintsev
+1 -- Thanks, Alexander. On 15.09.2015 14:31, Sergey Bylokhov wrote: Looks fine. 14.09.2015 22:12, Daniil Titov wrote: Hello, Please review java.desktop part of the changes for jdk9 that remove the support for serialized applets. Support for serialized applets was added in JDK 1.1 to allow

Re: < AWT- Dev> [9] Review Request:JDK-8136354 [TEST_BUG]Test java/awt/image/RescaleOp/RescaleAlphaTest.java with Bad action for script

2015-09-11 Thread Alexander Zvegintsev
looks fine Thanks, Alexander. On 09/11/2015 01:09 PM, pooja chopra wrote: Hello, Please review a fix for issue :- 8136354 [TEST_BUG]Test java/awt/image/RescaleOp/RescaleAlphaTest.java with Bad action for script Test bug fix. https://bugs.openjdk.java.net/browse/JDK-8136354 The webrev is :

Re: [9] Review Request for 8014725: closed/java/awt/Clipboard/HTMLTransferTest/HTMLTransferTest.html failed intermittently

2015-09-04 Thread Alexander Zvegintsev
+1 Thanks, Alexander. On 09/04/2015 05:43 PM, Alexander Scherbatiy wrote: The fix looks good to me. Thanks, Alexandr. On 9/3/2015 4:21 PM, Semyon Sadetsky wrote: Alexanders? Any questions? On 8/5/2015 3:11 PM, Semyon Sadetsky wrote: Hello, Please review fix for JDK9: bug: https:/

Re: [9] Review request for 8133453 Remove AWTKeyStroke.registerSubclass(Class) method

2015-09-01 Thread Alexander Zvegintsev
+1 -- Thanks, Alexander. On 01.09.2015 16:39, Sergey Bylokhov wrote: Looks fine to me. On 01.09.15 13:49, Alexander Scherbatiy wrote: Hello, Could you review the fix: bug: https://bugs.openjdk.java.net/browse/JDK-8133453 webrev: http://cr.openjdk.java.net/~alexsch/8133453/webrev.00

<    1   2   3   4   5   >