Re: RFR: 8335267: [XWayland] move screencast tokens from .awt to .java folder

2024-07-25 Thread Alexander Zvegintsev
On Thu, 25 Jul 2024 14:43:27 GMT, Alexey Ushakov wrote: >> Trivial fix to move the screencast token storage file from >> `~/.awt/robot/screencast-tokens.properties` to >> `~/.java/robot/screencast-tokens.properties`, where it should be. >> Old location is still valid and will only be used if

RFR: 8335267: [XWayland] move screencast tokens from .awt to .java folder

2024-07-18 Thread Alexander Zvegintsev
Trivial fix to move the screencast token storage file from `~/.awt/robot/screencast-tokens.properties` to `~/.java/robot/screencast-tokens.properties`, where it should be. Old location is still valid and will only be used if there is a file in the old location and the new location does not have

Re: RFR: 8334170: bug6492108.java test failed with exception Image comparison failed at (0, 0) for image 4

2024-06-19 Thread Alexander Zvegintsev
On Wed, 19 Jun 2024 08:38:33 GMT, Abhishek Kumar wrote: > Test failed intermittently on Ubuntu 20.04, Ubuntu 22.04 system. Added a > delay to stable the test and multiple run in CI is Ok. Link is added in JBS. Marked as reviewed by azvegint (Reviewer). - PR Review:

Re: RFR: 8334170: bug6492108.java test failed with exception Image comparison failed at (0, 0) for image 4

2024-06-19 Thread Alexander Zvegintsev
On Wed, 19 Jun 2024 11:15:54 GMT, Abhishek Kumar wrote: >> test/jdk/com/sun/java/swing/plaf/gtk/bug6492108.java line 113: >> >>> 111: } >>> 112: setDelay(50); >>> 113: return panel; >> >> How does it help? You're delaying EDT. >> >> You should rather call >>

Integrated: 8280990: [XWayland] XTest emulated mouse click does not bring window to front

2024-06-03 Thread Alexander Zvegintsev
On Tue, 28 May 2024 02:25:46 GMT, Alexander Zvegintsev wrote: > Some of the modal tests fail in X11 compatibility mode on Wayland, because a > mouse click emulated with XTEST does not not cause the windows to be > reordered. > > This is a known limitation because these

Re: RFR: 8280990: [XWayland] XTest emulated mouse click does not bring window to front

2024-06-01 Thread Alexander Zvegintsev
On Sat, 1 Jun 2024 09:20:28 GMT, lawrence.andrews wrote: > According to > https://docs.oracle.com/en/java/javase/22/docs/api/java.desktop/java/awt/Window.html#toFront() > some platforms does not support toFront() , how are we handling this case ? AFAIK, we do not test on such platforms/window

Re: RFR: 8325435: [macos] Menu or JPopupMenu not closed when main window is resized [v2]

2024-05-31 Thread Alexander Zvegintsev
On Fri, 31 May 2024 12:24:42 GMT, Prasanta Sadhukhan wrote: >> Issue is in macosx, when a JMenu or JPopupmenu is opened and then window is >> resized from the lower right corner, then the Menu / JPopupmenu stays open >> unlike in native osx apps like Notes, Mail etc.. >> >> This is because

Re: RFR: 8280990: [XWayland] XTest emulated mouse click does not bring window to front

2024-05-31 Thread Alexander Zvegintsev
On Fri, 31 May 2024 12:01:22 GMT, Prasanta Sadhukhan wrote: > WIll it be a problem if we use toFront for the frame anyways? We have seen > and done tofront() for many tests where the frame gets obscured by some other > window so mouseclicks was not on desired area For this set of tests, yes,

Re: RFR: 8280990: [XWayland] XTest emulated mouse click does not bring window to front

2024-05-31 Thread Alexander Zvegintsev
On Tue, 28 May 2024 02:25:46 GMT, Alexander Zvegintsev wrote: > Some of the modal tests fail in X11 compatibility mode on Wayland, because a > mouse click emulated with XTEST does not not cause the windows to be > reordered. > > This is a known limitation because these

Re: RFR: 8325435: [macos] Menu or JPopupMenu not closed when main window is resized

2024-05-31 Thread Alexander Zvegintsev
On Thu, 30 May 2024 12:05:25 GMT, Prasanta Sadhukhan wrote: > Issue is in macosx, when a JMenu or JPopupmenu is opened and then window is > resized from the lower right corner, then the Menu / JPopupmenu stays open > unlike in native osx apps like Notes, Mail etc.. > > This is because when

Integrated: 8327401: Some jtreg tests fail on Wayland without any tracking bug

