Integrated: 6664309: Docking point of a floating toolbar changes after closing

Prasanta Sadhukhan psadhukhan at openjdk.org
Mon Jun 26 09:27:19 UTC 2023


On Tue, 13 Jun 2023 09:53:01 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

> 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..

This pull request has now been integrated.

Changeset: a420ff48
Author:    Prasanta Sadhukhan <psadhukhan at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/a420ff48da7d8861a874ea6f7278249c20113215
Stats:     109 lines in 2 files changed: 100 ins; 9 del; 0 mod

6664309: Docking point of a floating toolbar changes after closing

Reviewed-by: tr, prr

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

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



More information about the client-libs-dev mailing list