Re: RFR: 8295339: DatePicker updates its value property with wrong date when dialog closes [v2]

2022-12-08 Thread Karthik P K
On Thu, 8 Dec 2022 18:53:48 GMT, Kevin Rushforth wrote: >> Karthik P K has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Address review comments > > tests/system/src/test/java/test/robot/javafx/scene/DatePickerUpdateOnAlertCloseTest.java >

Re: RFR: 8295339: DatePicker updates its value property with wrong date when dialog closes [v2]

2022-12-08 Thread Karthik P K
> Cause: On hiding the DatePicker dropdown, value selected was not getting > updated to the text editor. Hence old value from the text editor was getting > committed to DatePicker on focus loss. This issue was seen only when > DatePicker is used in Alert dialog and Alert dialog is closed on maki

Re: RFR: 8295339: DatePicker updates its value property with wrong date when dialog closes [v2]

2022-12-08 Thread Karthik P K
On Thu, 8 Dec 2022 18:04:24 GMT, Andy Goryachev wrote: >> Karthik P K has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Address review comments > > tests/system/src/test/java/test/robot/javafx/scene/DatePickerUpdateOnAlertCloseTest.java >

Re: RFR: 8295339: DatePicker updates its value property with wrong date when dialog closes [v2]

2022-12-08 Thread Karthik P K
On Thu, 8 Dec 2022 19:21:14 GMT, Marius Hanl wrote: >> Karthik P K has updated the pull request incrementally with one additional >> commit since the last revision: >> >> Address review comments > > modules/javafx.controls/src/main/java/javafx/scene/control/skin/DatePickerSkin.java > line 14

Re: RFR: JDK-8295755 : Update SQLite to 3.39.4

2022-12-08 Thread Jay Bhaskar
On Thu, 17 Nov 2022 06:16:34 GMT, Hima Bindu Meda wrote: > Updated sqlite to v3.39.4 > Verified build on windows, linux and mac. > Sanity testing looks fine. + looks ok to me - Marked as reviewed by jbhaskar (Author). PR: https://git.openjdk.org/jfx/pull/953

Re: RFR: JDK-8295755 : Update SQLite to 3.39.4

2022-12-08 Thread Johan Vos
On Thu, 17 Nov 2022 06:16:34 GMT, Hima Bindu Meda wrote: > Updated sqlite to v3.39.4 > Verified build on windows, linux and mac. > Sanity testing looks fine. Marked as reviewed by jvos (Reviewer). Looks good on darwin-x86_64, linux and windows. Didn't test darwin-aarch64. - PR: ht

Re: RFR: 8295339: DatePicker updates its value property with wrong date when dialog closes

2022-12-08 Thread Marius Hanl
On Mon, 28 Nov 2022 12:42:15 GMT, Karthik P K wrote: > Cause: On hiding the DatePicker dropdown, value selected was not getting > updated to the text editor. Hence old value from the text editor was getting > committed to DatePicker on focus loss. This issue was seen only when > DatePicker is

Re: RFR: 8260528: Clean glass-gtk sizing and positioning code [v31]

2022-12-08 Thread Thiago Milczarek Sayao
> This cleans size and positioning code, reducing special cases, code > complexity and size. > > Changes: > > - cached extents: 28, 1, 1, 1 are old defaults - modern gnome uses different > sizes. It does not assume any size because it varies - it does cache because > it's unlikely to vary on t

Integrated: 8289357: (Tree)TableView is null in (Tree)TableRowSkin during autosize

2022-12-08 Thread Marius Hanl
On Tue, 28 Jun 2022 17:06:39 GMT, Marius Hanl wrote: > Initialize the `(Tree)TableView` when creating the measure row. > This will guarantee, that we can access the `(Tree)TableView` in the > `(Tree)TableRowSkin`, which is currently only null during the autosizing (It > is always set otherwise)

