> 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

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29063/files
  - new: https://git.openjdk.org/jdk/pull/29063/files/99e094c8..54a5414c

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=29063&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=29063&range=00-01

  Stats: 3 lines in 1 file changed: 0 ins; 1 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/29063.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29063/head:pull/29063

PR: https://git.openjdk.org/jdk/pull/29063

Reply via email to