RFR: 6664309: Docking point of a floating toolbar changes after closing [v2]

Prasanta Sadhukhan psadhukhan at openjdk.org
Wed Jun 14 09:45:17 UTC 2023


> Issue is if we create a floating JToolBar at the EAST side and drag it and then if we close the floating toolbar, then it gets docket at NORTH side instead of the EAST side where it was docked before being floated.
> This is because of some contentious code in BasicToolBarUI where we change the constaint to NORTH if it is EAST/WEST.
> I could not find any JBS which did that code change.
> 
> Albeit, removing that piece of code does not cause regression in "clientlibs" jtreg/jck tests in addition to solve this anomaly, so thought, removing the code seems prudent..

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/14444/files
  - new: https://git.openjdk.org/jdk/pull/14444/files/e6f00e60..d941bebb

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

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

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



More information about the client-libs-dev mailing list