Re: RFR: 8295078: TextField blurry when inside an TitledPane -> AnchorPane [v4]

2022-12-08 Thread Marius Hanl
On Thu, 8 Dec 2022 18:29:48 GMT, Marius Hanl wrote: >> The problem here is, that the `AnchorPane` does not use its snapped insets. >> Therefore, the fix is to replace all `getInsets().getXXX` calls with their >> corresponding `snappedXXXInset()` methods. >> >> Note: The reason the `AnchorPane`

Re: RFR: 8295339: DatePicker updates its value property with wrong date when dialog closes

2022-12-08 Thread Kevin Rushforth
On Mon, 28 Nov 2022 12:42:15 GMT, Karthik P K wrote: > Cause: On hiding the DatePicker dropdown, value selected was not getting > updated to the text editor. Hence old value from the text editor was getting > committed to DatePicker on focus loss. This issue was seen only when > DatePicker is

Re: RFR: 8260528: Clean glass-gtk sizing and positioning code [v30]

2022-12-08 Thread Kevin Rushforth
On Thu, 8 Dec 2022 14:20:22 GMT, Johan Vos wrote: > If it is only on Ubuntu 16.04, I am ok with not doing an ugly work-around. > There is no crash or similar critical issue, and if we get this PR in the > next OpenJFX release, it will be 7 years after 16.04. I agree. > However, from the remar

Re: RFR: 8295078: TextField blurry when inside an TitledPane -> AnchorPane [v4]

2022-12-08 Thread Marius Hanl
> The problem here is, that the `AnchorPane` does not use its snapped insets. > Therefore, the fix is to replace all `getInsets().getXXX` calls with their > corresponding `snappedXXXInset()` methods. > > Note: The reason the `AnchorPane` inside a `TitledPane` is blurry in the > first place is b

Re: RFR: JDK-8295755 : Update SQLite to 3.39.4

2022-12-08 Thread Johan Vos
On Thu, 17 Nov 2022 06:16:34 GMT, Hima Bindu Meda wrote: > Updated sqlite to v3.39.4 > Verified build on windows, linux and mac. > Sanity testing looks fine. Doing a test build + sanity tests - PR: https://git.openjdk.org/jfx/pull/953

Re: RFR: 8187145: (Tree)TableView with null selectionModel: throws NPE on sorting [v14]

2022-12-08 Thread Andy Goryachev
On Thu, 8 Dec 2022 16:16:58 GMT, Andy Goryachev wrote: >> Setting a null selection model in TableView and TreeTableView produce NPE on >> sorting (and probably in some other situations) because the check for null >> is missing in several places. >> >> Setting a null selection model is a valid

Re: RFR: 8289357: (Tree)TableView is null in (Tree)TableRowSkin during autosize [v8]

