Re: RFR: 8324808 : Manual printer tests have no Pass/Fail buttons, instructions close set 3 [v8]

2024-02-22 Thread Renjith Kannath Pariyangad
> Hi Reviewers, > > Updated manual printer test cases with 'PassFailJFrame', also removed unused > variables. Added 'SkippedException' in case of printer missing or not > configured. > > Please review and let me know your suggestions. > > Regards, > Renjith Renjith Kannath Pariyangad has upda

Re: RFC: Smooth scrolling support in sun.awt.X11

2024-02-22 Thread Povilas Kanapickas
Hi Philip, Thanks for a quick response. I will reply inline. On 2024-02-23 06:11, Philip Race wrote: > First, thank you for raising it this way rather than submitting a PR ! > > In general things that compatibly and safely improve the user experience > are welcome. > > So at a high level, yes.

Re: RFC: Smooth scrolling support in sun.awt.X11

2024-02-22 Thread Philip Race
First, thank you for raising it this way rather than submitting a PR ! In general things that compatibly and safely improve the user experience are welcome. So at a high level, yes. So the next level is the details to think about it more ? How important is smooth scrolling ? I've never noti

Re: RFR: 8326458: Menu mnemonic doesn't toggle between show and hide in Windows LAF when F10 is pressed.

2024-02-22 Thread Prasanta Sadhukhan
On Thu, 22 Feb 2024 11:11:01 GMT, Abhishek Kumar wrote: > Menu mnemonic doesn't toggle between show and hide state when F10 is pressed. > Behavior is not similar to windows native application. Fix is to ensure that > menu mnemonic state toggles between show and hide. > > Can be verified with S

RFC: Smooth scrolling support in sun.awt.X11

2024-02-22 Thread Povilas Kanapickas
Hello, I would like to add smooth scrolling support to sun.awt.X11. At this point of time I already have this feature implemented. The code can be considered proof of concept right now, but it works and doesn't introduce regressions in all test scenarios I've done so far. Is this something that T

Re: RFR: 8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185 [v5]

2024-02-22 Thread Phil Race
On Thu, 22 Feb 2024 14:08:36 GMT, Christoph Langer wrote: > I think that's hard to find out. At least our regression testing did not show > issues. The change probably needs more testing. On the other hand, I think > the risk with that change is low since the environment that is addressed by >

Re: RFR: 8325097: [macos14] Test "java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.html" failed on macOS 14.3 aarch64 when double-click with the right button on the tray icon with m

2024-02-22 Thread Harshitha Onkar
On Tue, 20 Feb 2024 21:01:11 GMT, Alisen Chung wrote: >> Root cause of the test failure was fixed with >> https://bugs.openjdk.org/browse/JDK-8316931, updating this test since the >> other fix also included a test update. > > Alisen Chung has updated the pull request incrementally with one addi

Re: RFR: 8325097: [macos14] Test "java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.html" failed on macOS 14.3 aarch64 when double-click with the right button on the tray icon with m

