On Mon, 12 Jan 2026 11:55:42 GMT, Prasanta Sadhukhan <[email protected]> 
wrote:

>> If a component "comp" be nested inside a "inner" JSplitPane with 
>> VERTICAL_SPLIT mode and if then "inner" be nested inside a
>> "outer" JSplitPane with HORIZONTAL_SPLIT mode and a component listener is 
>> added to "comp"
>> then with this setup, componentResized() on the listener is called ONLY when 
>> the divider of "outer" is moved manually
>> however, it is not called when the divider of "outer" is moved using "One 
>> touch expandable" left button at the top of the divider.
>> 
>> This is because the `layoutContainer` bails out if the width or height is 0 
>> which logically should be to bail out if both width and height is 0 and when 
>> "One touch expandable" left button is pressed, width becomes 0 so 
>> `layoutContainer` bails out without sending the event.
>> 
>> With this fix, componentResized is called
>> 
>> No regression is observed in CI.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   test fix

Latest version looks fine.

-------------

Marked as reviewed by kizune (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/29063#pullrequestreview-3652985926

Reply via email to