2022-12-08 Thread Andy Goryachev
On Thu, 8 Dec 2022 17:50:15 GMT, Marius Hanl wrote: >> Initialize the `(Tree)TableView` when creating the measure row. >> This will guarantee, that we can access the `(Tree)TableView` in the >> `(Tree)TableRowSkin`, which is currently only null during the autosizing (It >> is always set otherwi

Re: RFR: 8295339: DatePicker updates its value property with wrong date when dialog closes

2022-12-08 Thread Andy Goryachev
On Mon, 28 Nov 2022 12:42:15 GMT, Karthik P K wrote: > Cause: On hiding the DatePicker dropdown, value selected was not getting > updated to the text editor. Hence old value from the text editor was getting > committed to DatePicker on focus loss. This issue was seen only when > DatePicker is

Re: RFR: 8289357: (Tree)TableView is null in (Tree)TableRowSkin during autosize [v8]

2022-12-08 Thread Kevin Rushforth
On Thu, 8 Dec 2022 17:50:15 GMT, Marius Hanl wrote: >> Initialize the `(Tree)TableView` when creating the measure row. >> This will guarantee, that we can access the `(Tree)TableView` in the >> `(Tree)TableRowSkin`, which is currently only null during the autosizing (It >> is always set otherwi

Re: RFR: 8289357: (Tree)TableView is null in (Tree)TableRowSkin during autosize [v8]

2022-12-08 Thread Marius Hanl
> Initialize the `(Tree)TableView` when creating the measure row. > This will guarantee, that we can access the `(Tree)TableView` in the > `(Tree)TableRowSkin`, which is currently only null during the autosizing (It > is always set otherwise). > > With this change, a NPE is happening as the `(Tr

Re: RFR: 8187145: (Tree)TableView with null selectionModel: throws NPE on sorting [v14]

2022-12-08 Thread Andy Goryachev
> Setting a null selection model in TableView and TreeTableView produce NPE on > sorting (and probably in some other situations) because the check for null is > missing in several places. > > Setting a null selection model is a valid way to disable selection in a > (tree)table. > > There is a

Re: RFR: 8289357: (Tree)TableView is null in (Tree)TableRowSkin during autosize [v7]

2022-12-08 Thread Andy Goryachev
On Thu, 8 Dec 2022 09:45:52 GMT, Marius Hanl wrote: >> Initialize the `(Tree)TableView` when creating the measure row. >> This will guarantee, that we can access the `(Tree)TableView` in the >> `(Tree)TableRowSkin`, which is currently only null during the autosizing (It >> is always set otherwi

Integrated: 8295809: TreeTableViewSkin: memory leak when changing skin

2022-12-08 Thread Andy Goryachev
On Mon, 24 Oct 2022 19:06:26 GMT, Andy Goryachev wrote: > as determined by SkinMemoryLeakTest (remove line 180) and a leak tester > https://github.com/andy-goryachev-oracle/Test/blob/main/src/goryachev/apps/LeakTest.java > > caused by: > - adding and not removing listeners > - adding and not rem

Re: RFR: 8295809: TreeTableViewSkin: memory leak when changing skin [v4]

2022-12-08 Thread Ajit Ghaisas
On Wed, 7 Dec 2022 17:54:55 GMT, Andy Goryachev wrote: >> as determined by SkinMemoryLeakTest (remove line 180) and a leak tester >> https://github.com/andy-goryachev-oracle/Test/blob/main/src/goryachev/apps/LeakTest.java >> >> caused by: >> - adding and not removing listeners >> - adding and no

Re: RFR: 8289357: (Tree)TableView is null in (Tree)TableRowSkin during autosize [v7]

2022-12-08 Thread Ajit Ghaisas
On Thu, 8 Dec 2022 09:45:52 GMT, Marius Hanl wrote: >> Initialize the `(Tree)TableView` when creating the measure row. >> This will guarantee, that we can access the `(Tree)TableView` in the >> `(Tree)TableRowSkin`, which is currently only null during the autosizing (It >> is always set otherwi

Re: RFR: JDK-8298200 Clean up raw type warnings in javafx.beans.property.* and com.sun.javafx.property.* [v2]

2022-12-08 Thread John Hendrikx
On Thu, 8 Dec 2022 14:21:45 GMT, John Hendrikx wrote: >> - Added generics (to package private or internal classes only) >> - Minor clean-ups of code I touched (naming) >> - Fixed incorrect use of generics >> - Fixed raw type warnings >> >> Note: some raw types have leaked into public API. These

Re: RFR: 8260528: Clean glass-gtk sizing and positioning code [v30]

2022-12-08 Thread Johan Vos
On Tue, 22 Nov 2022 01:40:02 GMT, Thiago Milczarek Sayao wrote: >> This cleans size and positioning code, reducing special cases, code >> complexity and size. >> >> Changes: >> >> - cached extents: 28, 1, 1, 1 are old defaults - modern gnome uses different >> sizes. It does not assume any si

Re: RFR: JDK-8298200 Clean up raw type warnings in javafx.beans.property.* and com.sun.javafx.property.* [v2]

2022-12-08 Thread John Hendrikx
On Wed, 7 Dec 2022 15:08:00 GMT, Nir Lisker wrote: >> modules/javafx.base/src/main/java/com/sun/javafx/property/adapter/Disposer.java >> line 47: >> >>> 45: public class Disposer implements Runnable { >>> 46: private static final ReferenceQueue QUEUE = new >>> ReferenceQueue<>(); >>> 47:

Re: RFR: JDK-8298200 Clean up raw type warnings in javafx.beans.property.* and com.sun.javafx.property.* [v2]

2022-12-08 Thread John Hendrikx
> - Added generics (to package private or internal classes only) > - Minor clean-ups of code I touched (naming) > - Fixed incorrect use of generics > - Fixed raw type warnings > > Note: some raw types have leaked into public API. These could be fixed > without incompatibilities. For specifics s

Re: RFR: JDK-8295755 : Update SQLite to 3.39.4

2022-12-08 Thread Kevin Rushforth
On Thu, 17 Nov 2022 06:16:34 GMT, Hima Bindu Meda wrote: > Updated sqlite to v3.39.4 > Verified build on windows, linux and mac. > Sanity testing looks fine. @jaybhaskar Please review @johanvos @tiainen Do you want to do a test build? - PR: https://git.openjdk.org/jfx/pull/953

Re: RFR: 8289357: (Tree)TableView is null in (Tree)TableRowSkin during autosize [v7]

2022-12-08 Thread Kevin Rushforth
On Thu, 8 Dec 2022 09:45:52 GMT, Marius Hanl wrote: >> Initialize the `(Tree)TableView` when creating the measure row. >> This will guarantee, that we can access the `(Tree)TableView` in the >> `(Tree)TableRowSkin`, which is currently only null during the autosizing (It >> is always set otherwi

Re: RFR: 8260528: Clean glass-gtk sizing and positioning code [v30]

2022-12-08 Thread Thiago Milczarek Sayao
On Tue, 22 Nov 2022 01:40:02 GMT, Thiago Milczarek Sayao wrote: >> This cleans size and positioning code, reducing special cases, code >> complexity and size. >> >> Changes: >> >> - cached extents: 28, 1, 1, 1 are old defaults - modern gnome uses different >> sizes. It does not assume any si

Re: RFR: 8190411: NPE in SliderSkin:140 if Slider.Tooltip.autohide is true [v5]

2022-12-08 Thread Karthik P K
On Thu, 8 Dec 2022 03:10:06 GMT, Kevin Rushforth wrote: >> Perhaps we can introduce another property - either public or internal to >> suppress consumption of auto-hiding events? >> >> The other aspect of this problem, as we discussed earlier, is that, in my >> opinion, the tooltips should rea

Re: RFR: 8190411: NPE in SliderSkin:140 if Slider.Tooltip.autohide is true [v6]

2022-12-08 Thread Karthik P K
> 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

Re: RFR: 8289357: (Tree)TableView is null in (Tree)TableRowSkin during autosize [v7]

2022-12-08 Thread Marius Hanl
On Thu, 8 Dec 2022 09:45:52 GMT, Marius Hanl wrote: >> Initialize the `(Tree)TableView` when creating the measure row. >> This will guarantee, that we can access the `(Tree)TableView` in the >> `(Tree)TableRowSkin`, which is currently only null during the autosizing (It >> is always set otherwi

Re: RFR: 8289357: (Tree)TableView is null in (Tree)TableRowSkin during autosize [v7]

2022-12-08 Thread Marius Hanl
> Initialize the `(Tree)TableView` when creating the measure row. > This will guarantee, that we can access the `(Tree)TableView` in the > `(Tree)TableRowSkin`, which is currently only null during the autosizing (It > is always set otherwise). > > With this change, a NPE is happening as the `(Tr