Integrated: 8190411: NPE in SliderSkin:140 if Slider.Tooltip.autohide is true
Karthik P K
kpk at openjdk.org
Mon Dec 12 06:19:57 UTC 2022
On Thu, 1 Dec 2022 17:03:03 GMT, Karthik P K <kpk at openjdk.org> wrote:
> Cause: When slider is dragged for first time after tooltip appears, setOnMousePressed event was not invoked, hence dragStart was null in the subsequently invoked event handler (setOnMouseDragged).
>
> Fix: Initialized dragStart in initialize method.
>
> Test: Added system test to validate the fix.
>
> Note: Initializing dragStart in layoutChildren method as suggested in the bug was causing side effects. Hence initialized dragStart in initialize method.
This pull request has now been integrated.
Changeset: 8763e8b0
Author: Karthik P K <kpk at openjdk.org>
Committer: Ambarish Rapte <arapte at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/8763e8b0d67db33fc3aa40c459058957e3230346
Stats: 180 lines in 2 files changed: 180 ins; 0 del; 0 mod
8190411: NPE in SliderSkin:140 if Slider.Tooltip.autohide is true
Reviewed-by: arapte, angorya, kcr
-------------
PR: https://git.openjdk.org/jfx/pull/965
More information about the openjfx-dev
mailing list