2024-05-30 Thread Alexander Zvegintsev
On Wed, 22 May 2024 02:25:14 GMT, Alexander Zvegintsev wrote: > These changes are intended to stabilize testing on Wayland in X11 > compatibility mode. > > > > Many tests may fail if there is no `robot.delay()` call after > `robot.waitForIdle()` (right afte

Re: RFR: 8327401: Some jtreg tests fail on Wayland without any tracking bug [v3]

2024-05-29 Thread Alexander Zvegintsev
gular X11 server does. > > > > For some tests it is critical to call AWT code on EDT(it prevents NPE): > java/awt/List/KeyEventsTest/KeyEventsTest.java > java/awt/Paint/ListRepaint.java > > > > Some other explanations can be found inline in the comments for a

Re: RFR: 8280990: [XWayland] XTest emulated mouse click does not bring window to front.

2024-05-27 Thread Alexander Zvegintsev
On Tue, 28 May 2024 02:25:46 GMT, Alexander Zvegintsev wrote: > Some of the modal tests fail in X11 compatibility mode on Wayland, because a > mouse click emulated with XTEST does not not cause the windows to be > reordered. > > This is a known limitation because these

RFR: 8280990: [XWayland] XTest emulated mouse click does not bring window to front.

2024-05-27 Thread Alexander Zvegintsev
Some of the modal tests fail in X11 compatibility mode on Wayland, because a mouse click emulated with XTEST does not not cause the windows to be reordered. This is a known limitation because these click events do not leave the XWayland server and are not reported to the Wayland compositor.

Re: RFR: 8327401: Some jtreg tests fail on Wayland without any tracking bug [v2]

2024-05-22 Thread Alexander Zvegintsev
On Wed, 22 May 2024 20:51:05 GMT, Phil Race wrote: >> Alexander Zvegintsev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> typo > > test/jdk/javax/swing/JButton/PressedButtonRightClickTest.java line 97: >

Re: RFR: 8327401: Some jtreg tests fail on Wayland without any tracking bug [v2]

2024-05-22 Thread Alexander Zvegintsev
On Wed, 22 May 2024 20:49:44 GMT, Phil Race wrote: >> test/jdk/java/awt/TrayIcon/TrayIconPopup/TrayIconPopupTest.java line 48: >> >>> 46: boolean actionPerformed = false; >>> 47: Object actionLock = new Object(); >>> 48: static final int ATTEMPTS = 10; >> >> Each attempt sleeps for

Re: RFR: 8327401: Some jtreg tests fail on Wayland without any tracking bug [v2]

2024-05-22 Thread Alexander Zvegintsev
gular X11 server does. > > > > For some tests it is critical to call AWT code on EDT(it prevents NPE): > java/awt/List/KeyEventsTest/KeyEventsTest.java > java/awt/Paint/ListRepaint.java > > > > Some other explanations can be found inline in the comments for a

Re: RFR: 8327401: Some jtreg tests fail on Wayland without any tracking bug

2024-05-21 Thread Alexander Zvegintsev
On Wed, 22 May 2024 02:25:14 GMT, Alexander Zvegintsev wrote: > These changes are intended to stabilize testing on Wayland in X11 > compatibility mode. > > > > Many tests may fail if there is no `robot.delay()` call after > `robot.waitForIdle()` (right afte

RFR: 8327401: Some jtreg tests fail on Wayland without any tracking bug

2024-05-21 Thread Alexander Zvegintsev
These changes are intended to stabilize testing on Wayland in X11 compatibility mode. Many tests may fail if there is no `robot.delay()` call after `robot.waitForIdle()` (right after displaying a window). Some tests do not release previously pressed mouse button/key, this leads to other

Integrated: 8280988: [XWayland] Click on title to request focus test failures

2024-05-02 Thread Alexander Zvegintsev
On Mon, 29 Apr 2024 10:44:37 GMT, Alexander Zvegintsev wrote: > Some tests try to get the focus of a window by clicking on its title bar. > > On XWayland, however, emulating mouse clicks with XTEST currently only > affects the XWayland server, not the window decorations, so try

Re: RFR: JDK-8329692 : Add more details to FrameStateTest.java test instructions [v6]

2024-05-02 Thread Alexander Zvegintsev
On Tue, 30 Apr 2024 20:38:06 GMT, Harshitha Onkar wrote: >> For the following manual test, more instructions are added as to what to >> expect for "hide,iconify and show" vs "hide,iconify,show and restore" for >> clarity. > > Harshitha Onkar has updated the pull request incrementally with one

Re: RFR: 8280988: [XWayland] Click on title to request focus test failures [v3]

2024-05-02 Thread Alexander Zvegintsev
> So the solution is to click inside the window or call `toFront()` to get the > window focused. > > Some tests have issues with AWT/Swing calls not being on EDT, it is not the > goal of this change to fix them as they require way too many code changes, > and make this PR hard

Re: RFR: 8280988: [XWayland] Click on title to request focus test failures [v2]

2024-05-02 Thread Alexander Zvegintsev
On Wed, 1 May 2024 22:44:41 GMT, Sergey Bylokhov wrote: >> Do we really need an additional click on the title in this case? >> Just `toFront` should be enough on all platforms. > > `toFront()` is known to be broken on some versions of metacity/gnome, not > sure it was fixed or not, that was a

Integrated: 8331011: [XWayland] TokenStorage fails under Security Manager

2024-05-02 Thread Alexander Zvegintsev
On Thu, 25 Apr 2024 11:52:35 GMT, Alexander Zvegintsev wrote: > This fix adds missing doPrivileged calls in TokenStorage, which is used to > help take screenshots in Wayland. This pull request has now been integrated. Changeset: 9912abf5 Author:Alexander Zvegintsev URL:

Re: RFR: 8328999: Update GIFlib to 5.2.2

2024-04-30 Thread Alexander Zvegintsev
On Tue, 30 Apr 2024 18:46:51 GMT, Alisen Chung wrote: >> The GIFLIB version 5.2.2 adds the `ifndef` wrap, and it is no longer the >> "JDK modification", so it looks like our comment can be removed > > does this also apply for the other JDK modification for old compilers as well? Regarding the

Re: RFR: 8280988: [XWayland] Click on title to request focus test failures [v2]

2024-04-30 Thread Alexander Zvegintsev
On Tue, 30 Apr 2024 05:47:05 GMT, Sergey Bylokhov wrote: >> Alexander Zvegintsev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > test/jdk/java/awt/Focus/6981400/

Re: RFR: 8331011: [XWayland] TokenStorage fails under Security Manager [v2]

2024-04-30 Thread Alexander Zvegintsev
On Tue, 30 Apr 2024 05:54:03 GMT, Sergey Bylokhov wrote: > How hard is it to create a new test for this issue? The issue was discovered by failing a closed test that you wrote some time ago. - PR Comment: https://git.openjdk.org/jdk/pull/18950#issuecomment-2084631823

Re: RFR: 8280988: [XWayland] Click on title to request focus test failures [v2]

2024-04-29 Thread Alexander Zvegintsev
On Tue, 30 Apr 2024 02:02:30 GMT, Alexander Zvegintsev wrote: >> Some tests try to get the focus of a window by clicking on its title bar. >> >> On XWayland, however, emulating mouse clicks with XTEST currently only >> affects the XWayland server, not the windo

Re: RFR: 8280988: [XWayland] Click on title to request focus test failures [v2]

2024-04-29 Thread Alexander Zvegintsev
On Mon, 29 Apr 2024 21:08:28 GMT, Harshitha Onkar wrote: >> Alexander Zvegintsev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> review comments > > test/jdk/java/awt/regtesthelpers/Util.java line

Re: RFR: 8280988: [XWayland] Click on title to request focus test failures [v2]

2024-04-29 Thread Alexander Zvegintsev
> So the solution is to click inside the window or call `toFront()` to get the > window focused. > > Some tests have issues with AWT/Swing calls not being on EDT, it is not the > goal of this change to fix them as they require way too many code changes, > and make this PR hard

Re: RFR: 8328999: Update GIFlib to 5.2.2

2024-04-29 Thread Alexander Zvegintsev
On Fri, 26 Apr 2024 22:02:38 GMT, Phil Race wrote: >> Updating giflib, clientlibs tests are green on all platforms > > src/java.desktop/share/native/libsplashscreen/giflib/gif_hash.h line 40: > >> 38: #include >> 39: #endif >> 40: /** End JDK modifications to support building on Windows **/ >

Re: RFR: 8280988: [XWayland] Click on title to request focus test failures

2024-04-29 Thread Alexander Zvegintsev
On Mon, 29 Apr 2024 10:44:37 GMT, Alexander Zvegintsev wrote: > Some tests try to get the focus of a window by clicking on its title bar. > > On XWayland, however, emulating mouse clicks with XTEST currently only > affects the XWayland server, not the window decorations, so try

RFR: 8280988: [XWayland] Click on title to request focus test failures

2024-04-29 Thread Alexander Zvegintsev
Some tests try to get the focus of a window by clicking on its title bar. On XWayland, however, emulating mouse clicks with XTEST currently only affects the XWayland server, not the window decorations, so trying to click on the window title will have no effect. So the solution is to click

Re: RFR: 8331011: [XWayland] TokenStorage fails under Security Manager [v2]

2024-04-25 Thread Alexander Zvegintsev
> This fix adds missing doPrivileged calls in TokenStorage, which is used to > help take screenshots in Wayland. Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision: fix copyright years - Changes: - all:

RFR: 8331011: [XWayland] TokenStorage fails under Security Manager

2024-04-25 Thread Alexander Zvegintsev
This fix adds missing doPrivileged calls in TokenStorage, which is used to help take screenshots in Wayland. - Commit messages: - initial Changes: https://git.openjdk.org/jdk/pull/18950/files Webrev: https://webrevs.openjdk.org/?repo=jdk=18950=00 Issue:

Integrated: 8328562: Convert java/awt/InputMethods/DiacriticsTest/DiacriticsTest.java applet test to main

2024-03-25 Thread Alexander Zvegintsev
On Wed, 20 Mar 2024 03:09:32 GMT, Alexander Zvegintsev wrote: > Test converted to main. > Instructions split to Windows and Linux, with some clarifications. > The test runs successfully on Windows and Linux. This pull request has now been integrated. Changeset: fb8f2a0a Author:

Re: RFR: 8328403: Remove applet usage from JColorChooser tests Test6977726 [v3]

2024-03-25 Thread Alexander Zvegintsev
On Mon, 25 Mar 2024 16:55:35 GMT, Alisen Chung wrote: >> Removing applet usage from manual JColorChooser tests > > Alisen Chung has updated the pull request incrementally with one additional > commit since the last revision: > > test instructions

Integrated: 8328697: SubMenuShowTest and SwallowKeyEvents tests stabilization

2024-03-22 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 13:02:29 GMT, Alexander Zvegintsev wrote: > Two tests may fail intermittently on Wayland, the standard `waitForIdle` and > `delay` fixes the issue. > > Manual and CI testing looks good. This pull request has now been integrated. Changeset: 638708ca Author:

Re: RFR: 8328697: SubMenuShowTest and SwallowKeyEvents tests stabilization [v3]

2024-03-22 Thread Alexander Zvegintsev
> Two tests may fail intermittently on Wayland, the standard `waitForIdle` and > `delay` fixes the issue. > > Manual and CI testing looks good. Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision: Add @require

Re: RFR: 8328382: Convert java/awt/FileDialog/FileDialogForPackages test to main [v3]

2024-03-22 Thread Alexander Zvegintsev
On Fri, 22 Mar 2024 05:15:38 GMT, Alexander Zuev wrote: >> Convert test to a main based; >> Move test to an appropriate folder; >> Remove old files; > > Alexander Zuev has updated the pull request incrementally with one additional > commit since the last revision: > > Got rid of the test

Re: RFR: 8328382: Convert java/awt/FileDialog/FileDialogForPackages test to main [v2]

2024-03-21 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 16:17:33 GMT, Prasanta Sadhukhan wrote: >> Alexander Zuev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Adding library and build clauses > > test/jdk/java/awt/FileDialog/FileDialogForPackages.java line 59: > >>

Re: RFR: JDK-8328398 : Convert java/awt/im/4490692/bug4490692.html applet test to main [v4]

2024-03-21 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 18:13:41 GMT, Alisen Chung wrote: >> Harshitha Onkar has updated the pull request incrementally with one >> additional commit since the last revision: >> >> minor jtreg tag change > > test/jdk/java/awt/im/bug4490692.java line 115: > >> 113: return panel; >> 114:

Re: RFR: JDK-8328398 : Convert java/awt/im/4490692/bug4490692.html applet test to main [v2]

2024-03-21 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 17:33:22 GMT, Harshitha Onkar wrote: >> test/jdk/java/awt/im/bug4490692.java line 95: >> >>> 93: @Override >>> 94: public void keyPressed(KeyEvent e) { >>> 95: if (e.getKeyCode() == 23 || e.getKeyCode() == 60) { >> >>> CASE 2: This step is automated and

Re: RFR: JDK-8328398 : Convert java/awt/im/4490692/bug4490692.html applet test to main [v4]

2024-03-21 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 17:52:34 GMT, Harshitha Onkar wrote: >> Following test is converted from applet to main using PassFailJFrame. >> >> The original test had ignore tag - **The fix for this problem was backed out >> for 5057184. Remove this "ignore" tag when it is fixed again.** >> I believe

Re: RFR: 8328368: Convert java/awt/image/multiresolution/MultiDisplayTest/MultiDisplayTest.java applet test to main [v2]

2024-03-21 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 16:51:36 GMT, Damon Nguyen wrote: >> Convert >> java/awt/image/multiresolution/MultiDisplayTest/MultiDisplayTest.java applet >> test to main using PassFailJFrame > > Damon Nguyen has updated the pull request incrementally with one additional > commit since the last

Re: RFR: 8328384: Convert java/awt/FileDialog/FileDialogOpenDirTest test to main [v4]

2024-03-21 Thread Alexander Zvegintsev
On Wed, 20 Mar 2024 15:48:41 GMT, Alexander Zuev wrote: >> Convert test to main manual; >> Move test to appropriate folder; >> Delete old files; > > Alexander Zuev has updated the pull request incrementally with one additional > commit since the last revision: > > Moving test metadata closer

Integrated: 8328402: Implement pausing functionality for the PassFailJFrame

2024-03-21 Thread Alexander Zvegintsev
On Tue, 19 Mar 2024 01:14:29 GMT, Alexander Zvegintsev wrote: >> we need to add next to Pass/Fail a "Pause Timer" button, that > (a) stops the count down > (b) changes the Pause Timer to "Resume Timer" > ~~(c) disables Pass/Fail until the timer is resumed~

Re: RFR: 8328697: SubMenuShowTest and SwallowKeyEvents tests stabilization

2024-03-21 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 14:25:36 GMT, Alexander Zuev wrote: > Since you are editing these files you can also drop the @author tag from the > test metadata. Otherwise looks good. Sure, author removed ../../../regtesthelpers -> /java/awt/regtesthelpers, moved whole block closer to class

Re: RFR: 8328697: SubMenuShowTest and SwallowKeyEvents tests stabilization [v2]

2024-03-21 Thread Alexander Zvegintsev
> Two tests may fail intermittently on Wayland, the standard `waitForIdle` and > `delay` fixes the issue. > > Manual and CI testing looks good. Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision: au

Re: RFR: 8328368: Convert java/awt/image/multiresolution/MultiDisplayTest/MultiDisplayTest.java applet test to main

2024-03-21 Thread Alexander Zvegintsev
On Mon, 18 Mar 2024 17:31:07 GMT, Damon Nguyen wrote: > Convert java/awt/image/multiresolution/MultiDisplayTest/MultiDisplayTest.java > applet test to main using PassFailJFrame test/jdk/java/awt/image/multiresolution/MultiDisplayTest.java line 33: > 31: * on HiDPI + non-HiDPI display

Re: RFR: 8328403: Remove applet usage from JColorChooser tests Test6977726 [v2]

2024-03-21 Thread Alexander Zvegintsev
On Wed, 20 Mar 2024 18:02:37 GMT, Alisen Chung wrote: >> Removing applet usage from manual JColorChooser tests > > Alisen Chung has updated the pull request incrementally with one additional > commit since the last revision: > > spacing test/jdk/javax/swing/JColorChooser/Test6977726.java

Re: RFR: 8328642: Convert applet test MouseDraggedOutCauseScrollingTest.html to main

2024-03-21 Thread Alexander Zvegintsev
On Wed, 20 Mar 2024 21:33:04 GMT, Phil Race wrote: > Converts > java/awt/List/MouseDraggedOutCauseScrollingTest/MouseDraggedOutCauseScrollingTest.html > to a main program. Marked as reviewed by azvegint (Reviewer).

Integrated: 8328631: Convert java/awt/InputMethods/InputMethodsTest/InputMethodsTest.java applet test to manual

2024-03-21 Thread Alexander Zvegintsev
On Wed, 20 Mar 2024 21:02:02 GMT, Alexander Zvegintsev wrote: > Test converted to main. Tested on Linux with Japanese ibus-anthy input method. This pull request has now been integrated. Changeset: 43080173 Author: Alexander Zvegintsev URL: https://git.openjdk.org/jdk/com

Re: RFR: 8328402: Implement pausing functionality for the PassFailJFrame [v2]

2024-03-21 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 11:56:46 GMT, Alexey Ivanov wrote: >>> I wonder if it's the default focus owner? >> >> It is(e.g. with `setFocusPainted(true)`): >> ![image](https://github.com/openjdk/jdk/assets/77687766/b47e9011-c47d-437d-b9b0-0e4ac88a5c6f) >> >>> Should we request focus to Pass instead?

Integrated: 8328401: Convert java/awt/Frame/InitialMaximizedTest/InitialMaximizedTest.html applet test to automated

2024-03-21 Thread Alexander Zvegintsev
On Mon, 18 Mar 2024 23:46:34 GMT, Alexander Zvegintsev wrote: > The test converted to automated, CI and manual testing looks good on all > platforms. This pull request has now been integrated. Changeset: 700d2b91 Author:Alexander Zvegintsev URL: https://git.openjdk.org/jdk/

RFR: 8328697: SubMenuShowTest and SwallowKeyEvents tests stabilization

2024-03-21 Thread Alexander Zvegintsev
Two tests may fail intermittently on Wayland, the standard `waitForIdle` and `delay` fixes the issue. Manual and CI testing looks good. - Commit messages: - initial Changes: https://git.openjdk.org/jdk/pull/18431/files Webrev: https://webrevs.openjdk.org/?repo=jdk=18431=00

Re: RFR: JDK-8328398 : Convert java/awt/im/4490692/bug4490692.html applet test to main [v2]

2024-03-21 Thread Alexander Zvegintsev
On Wed, 20 Mar 2024 16:59:47 GMT, Harshitha Onkar wrote: >> Following test is converted from applet to main using PassFailJFrame. >> >> The original test had ignore tag - **The fix for this problem was backed out >> for 5057184. Remove this "ignore" tag when it is fixed again.** >> I believe

Re: RFR: 8328562: Convert java/awt/InputMethods/DiacriticsTest/DiacriticsTest.java applet test to main [v2]

2024-03-21 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 10:35:19 GMT, Tejesh R wrote: >> Alexander Zvegintsev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> minor spacing > > test/jdk/java/awt/InputMethods/DiacriticsTest/DiacriticsTest.

Re: RFR: 8328560: java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.java imports Applet [v3]

2024-03-21 Thread Alexander Zvegintsev
On Wed, 20 Mar 2024 23:45:31 GMT, Phil Race wrote: >> This seems to have been some previous not very complete conversion of a test >> from applet to main. >> It even still had Applet imported and miscellaneous comments. I've cleaned >> it up. > > Phil Race has updated the pull request

Re: RFR: 8328402: Implement pausing functionality for the PassFailJFrame [v2]

2024-03-21 Thread Alexander Zvegintsev
On Thu, 21 Mar 2024 11:16:29 GMT, Alexey Ivanov wrote: > I wonder if it's the default focus owner? It is(e.g. with `setFocusPainted(true)`): ![image](https://github.com/openjdk/jdk/assets/77687766/b47e9011-c47d-437d-b9b0-0e4ac88a5c6f) > Should we request focus to Pass instead? Probably not,

Re: RFR: 8328402: Implement pausing functionality for the PassFailJFrame [v3]

2024-03-21 Thread Alexander Zvegintsev
t; > > Example screenshots: > > ![image](https://github.com/openjdk/jdk/assets/77687766/65d34bf8-1e46-4e68-b39e-a77f257ec3c0) > ![image](https://github.com/openjdk/jdk/assets/77687766/3a43e059-2d48-46f3-9d1b-c2ab84fcce37) Alexander Zvegintsev has updated the p

Re: RFR: 8328562: Convert java/awt/InputMethods/DiacriticsTest/DiacriticsTest.java applet test to main [v2]

2024-03-21 Thread Alexander Zvegintsev
> Test converted to main. > Instructions split to Windows and Linux, with some clarifications. > The test runs successfully on Windows and Linux. Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision: mino

RFR: 8328631: Convert java/awt/InputMethods/InputMethodsTest/InputMethodsTest.java applet test to manual

2024-03-20 Thread Alexander Zvegintsev
Test converted to main. Tested on Linux with Japanese ibus-anthy input method. - Commit messages: - initial Changes: https://git.openjdk.org/jdk/pull/18412/files Webrev: https://webrevs.openjdk.org/?repo=jdk=18412=00 Issue: https://bugs.openjdk.org/browse/JDK-8328631 Stats:

Re: RFR: 8328402: Implement pausing functionality for the PassFailJFrame [v2]

2024-03-20 Thread Alexander Zvegintsev
On Wed, 20 Mar 2024 17:58:59 GMT, Alexey Ivanov wrote: > I would place the Pause button into the timeout panel at the top. Yet the > button is larger than the label. The font may be reduced, a symbol '⏸' > (U+23F8) and '⏵' (U+23F5) could be used (see [Media control >

Re: RFR: 8328402: Implement pausing functionality for the PassFailJFrame [v2]

2024-03-20 Thread Alexander Zvegintsev
t; > > Example screenshots: > > ![image](https://github.com/openjdk/jdk/assets/77687766/65d34bf8-1e46-4e68-b39e-a77f257ec3c0) > ![image](https://github.com/openjdk/jdk/assets/77687766/3a43e059-2d48-46f3-9d1b-c2ab84fcce37) Alexander Zvegintsev has updated the pull request increment

Re: RFR: 8328560: java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.java imports Applet [v2]

2024-03-20 Thread Alexander Zvegintsev
On Wed, 20 Mar 2024 17:27:44 GMT, Phil Race wrote: >> This seems to have been some previous not very complete conversion of a test >> from applet to main. >> It even still had Applet imported and miscellaneous comments. I've cleaned >> it up. > > Phil Race has updated the pull request

Integrated: 8328387: Convert java/awt/Frame/FrameStateTest/FrameStateTest.html applet test to main

2024-03-19 Thread Alexander Zvegintsev
On Mon, 18 Mar 2024 21:12:19 GMT, Alexander Zvegintsev wrote: > The test is converted to main and remains in the problem list, as the problem > is still valid on Linux and macos. > The test passes on Windows. > > * sleeps on EDT removed, replaced with the Swing timer

RFR: 8328562: Convert java/awt/InputMethods/DiacriticsTest/DiacriticsTest.java applet test to main

2024-03-19 Thread Alexander Zvegintsev
Test converted to main. Instructions split to Windows and Linux, with some clarifications. The test runs successfully on Windows and Linux. - Commit messages: - split instructions for Windows and Linux - initial Changes: https://git.openjdk.org/jdk/pull/18388/files Webrev:

Re: RFR: 8328560: java/awt/event/MouseEvent/ClickDuringKeypress/ClickDuringKeypress.java imports Applet

2024-03-19 Thread Alexander Zvegintsev
On Tue, 19 Mar 2024 23:30:39 GMT, Phil Race wrote: > This seems to have been some previous not very complete conversion of a test > from applet to main. > It even still had Applet imported and miscellaneous comments. I've cleaned it > up.

Re: RFR: 8328386: Convert java/awt/FileDialog/FileNameOverrideTest test to main [v3]

2024-03-19 Thread Alexander Zvegintsev
On Tue, 19 Mar 2024 20:49:36 GMT, Alexander Zuev wrote: >> Convert applet based test to a main based test; >> Move test to an apporpriate location; >> Remove old files; > > Alexander Zuev has updated the pull request incrementally with two additional > commits since the last revision: > > -

Re: RFR: 8328386: Convert java/awt/FileDialog/FileNameOverrideTest test to main

2024-03-19 Thread Alexander Zvegintsev
On Mon, 18 Mar 2024 21:00:36 GMT, Alexander Zuev wrote: > Convert applet based test to a main based test; > Move test to an apporpriate location; > Remove old files; test/jdk/java/awt/FileDialog/FileNameOverrideTest.java line 32: > 30: * @build PassFailJFrame > 31: * @run main/manual

Re: RFR: 8328401: Convert java/awt/Frame/InitialMaximizedTest/InitialMaximizedTest.html applet test to automated [v2]

2024-03-19 Thread Alexander Zvegintsev
On Tue, 19 Mar 2024 12:16:08 GMT, Abhishek Kumar wrote: >> Alexander Zvegintsev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> reduce delay > > test/jdk/java/awt/Frame/InitialMaximizedTest/InitialMaximized

Re: RFR: 8328401: Convert java/awt/Frame/InitialMaximizedTest/InitialMaximizedTest.html applet test to automated [v2]

2024-03-19 Thread Alexander Zvegintsev
> The test converted to automated, CI and manual testing looks good on all > platforms. Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision: reduce delay - Changes: - all: https://git.openjdk.org/jdk/pull

Re: RFR: 8328402: Implement pausing functionality for the PassFailJFrame

2024-03-18 Thread Alexander Zvegintsev
On Tue, 19 Mar 2024 01:14:29 GMT, Alexander Zvegintsev wrote: >> we need to add next to Pass/Fail a "Pause Timer" button, that > (a) stops the count down > (b) changes the Pause Timer to "Resume Timer" > ~~(c) disables Pass/Fail until the timer is resumed~

RFR: 8328402: Implement pausing functionality for the PassFailJFrame

2024-03-18 Thread Alexander Zvegintsev
> we need to add next to Pass/Fail a "Pause Timer" button, that (a) stops the count down (b) changes the Pause Timer to "Resume Timer" ~~(c) disables Pass/Fail until the timer is resumed~~ the test will not have to pause or be aware - only the PassFailJFrame machinery. ~~So the tester can do

Re: RFR: 8328387: Convert java/awt/Frame/FrameStateTest/FrameStateTest.html applet test to main

2024-03-18 Thread Alexander Zvegintsev
On Tue, 19 Mar 2024 00:20:17 GMT, Harshitha Onkar wrote: > Since the .html file is removed, the test file could be moved one level up. Yes, we can do that, but we already had a discussion that it makes it harder to do the review, since the github doesn't handle that moving well. It can be done

Re: RFR: 8328387: Convert java/awt/Frame/FrameStateTest/FrameStateTest.html applet test to main

2024-03-18 Thread Alexander Zvegintsev
On Tue, 19 Mar 2024 00:10:17 GMT, Harshitha Onkar wrote: >> The test is converted to main and remains in the problem list, as the >> problem is still valid on Linux and macos. >> The test passes on Windows. >> >> * sleeps on EDT removed, replaced with the Swing timer >> * Unnecessary

RFR: 8328401: Convert java/awt/Frame/InitialMaximizedTest/InitialMaximizedTest.html applet test to automated

2024-03-18 Thread Alexander Zvegintsev
The test converted to automated, CI and manual testing looks good on all platforms. - Commit messages: - 8328401: Convert java/awt/Frame/InitialMaximizedTest/InitialMaximizedTest.html applet test to automated Changes: https://git.openjdk.org/jdk/pull/18367/files Webrev:

RFR: 8328387: Convert java/awt/Frame/FrameStateTest/FrameStateTest.html applet test to main

2024-03-18 Thread Alexander Zvegintsev
The test is converted to main and remains in the problem list, as the problem is still valid on Linux and macos. The test passes on Windows. * sleeps on EDT removed, replaced with the Swing timer * Unnecessary ltemListener and variables removed. * Updated instructions with html for better

Re: RFR: 8328185: Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main [v3]

2024-03-18 Thread Alexander Zvegintsev
On Mon, 18 Mar 2024 18:35:23 GMT, Damon Nguyen wrote: >> Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to >> main using PassFailJFrame > > Damon Nguyen has updated the pull request incrementally with one additional > commit since the last revision: > > Review changes

Re: RFR: 8328185: Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main [v2]

2024-03-18 Thread Alexander Zvegintsev
On Mon, 18 Mar 2024 06:40:36 GMT, Damon Nguyen wrote: >> Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to >> main using PassFailJFrame > > Damon Nguyen has updated the pull request incrementally with one additional > commit since the last revision: > > Remove

Re: RFR: JDK-8328190 : Convert AWTPanelSmoothWheel.html applet test to main [v3]

2024-03-18 Thread Alexander Zvegintsev
On Sat, 16 Mar 2024 22:34:10 GMT, Harshitha Onkar wrote: >> This test is converted to main using PassFailJFrame. It verifies wheel >> rotation value for high-res mouse on windows. >> >> The test requires the updated PassFailJFrame's logArea() feature added in >> this PR

Re: RFR: JDK-8328190 : Convert AWTPanelSmoothWheel.html applet test to main [v3]

2024-03-18 Thread Alexander Zvegintsev
On Mon, 18 Mar 2024 12:25:24 GMT, Abhishek Kumar wrote: >> Harshitha Onkar has updated the pull request with a new target base due to a >> merge or a rebase. The incremental webrev excludes the unrelated changes >> brought in by the merge/rebase. The pull request contains 10 additional >>

Re: RFR: JDK-8328000 : Convert /java/awt/im/8154816/bug8154816.java applet test to main [v2]

2024-03-18 Thread Alexander Zvegintsev
On Wed, 13 Mar 2024 17:28:41 GMT, Harshitha Onkar wrote: >> The following InputMethod test, bug8154816.java is converted to main using >> PassFailJFrame. >> >> - test renamed to PinyinIMCapsTest >> - moved one directory above - /java/awt/im/ >> - html file deleted. >> >> PS: I tried to

Re: RFR: 8328242: Add a log area to the PassFailJFrame [v2]

2024-03-15 Thread Alexander Zvegintsev
On Fri, 15 Mar 2024 15:02:27 GMT, Alexey Ivanov wrote: >> I expected the label to be aligned to the left. For this to happen, the >> label may need to wrapped into another panel or horizontal box with added >> glue. >> >> >> >> Box logLabelBox = Box.createHorizontalBox(); >>

Re: RFR: 8328242: Add a log area to the PassFailJFrame [v2]

2024-03-15 Thread Alexander Zvegintsev
On Fri, 15 Mar 2024 13:16:39 GMT, Alexey Ivanov wrote: >> Alexander Zvegintsev has updated the pull request incrementally with two >> additional commits since the last revision: >> >> - Add logArea placeholder text >> - review comments > > test/jdk/java/aw

Re: RFR: 8328242: Add a log area to the PassFailJFrame [v2]

2024-03-15 Thread Alexander Zvegintsev
.instructions(INSTRUCTIONS) > .rows(20) > .columns(70) > .logArea() > .build() > .awaitAndCheck(); > > > > > //somewhere in event handlers: > PassFailJFrame.log("Very important messa

Re: RFR: 8328248: Convert javax/swing/JSlider/6587742/bug6587742.java applet test to main

2024-03-15 Thread Alexander Zvegintsev
On Fri, 15 Mar 2024 07:29:53 GMT, Abhishek Kumar wrote: > Conversion of manual applet test to main based using PassFailJFrame manual > framework Marked as reviewed by azvegint (Reviewer). test/jdk/javax/swing/JSlider/bug6587742.java line 30: > 28: * @build PassFailJFrame > 29: * @run

Re: RFR: 8328269: NonFocusablePopupMenuTest.java should be marked as headful

2024-03-15 Thread Alexander Zvegintsev
On Fri, 15 Mar 2024 12:07:49 GMT, Jie Fu wrote: > Please review this trivial change. > Thanks. Marked as reviewed by azvegint (Reviewer). - PR Review: https://git.openjdk.org/jdk/pull/18326#pullrequestreview-1938858286

Re: RFR: 8328269: NonFocusablePopupMenuTest.java should be marked as headful

2024-03-15 Thread Alexander Zvegintsev
On Fri, 15 Mar 2024 12:38:23 GMT, Alexander Zvegintsev wrote: >> Please review this trivial change. >> Thanks. > > Marked as reviewed by azvegint (Reviewer). > Thanks @azvegint for the review. Thank you for the fix - PR Comment: https://git.openj

Re: RFR: 8328185: Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main

2024-03-14 Thread Alexander Zvegintsev
On Thu, 14 Mar 2024 16:40:56 GMT, Damon Nguyen wrote: > Convert java/awt/image/MemoryLeakTest/MemoryLeakTest.java applet test to main > using PassFailJFrame test/jdk/java/awt/image/MemoryLeakTest/MemoryLeakTest.java line 67: > 65: .rows(15) > 66: .columns(40) > 67:

Re: RFR: 8203867: Delete test java/awt/TrayIcon/DblClickActionEventTest/DblClickActionEventTest.html

2024-03-14 Thread Alexander Zvegintsev
On Thu, 14 Mar 2024 19:36:53 GMT, Phil Race wrote: > This test draws the same tray icon, has similar instructions to, and is > subsumed by the related test DisposeInActionEventTest.java > And because this test has incomplete instructions not covering macOS it is > problem-listed. > The other

RFR: 8328242: Add a log area to the PassFailJFrame

2024-03-14 Thread Alexander Zvegintsev
Often manual tests have a text area in the instruction window to print feedback from the test to be evaluated by a tester. I stumbled across another test that needed this, so I decided to make these changes a standard feature. List of changes: * The log text area can be added below the `Pass`

Re: RFR: 8328242: Add a log area to the PassFailJFrame

2024-03-14 Thread Alexander Zvegintsev
On Fri, 15 Mar 2024 04:40:14 GMT, Alexander Zvegintsev wrote: > Often manual tests have a text area in the instruction window to print > feedback from the test to be evaluated by a tester. > I stumbled across another test that needed this, so I decided to make these > change

Integrated: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main

2024-03-14 Thread Alexander Zvegintsev
On Tue, 12 Mar 2024 19:28:45 GMT, Alexander Zvegintsev wrote: > The test is converted to main. > Tested on Linux, Macos and Windows. This pull request has now been integrated. Changeset: df909e2f Author:Alexander Zvegintsev URL: https://git.openjdk.org/jdk/

Re: RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v3]

2024-03-14 Thread Alexander Zvegintsev
On Thu, 14 Mar 2024 13:26:37 GMT, Alexey Ivanov wrote: >> Alexander Zvegintsev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> extract logFrameBounds, instructions update > > test/jdk/java/awt/Frame/Ge

Re: RFR: 8328011: Convert java/awt/Frame/GetBoundsResizeTest/GetBoundsResizeTest.java applet test to main [v4]

2024-03-14 Thread Alexander Zvegintsev
> The test is converted to main. > Tested on Linux, Macos and Windows. Alexander Zvegintsev has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contai

Integrated: 8328124: Convert java/awt/Frame/ShownOnPack/ShownOnPack.html applet test to main

2024-03-14 Thread Alexander Zvegintsev
On Wed, 13 Mar 2024 19:43:10 GMT, Alexander Zvegintsev wrote: > The test is converted to main. > Tested on Linux, Macos and Windows. This pull request has now been integrated. Changeset: 7cc1965a Author:Alexander Zvegintsev URL: https://git.openjdk.org/jdk/

Re: RFR: 8328124: Convert java/awt/Frame/ShownOnPack/ShownOnPack.html applet test to main [v2]

2024-03-14 Thread Alexander Zvegintsev
> The test is converted to main. > Tested on Linux, Macos and Windows. Alexander Zvegintsev has updated the pull request incrementally with one additional commit since the last revision: add empty line - Changes: - all: https://git.openjdk.org/jdk/pull/18287/files

Integrated: 8327835: Convert java/awt/FileDialog/RegexpFilterTest/RegexpFilterTest applet test to main

2024-03-14 Thread Alexander Zvegintsev
On Mon, 11 Mar 2024 17:29:50 GMT, Alexander Zvegintsev wrote: > The `java/awt/FileDialog/RegexpFilterTest/RegexpFilterTest` test is written > to test the very specific functionality of `XFileDialogPeer`, so it shouldn't > be run on platforms other than Linux. > > We a

  1   2   3   4   5   >