2024-02-22 Thread Harshitha Onkar
On Thu, 22 Feb 2024 17:16:56 GMT, Alisen Chung wrote: >> test/jdk/java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.java >> line 89: >> >>> 87: frame.setVisible(true); >>> 88: >>> 89: System.setProperty("sun.awt.exception.handler\n", >> >> Why is there \n in

Re: RFR: 8325858: Replace Unsafe usage in XEmbeddingContainer with FFM API [v3]

2024-02-22 Thread Phil Race
On Thu, 22 Feb 2024 16:28:40 GMT, Per Minborg wrote: >> src/java.desktop/unix/classes/sun/awt/X11/XEmbeddingContainer.java line 150: >> >>> 148: } >>> 149: } finally { >>> 150: Reference.reachabilityFence(data); >> >> Can you explain the need for this

Re: RFR: 8325097: [macos14] Test "java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.html" failed on macOS 14.3 aarch64 when double-click with the right button on the tray icon with m

2024-02-22 Thread Alisen Chung
On Thu, 22 Feb 2024 16:55:17 GMT, Alexander Zuev wrote: >> Alisen Chung has updated the pull request incrementally with one additional >> commit since the last revision: >> >> update test strings and newlines, remove else > > test/jdk/java/awt/TrayIcon/DisposeInActionEventTest/DisposeInAction

Re: RFR: 8325097: [macos14] Test "java/awt/TrayIcon/DisposeInActionEventTest/DisposeInActionEventTest.html" failed on macOS 14.3 aarch64 when double-click with the right button on the tray icon with m

2024-02-22 Thread Alexander Zuev
On Tue, 20 Feb 2024 21:01:11 GMT, Alisen Chung wrote: >> Root cause of the test failure was fixed with >> https://bugs.openjdk.org/browse/JDK-8316931, updating this test since the >> other fix also included a test update. > > Alisen Chung has updated the pull request incrementally with one addi

Re: RFR: 8325858: Replace Unsafe usage in XEmbeddingContainer with FFM API [v3]

2024-02-22 Thread Per Minborg
On Wed, 21 Feb 2024 22:45:17 GMT, Brent Christian wrote: >> Per Minborg has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Suppress restricted warning > > src/java.desktop/unix/classes/sun/awt/X11/XEmbeddingContainer.java line 150: > >> 14

Re: RFR: 8233177: Remove testcase for JDK-8001470 as fix has been reverted [v3]

2024-02-22 Thread Prasanta Sadhukhan
On Fri, 16 Feb 2024 22:46:26 GMT, Phil Race wrote: > So if it is resolved as removing the test we'll have no open bug and no test > .. both for an as yet unresolved problem. > If this test is removed there needs to be a new bug with this test attached > as a test case I can create a new bug an

Re: RFR: 8185862: AWT Assertion Failure in ::GetDIBits(hBMDC, hBM, 0, 1, 0, gpBitmapInfo, 0) 'awt_Win32GraphicsDevice.cpp', at line 185 [v5]

2024-02-22 Thread Christoph Langer
On Fri, 16 Feb 2024 21:50:09 GMT, Phil Race wrote: > The first thing I worry about here is that the obvious implication is that we > can now have zero monitors. Even if the monitor were not usable, that seems > to have been "OK" in practice so long as we didn't assert out in a debug > build. H

Integrated: 8321192 : j.a.PrintJob/ImageTest/ImageTest.java: Fail or skip the test if there's no printer

2024-02-22 Thread Renjith Kannath Pariyangad
On Fri, 9 Feb 2024 14:59:06 GMT, Renjith Kannath Pariyangad wrote: > Hi Reviewers, > I have updated the test with 'PassFailJFrame' with programmatically > generating image and print , please review and let me know your suggestions. This pull request has now been integrated. Changeset: 724a2a2

Re: RFR: 8321192 : j.a.PrintJob/ImageTest/ImageTest.java: Fail or skip the test if there's no printer [v3]

2024-02-22 Thread Alexey Ivanov
On Thu, 22 Feb 2024 13:52:23 GMT, Renjith Kannath Pariyangad wrote: >> Hi Reviewers, >> I have updated the test with 'PassFailJFrame' with programmatically >> generating image and print , please review and let me know your suggestions. > > Renjith Kannath Pariyangad has updated the pull request

Re: RFR: 8321192 : j.a.PrintJob/ImageTest/ImageTest.java: Fail or skip the test if there's no printer [v3]

2024-02-22 Thread Renjith Kannath Pariyangad
> Hi Reviewers, > I have updated the test with 'PassFailJFrame' with programmatically > generating image and print , please review and let me know your suggestions. Renjith Kannath Pariyangad has updated the pull request incrementally with one additional commit since the last revision: Remove

Re: RFR: 8324807 : Manual printer tests have no Pass/Fail buttons, instructions close set 2 [v8]

2024-02-22 Thread Renjith Kannath Pariyangad
> Hi Reviewers, > > Updated manual printer test cases with 'PassFailJFrame', also removed unused > variables. Added 'SkippedException' in case of printer missing or not > configured. > > Please review and let me know your suggestions. > > Regards, > Renjith Renjith Kannath Pariyangad has upda

RFR: 8326458: Menu mnemonic doesn't toggle between show and hide in Windows LAF when F10 is pressed.

2024-02-22 Thread Abhishek Kumar
Menu mnemonic doesn't toggle between show and hide state when F10 is pressed. Behavior is not similar to windows native application. Fix is to ensure that menu mnemonic state toggles between show and hide. Can be verified with SwingSet2 application. CI tests are green with the fix. Link posted

Re: RFR: 8321192 : j.a.PrintJob/ImageTest/ImageTest.java: Fail or skip the test if there's no printer [v2]

2024-02-22 Thread Alexey Ivanov
On Thu, 15 Feb 2024 15:41:57 GMT, Alexey Ivanov wrote: >> Renjith Kannath Pariyangad has updated the pull request incrementally with >> one additional commit since the last revision: >> >> Replaced skipped exception with runtime exception > > test/jdk/java/awt/PrintJob/ImageTest/ImageTest.jav

Re: RFR: 8325858: Replace Unsafe usage in XEmbeddingContainer with FFM API [v3]

2024-02-22 Thread Per Minborg
On Wed, 14 Feb 2024 18:09:15 GMT, Per Minborg wrote: >> This PR proposes to remove the use of `Unsafe` in the class >> `XEmbeddingContainer ` and replace it with the supported FFM API. >> >> I tried to make this PR as small as possible while opening up for migration >> of other classes later o

Re: RFR: 8324808 : Manual printer tests have no Pass/Fail buttons, instructions close set 3 [v7]

2024-02-22 Thread Renjith Kannath Pariyangad
> Hi Reviewers, > > Updated manual printer test cases with 'PassFailJFrame', also removed unused > variables. Added 'SkippedException' in case of printer missing or not > configured. > > Please review and let me know your suggestions. > > Regards, > Renjith Renjith Kannath Pariyangad has upda

Re: RFR: 8324807 : Manual printer tests have no Pass/Fail buttons, instructions close set 2 [v7]

2024-02-22 Thread Renjith Kannath Pariyangad
> Hi Reviewers, > > Updated manual printer test cases with 'PassFailJFrame', also removed unused > variables. Added 'SkippedException' in case of printer missing or not > configured. > > Please review and let me know your suggestions. > > Regards, > Renjith Renjith Kannath Pariyangad has upda

Re: RFR: 8320676 : Manual printer tests have no Pass/Fail buttons, instructions close set 1 [v10]

2024-02-22 Thread Renjith Kannath Pariyangad
> Hi Reviewers, > > Updated manual printer test cases with 'PassFailJFrame', also removed unused > variables. Added 'SkippedException' in case of printer missing or not > configured. > > Please review and let me know your suggestions. > > Regards, > Renjith Renjith Kannath Pariyangad has upda

Withdrawn: JDK-8320405: [Windows Server 2016] java/awt/image/MultiResolutionImage/MultiResolutionImageObserverTest.java shows issues in awt_Win32GraphicsDevice.cpp

2024-02-22 Thread Matthias Baesken
On Thu, 28 Dec 2023 09:48:52 GMT, Matthias Baesken wrote: > When running with fastdebug binaries we run intermittent into the issue below > in > jtreg test > java/awt/image/MultiResolutionImage/MultiResolutionImageObserverTest.java . > Seems we miss checking of successful HBITMAP creation befor

Re: RFR: JDK-8326140: src/jdk.accessibility/windows/native/libjavaaccessbridge/AccessBridgeJavaEntryPoints.cpp ReleaseStringChars might be missing in early returns

2024-02-22 Thread Matthias Baesken
On Mon, 19 Feb 2024 13:04:47 GMT, Matthias Baesken wrote: > In AccessBridgeJavaEntryPoints.cpp we have a couple of exception checks with > potential early returns. Those miss ReleaseStringChars . > In other words, this CHECK should be placed next to where I can see the call > that requires it.

Integrated: JDK-8323695 RenderPerf (2D) enhancements (23.12)

2024-02-22 Thread Laurent Bourgès
On Fri, 12 Jan 2024 21:34:32 GMT, Laurent Bourgès wrote: > - new executor modes (buffer & volatile) > - support parallel rendering on several frames and / or screens > - added robot calibration + optionally use rounded duration to min frame > latency (120Hz) > - give more statistics in verbose (

Re: RFR: 8226990: GTK & Nimbus LAF: Tabbed pane's background color is not expected one when change the opaque checkbox. [v4]

2024-02-22 Thread Tejesh R
On Thu, 22 Feb 2024 06:35:19 GMT, Abhishek Kumar wrote: >> JTabbedPane's content area, tab area and tab background color are not as >> expected when opaque is set to true or false. >> The proposed fix is to handle the TabbedPane's background color in installed >> LAFs. Manual test is added to