Re: RFR: 8233068: HIDPI: Linux: AWT Checkbox check mark is unscaled [v5]

2024-08-07 Thread Abhishek Kumar
On Wed, 7 Aug 2024 05:08:53 GMT, Tejesh R wrote: >> The check mark had been transformed with default scale which is 1.0 and the >> same is used on click of checkbox. This was done while computing the layout >> and not updated while paint. Hence the scaling update is done on painting >> the che

Re: RFR: 7188058: Background of TextComponents are not changing colors to the default disabled color when set to uneditable [v2]

2024-08-07 Thread Alisen Chung
On Tue, 6 Aug 2024 09:25:55 GMT, Prasanta Sadhukhan wrote: >> This call is only to get the default background of TextArea. Is there >> another way to grab the default color without using UIManager? > > Yes, but as far I could see `TextArea.background` property is being set in > `AquaLookAndFee

Re: RFR: 8321140: Add comment to note difference in Metal's JButton margins

2024-08-07 Thread Damon Nguyen
On Tue, 6 Aug 2024 23:12:44 GMT, Damon Nguyen wrote: > Previously in [JDK-8282772](https://bugs.openjdk.org/browse/JDK-8282772), > there was a fix for JButtons with HTML content alignment for non-MacOS L&Fs. > This fix was to make other L&Fs in line with the Aqua fix found in > [JDK-8015854](h

Re: Status on JDK-8305479 (+ info to reproduce it)

2024-08-07 Thread SWinxy
This appears to be a deadlock. I've been able to replicate it, but it's annoyingly finicky to get it to freeze. A thread gets stuck on WaitForSingleObject at awt_Toolkit.cpp#L3139 (in AwtToolkit::InvokeInputMethodFunction) waiting for an object to be signaled, but the signalling gets lost. And so i

Re: RFR: 8321140: Doc change to note difference in Metal's JButton margins

2024-08-07 Thread Alexey Ivanov
On Tue, 6 Aug 2024 23:12:44 GMT, Damon Nguyen wrote: > Previously in [JDK-8282772](https://bugs.openjdk.org/browse/JDK-8282772), > there was a fix for JButtons with HTML content alignment for non-MacOS L&Fs. > This fix was to make other L&Fs in line with the Aqua fix found in > [JDK-8015854](h

Re: RFR: 6318027: BasicScrollBarUI does not disable timer when enclosing frame is disabled. [v3]

2024-08-07 Thread Prasanta Sadhukhan
> Issue is > BasicScrollBarUI.ArrowButtonListener starts a timer in mousePressed(), and > stops it in mouseReleased(). If the frame containing the scrollbar is > disabled between the MOUSE_PRESSED and the MOUSE_RELEASED events, the > mouseReleased() method is never called. If the frame is then r

Re: RFR: 6318027: BasicScrollBarUI does not disable timer when enclosing frame is disabled. [v2]

2024-08-07 Thread Prasanta Sadhukhan
On Fri, 2 Aug 2024 21:32:02 GMT, Alisen Chung wrote: >> src/java.desktop/share/classes/javax/swing/plaf/basic/BasicScrollBarUI.java >> line 1614: >> >>> 1612: // mouseReleased is not called after mousePressed when >>> 1613: // this AcionEvent is being processed >>> 1614:

Re: RFR: 6318027: BasicScrollBarUI does not disable timer when enclosing frame is disabled. [v2]

2024-08-07 Thread Prasanta Sadhukhan
> Issue is > BasicScrollBarUI.ArrowButtonListener starts a timer in mousePressed(), and > stops it in mouseReleased(). If the frame containing the scrollbar is > disabled between the MOUSE_PRESSED and the MOUSE_RELEASED events, the > mouseReleased() method is never called. If the frame is then r

RFR: 8337886: java/awt/Frame/MaximizeUndecoratedTest.java fails in OEL due to a slight color difference

2024-08-07 Thread Manukumar V S
java/awt/Frame/MaximizeUndecoratedTest.java fails in OEL due to a slight color difference in the background color. This is currently reproduced only for Oracle Linux. The Color object I'm getting for each of these Point objects: new Point(maxBounds.x + OFFSET, maxBounds.y + OFFSET) --> java.aw