Re: RFR: 8277756: DatePicker listener might not be added when using second constructor

2022-05-31 Thread Ajit Ghaisas
On Tue, 24 May 2022 21:35:15 GMT, Marius Hanl wrote: > The `valueProperty()` and `chronologyProperty()` listener are now added in > the second constructor of `DatePicker` > (`public DatePicker(LocalDate localDate)`) instead of the first one (`public > DatePicker()`). > Therefore, both

Re: RFR: 8284665: First selected item of a TreeItem multiple selection gets removed if new items are constantly added to the TreeTableView [v2]

2022-05-31 Thread Ajit Ghaisas
On Tue, 24 May 2022 09:51:29 GMT, Jose Pereda wrote: >> This PR fixes an issue with selection of multiple items in TableView and >> TreeTableView controls that gets moved unexpectedly when new items are added >> even way below the selected items. >> >> A couple of tests have been added. They

Re: RFR: 8286261: Selection of non-expanded non-leaf treeItem grows unexpectedly when adding two-level descendants

2022-05-20 Thread Ajit Ghaisas
On Fri, 6 May 2022 10:16:41 GMT, Jose Pereda wrote: > This PR extends the check if a treeItem is expanded to all its ancestors, as > in case one ancestor is collapsed, all its children will be hidden. > > 4 tests are included, two for TreeView and two for TreeTableView. This looks good to me.

Re: RFR: 8285197: TableColumnHeader: calc of cell width must respect row styling (TreeTableView) [v2]

2022-05-19 Thread Ajit Ghaisas
On Thu, 19 May 2022 14:23:55 GMT, Robert Lichtenberger wrote: >> Separate test class added for TreeTableView case. >> Fix is analogous to JDK-8251480. > > Robert Lichtenberger has updated the pull request incrementally with two > additional commits since the last revision: > > - 8285197:

Re: RFR: 8284665: First selected item of a TreeItem multiple selection gets removed if new items are constantly added to the TreeTableView

2022-05-12 Thread Ajit Ghaisas
On Thu, 5 May 2022 16:21:45 GMT, Jose Pereda wrote: > This PR fixes an issue with selection of multiple items in TableView and > TreeTableView controls that gets moved unexpectedly when new items are added > even way below the selected items. > > A couple of tests have been added. They fail

Re: RFR: 8285197: TableColumnHeader: calc of cell width must respect row styling (TreeTableView)

2022-05-11 Thread Ajit Ghaisas
On Thu, 21 Apr 2022 08:38:20 GMT, Robert Lichtenberger wrote: > Separate test class added for TreeTableView case. > Fix is analogous to JDK-8251480. The fix looks good. The newly introduced test file needs some cosmetic cleanups.

Integrated: 8285360: [TestBug] Cleanup a few ignored javafx.controls unit tests

2022-04-23 Thread Ajit Ghaisas
On Thu, 21 Apr 2022 11:23:35 GMT, Ajit Ghaisas wrote: > This PR is to cleanup a few `javafx.controls` unit tests that were ignored. > > Here is the list of targeted unit test classes- > - Ignored tests re-enabled and fixed - `DateCellTest`, `CellTest`, > `PaginationTest` &g

Re: RFR: 8193442: Removing TreeItem from a TreeTableView sometime changes selectedItem [v3]

2022-04-22 Thread Ajit Ghaisas
On Thu, 21 Apr 2022 08:37:11 GMT, Jose Pereda wrote: >> This PR fixes >> JDK-[8193442](https://bugs.openjdk.java.net/browse/JDK-8193442), but also >> [JDK-8187596](https://bugs.openjdk.java.net/browse/JDK-8187596), and >> verifies that the tests mentioned in >>

Re: RFR: 8285360: [TestBug] Cleanup a few ignored javafx.controls unit tests [v2]

2022-04-22 Thread Ajit Ghaisas
On Fri, 22 Apr 2022 06:27:49 GMT, Ambarish Rapte wrote: >> Ajit Ghaisas has updated the pull request incrementally with one additional >> commit since the last revision: >> >> address review comments > > modules/javafx.controls/src/test/java/test/javafx/scene

Re: RFR: 8285360: [TestBug] Cleanup a few ignored javafx.controls unit tests [v2]

2022-04-22 Thread Ajit Ghaisas
`PopupControlTest` > > Results of `javafx.controls` unit tests- > **Before this PR :** > Total tests - 8610 > Failures - 0 > Ignored - 246 > > **After this PR :** > Total tests - 8608 > Failures - 0 > Ignored - 235 Ajit Ghaisas has updated the pull request incre

RFR: 8285360: [TestBug] Cleanup a few ignored javafx.controls unit tests

2022-04-21 Thread Ajit Ghaisas
This PR is to cleanup a few `javafx.controls` unit tests that were ignored. Here is the list of targeted unit test classes- - Ignored tests re-enabled and fixed - `DateCellTest`, `CellTest`, `PaginationTest` - Ignored tests removed - `RadioMenuItemTest`, `PopupControlTest` Results of

Re: RFR: 8273339: IOOBE with ListChangeListener added to the selectedItems list of a TableView [v3]

2022-04-07 Thread Ajit Ghaisas
On Thu, 10 Feb 2022 10:16:36 GMT, Jose Pereda wrote: >> This PR converts the change's `from` field from a list of tablePositions >> into a list of selected indices of rows. >> >> It includes two tests for TableView and one for TreeTableView (the second >> test wasn't included due to an >>

Re: RFR: 8251480: TableColumnHeader: calc of cell width must respect row styling [v4]

2022-04-05 Thread Ajit Ghaisas
On Wed, 30 Mar 2022 12:22:23 GMT, Robert Lichtenberger wrote: >> This fix respects a row factory, if present. >> It will put the cell that is used to measure the column width as child below >> the row. >> In that way the row's style will be used. > > Robert Lichtenberger has updated the pull

Re: RFR: 8283509: Invisible menus can lead to IndexOutOfBoundsException [v2]

2022-03-30 Thread Ajit Ghaisas
On Wed, 30 Mar 2022 10:57:48 GMT, Robert Lichtenberger wrote: >> findSibling adapted to only use visible menus when calculating the >> index. > > Robert Lichtenberger has updated the pull request incrementally with one > additional commit since the last revision: > > 8251480:

Re: RFR: 8283509: Invisible menus can lead to IndexOutOfBoundsException

2022-03-29 Thread Ajit Ghaisas
On Tue, 29 Mar 2022 12:11:54 GMT, Robert Lichtenberger wrote: > > Have you considered keeping the same while loop in findSibling() method and > > skipping invisible Menus in it? This is to avoid creating and traversing a > > new list. > > This would not give the correct result. findSibling

Re: RFR: 8283509: Invisible menus can lead to IndexOutOfBoundsException

2022-03-29 Thread Ajit Ghaisas
On Tue, 22 Mar 2022 14:42:07 GMT, Robert Lichtenberger wrote: > findSibling adapted to only use visible menus when calculating the > index. Have you considered keeping the same while loop in findSibling() method and skipping invisible Menus in it? This is to avoid creating and traversing a

Re: RFR: 8281723: Spinner with split horizontal arrows and a border places right arrow incorrectly [v2]

2022-03-24 Thread Ajit Ghaisas
On Wed, 9 Mar 2022 07:48:53 GMT, John Hendrikx wrote: >> I added a test case for `SpinnerSkin` that checks the arrow positioning. >> >> While adding the tests I discovered more problems with the positioning aside >> from the one mentioned in the JBS ticket. >> >> 1) Vertical split arrow

Re: RFR: 8282093: LineChart path incorrect when outside lower bound [v2]

2022-03-11 Thread Ajit Ghaisas
On Tue, 1 Mar 2022 06:12:59 GMT, Abhinay Agarwal wrote: >> This regression was caused in PR #667 in which I didn't take into account >> the lower bounds. I have added more tests and one manual test along with the >> fix. The manual test can be used to identify any future issues with paths >>

Re: RFR: 8282100: Missed top/left bouncing for ScrollPane on Raspberry Pi with Touchscreen

2022-02-23 Thread Ajit Ghaisas
On Fri, 18 Feb 2022 15:21:49 GMT, Alexander Scherbatiy wrote: > There is the bouncing when scrolling a node on a ScrollPane to the > right/bottom (the node on the scroll pane is scrolled further than its > width/height so the background is visible and then automatically is scrolled > back to

Re: RFR: 8279228 Leak in ScrollPaneSkin, related to touch events

2022-02-21 Thread Ajit Ghaisas
On Thu, 23 Dec 2021 17:43:19 GMT, Florian Kirmaier wrote: > Fixing memoryleak, related to touch events in ScrollPaneWhen touchDetected or > mouseDown is true, the sbTouch animation is running, > and the node is removed from the Scene, then the animation will never stop, > causing a memory

Re: RFR: 8281953: NullPointer in InputMethod components in JFXPanel [v2]

2022-02-21 Thread Ajit Ghaisas
On Mon, 21 Feb 2022 12:35:34 GMT, eduardsdv wrote: >> If the InputMethod's node is not in the scene, the default text location >> point is returned. > > eduardsdv has updated the pull request incrementally with one additional > commit since the last revision: > >8281953: Format

Re: RFR: 8281953: NullPointer in InputMethod components in JFXPanel

2022-02-21 Thread Ajit Ghaisas
On Thu, 17 Feb 2022 12:57:27 GMT, eduardsdv wrote: > If the InputMethod's node is not in the scene, the default text location > point is returned. The fix looks good. I thought about returning `null` if either the scene or the window is null. As we need to fix this corner case, whether

[jfx18] Integrated: 8271085: TabPane: Redundant API docs

2022-02-10 Thread Ajit Ghaisas
On Mon, 7 Feb 2022 10:53:00 GMT, Ajit Ghaisas wrote: > This is a Javadoc cleanup and correction fix for the TabPane as described in > the JBS. > > Changes done for all the Properties of the TabPane - > - Moved the property description to be over the property field. > - Remov

Re: RFR: 8187309: TreeCell must not change tree's data

2022-02-09 Thread Ajit Ghaisas
On Wed, 9 Feb 2022 14:04:55 GMT, Jeanette Winzenburg wrote: >> modules/javafx.controls/src/main/java/javafx/scene/control/TreeView.java >> line 341: >> >>> 339: setFocusModel(new TreeViewFocusModel(this)); >>> 340: >>> 341: setOnEditCommit(DEFAULT_EDIT_COMMIT_HANDLER); >> >>

Re: RFR: 8187309: TreeCell must not change tree's data

2022-02-09 Thread Ajit Ghaisas
On Wed, 2 Feb 2022 14:18:18 GMT, Jeanette Winzenburg wrote: > Issue was TreeView commit editing implementation violated the spec'ed > mechanism: > > - no default commit handler on TreeView > - TreeCell modifying the data directly > > Fix is to move the saving of the edited value from cell

Re: [jfx18] RFR: 8271085: TabPane: Redundant API docs [v2]

2022-02-09 Thread Ajit Ghaisas
On Wed, 9 Feb 2022 13:34:13 GMT, Nir Lisker wrote: >> Good suggestion. >> >> Also optional, you can remove the `` since they are not needed for the >> initial paragraph. > > There are many redundant `` tags in the property docs too if you want to > deal with them as well for consistency (not

Re: [jfx18] RFR: 8271085: TabPane: Redundant API docs [v3]

2022-02-09 Thread Ajit Ghaisas
nd Property method. Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision: Address additional review comments - Changes: - all: https://git.openjdk.java.net/jfx/pull/728/files - new: https://git.openjdk.java.net/jfx/pull/

Re: RFR: 8187309: TreeCell must not change tree's data

2022-02-09 Thread Ajit Ghaisas
On Wed, 2 Feb 2022 14:18:18 GMT, Jeanette Winzenburg wrote: > Issue was TreeView commit editing implementation violated the spec'ed > mechanism: > > - no default commit handler on TreeView > - TreeCell modifying the data directly > > Fix is to move the saving of the edited value from cell

Re: [jfx18] RFR: 8271085: TabPane: Redundant API docs [v2]

2022-02-09 Thread Ajit Ghaisas
nd Property method. Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision: Address review comments - Changes: - all: https://git.openjdk.java.net/jfx/pull/728/files - new: https://git.openjdk.java.net/jfx/pull/728/files/31ae34d7.

Re: [jfx18] RFR: 8271085: TabPane: Redundant API docs

2022-02-09 Thread Ajit Ghaisas
On Mon, 7 Feb 2022 16:17:32 GMT, Nir Lisker wrote: >> This is a Javadoc cleanup and correction fix for the TabPane as described in >> the JBS. >> >> Changes done for all the Properties of the TabPane - >> - Moved the property description to be over the property field. >> - Removed the

Re: [jfx18] RFR: 8271085: TabPane: Redundant API docs

2022-02-09 Thread Ajit Ghaisas
On Mon, 7 Feb 2022 16:24:46 GMT, Kevin Rushforth wrote: >> This is a Javadoc cleanup and correction fix for the TabPane as described in >> the JBS. >> >> Changes done for all the Properties of the TabPane - >> - Moved the property description to be over the property field. >> - Removed the

Re: RFR: 8273336: Clicking a selected cell from a group of selected cells in a TableView clears the selected items list but remains selected [v3]

2022-02-08 Thread Ajit Ghaisas
On Mon, 7 Feb 2022 18:46:55 GMT, Jose Pereda wrote: >> This PR adds a predicate to TableView and TreeTableView selection models >> order to remove rows from the selection only when there are no selected >> cells in that given row, when cell selection is enabled. >> >> Two tests have been

[jfx18] RFR: 8271085: TabPane: Redundant API docs

2022-02-07 Thread Ajit Ghaisas
This is a Javadoc cleanup and correction fix for the TabPane as described in the JBS. Changes done for all the Properties of the TabPane - - Moved the property description to be over the property field. - Removed the unnecessary docs on property setter/getter and Property method. -

Re: RFR: 8278980: Update WebKit to 613.1 [v2]

2022-02-04 Thread Ajit Ghaisas
On Wed, 2 Feb 2022 15:29:51 GMT, Ambarish Rapte wrote: >> Update JavaFX WebKit to GTK WebKit 2.34 (613.1). >> >> Verified the updated version build, tests run and sanity testing. >> This does not cause any issues except a unit test failure >> `IrresponsiveScriptTest`. >> It is recorded and

Re: RFR: 8273336: Clicking a selected cell from a group of selected cells in a TableView clears the selected items list but remains selected

2022-02-03 Thread Ajit Ghaisas
On Fri, 7 Jan 2022 19:36:45 GMT, Jose Pereda wrote: > This PR adds a predicate to TableView and TreeTableView selection models > order to remove rows from the selection only when there are no selected cells > in that given row, when cell selection is enabled. > > Two tests have been added as

Re: RFR: 8277122: SplitPane divider drag can hang the layout [v4]

2022-01-31 Thread Ajit Ghaisas
On Thu, 27 Jan 2022 20:48:40 GMT, Marius Hanl wrote: >> When a divider is moved via drag or code it will call **requestLayout()** >> for the **SplitPane**. >> While this is fine, it is also called when the >> **SplitPaneSkin#layoutChildren(..)** method is repositioning the divider. >> >> This

Re: [jfx18] RFR: 8280275: JUnit5 tests using Assumptions API fail to compile in some cases

2022-01-20 Thread Ajit Ghaisas
On Wed, 19 Jan 2022 15:18:48 GMT, Kevin Rushforth wrote: > Fixed a test dependency issue in `build.gradle` that causes a compilation > failure when running `gradle test` if the `Assumptions` API from JUnit5 is > used. I added a test that fails to compile without the build fix and passes >

Re: RFR: 8187307: ListView, TableView, TreeView: receives editCancel event when edit is committed

2022-01-20 Thread Ajit Ghaisas
On Tue, 30 Nov 2021 12:32:37 GMT, Jeanette Winzenburg wrote: > The misbehaviour was that an edit handler received both a commit and cancel > event when cell commitEdit is called. That happened whenever a collaborator > reset the controls editing state (either directly or indirectly) while >

Re: RFR: 8244234: MenuButton: NPE on removing from scene with open popup [v2]

2022-01-18 Thread Ajit Ghaisas
On Mon, 17 Jan 2022 15:32:13 GMT, eduardsdv wrote: >> The NPE occurs when the skinnable is removed from the scene while the popup >> is showing. >> The MenuButtonSkinBase, when popup becomes hidden, tries to remove Mnemonics >> from the scene and runs into NPE. >> To avoid NPE a null-check is

Re: RFR: 8244234: MenuButton: NPE on removing from scene with open popup

2022-01-17 Thread Ajit Ghaisas
On Tue, 11 Jan 2022 14:42:19 GMT, eduardsdv wrote: > The NPE occurs when the skinnable is removed from the scene while the popup > is showing. > The MenuButtonSkinBase, when popup becomes hidden, tries to remove Mnemonics > from the scene and runs into NPE. > To avoid NPE a null-check is added

Re: [jfx18] RFR: 8273998: Clarify specification for Window properties controlled by the window manager

2022-01-16 Thread Ajit Ghaisas
On Fri, 7 Jan 2022 18:19:23 GMT, Kevin Rushforth wrote: > Update the API specification for the `Window` and `Stage` classes to clarify > that the values for some properties and methods can be changed or ignored by > the platform. Several of the properties already have a comment to the effect

Re: RFR: 8273998: Clarify specification for Window properties controlled by the window manager

2022-01-13 Thread Ajit Ghaisas
On Fri, 7 Jan 2022 18:19:23 GMT, Kevin Rushforth wrote: > Update the API specification for the `Window` and `Stage` classes to clarify > that the values for some properties and methods can be changed or ignored by > the platform. Several of the properties already have a comment to the effect

Re: RFR: 8273998: Clarify specification for Window properties controlled by the window manager

2022-01-13 Thread Ajit Ghaisas
On Fri, 7 Jan 2022 18:19:23 GMT, Kevin Rushforth wrote: > Update the API specification for the `Window` and `Stage` classes to clarify > that the values for some properties and methods can be changed or ignored by > the platform. Several of the properties already have a comment to the effect

Re: RFR: 8197991: Selecting many items in a TableView is very slow [v6]

2022-01-10 Thread Ajit Ghaisas
On Fri, 7 Jan 2022 08:04:53 GMT, Abhinay Agarwal wrote: >> This work improves the performance of `MultipleSelectionModel` over large >> data sets by caching some values and avoiding unnecessary calls to >> `SelectedIndicesList#size`. It further improves the performance by reducing >> the

Re: RFR: 8279328: CssParser uses default charset instead of UTF-8

2022-01-06 Thread Ajit Ghaisas
On Wed, 29 Dec 2021 15:39:39 GMT, Michael Strauß wrote: > `CssParser.parse(URL)` is specified to assume UTF-8 file encoding, but > (implicitly) uses the default charset to read the file, potentially resulting > in incorrect interpretation of the file content. > > This can be fixed by

Re: RFR: 8279328: CssParser uses default charset instead of UTF-8

2022-01-06 Thread Ajit Ghaisas
On Wed, 29 Dec 2021 15:39:39 GMT, Michael Strauß wrote: > `CssParser.parse(URL)` is specified to assume UTF-8 file encoding, but > (implicitly) uses the default charset to read the file, potentially resulting > in incorrect interpretation of the file content. > > This can be fixed by

Re: RFR: 8278134: Move static utility methods to infrastructure (EditAndScrollTest) [v2]

2021-12-16 Thread Ajit Ghaisas
On Thu, 16 Dec 2021 12:54:27 GMT, Jeanette Winzenburg wrote: >> Extracted static test utility methods from EditAndScrollTest into new >> VirtualizedControlTestUtils, added rudimentary tests for the methods. > > Jeanette Winzenburg has updated the pull request incrementally with one >

Re: RFR: 8278260: JavaFX shared libraries not stripped on Linux or macOS [v2]

2021-12-16 Thread Ajit Ghaisas
On Wed, 15 Dec 2021 22:57:26 GMT, Kevin Rushforth wrote: >> Build change to strip the non-global symbols from native shared libraries on >> Linux and macOS by running `strip -x`, unless doing a `-PCONF=DebugNative` >> build. >> >> Here is a before / after size comparison. All sizes in KBytes:

Re: RFR: 8278134: Move static utility methods to infrastructure (EditAndScrollTest)

2021-12-16 Thread Ajit Ghaisas
On Thu, 9 Dec 2021 12:43:54 GMT, Jeanette Winzenburg wrote: > Extracted static test utility methods from EditAndScrollTest into new > VirtualizedControlTestUtils, added rudimentary tests for the methods. This looks good except for a typo which is not introduced by you!

Re: RFR: 8276167: VirtualFlow.scrollToTop doesn't scroll to the top of the last element [v4]

2021-12-12 Thread Ajit Ghaisas
On Fri, 10 Dec 2021 15:24:44 GMT, eduardsdv wrote: >> Fix VirtualFlow.scrollToTop(int) doesn't scroll to the top of the last >> element but to the bottom of the last element. > > eduardsdv has updated the pull request incrementally with one additional > commit since the last revision: > >

Re: RFR: 8276167: VirtualFlow.scrollToTop doesn't scroll to the top of the last element [v3]

2021-12-10 Thread Ajit Ghaisas
On Mon, 6 Dec 2021 14:58:52 GMT, eduardsdv wrote: >> Fix VirtualFlow.scrollToTop(int) doesn't scroll to the top of the last >> element but to the bottom of the last element. > > eduardsdv has updated the pull request incrementally with one additional > commit since the last revision: > >

Re: RFR: 8201538: Remove implementation support for applets from JavaFX

2021-12-10 Thread Ajit Ghaisas
On Tue, 31 Aug 2021 16:28:53 GMT, Kevin Rushforth wrote: > This PR removes the obsolete applet implementation from JavaFX. It is an > ongoing maintenance burden to carry around this legacy code. Also, cleaning > this up could help in the implementation of GTK4, Wayland, and Metal, since > we

Re: RFR: 8276313: ScrollPane scroll delta incorrectly depends on content height [v3]

2021-12-05 Thread Ajit Ghaisas
On Thu, 2 Dec 2021 22:49:45 GMT, Michael Strauß wrote: >> This PR fixes an issue where the scroll delta of ScrollPane incorrectly >> depends on the size of its content. >> This leads to extremely slow scrolling when the content is only slightly >> larger than the ScrollPane. > > Michael Strauß

Re: RFR: 8276553: ListView scrollTo() is broken after fix for JDK-8089589 [v2]

2021-12-03 Thread Ajit Ghaisas
On Fri, 3 Dec 2021 11:16:28 GMT, Johan Vos wrote: > The hard values have been changed a number of times, and I believe it is not > really a good metric. I agree completely. > Rather than requiring that the amount of calls should be a fixed number, I > think it makes more sense to ensure that

Re: RFR: 8276553: ListView scrollTo() is broken after fix for JDK-8089589 [v2]

2021-12-03 Thread Ajit Ghaisas
On Tue, 30 Nov 2021 11:02:41 GMT, Johan Vos wrote: >> After (re)setting the number of elements, make sure to do at least some >> estimation of the total size. >> Added a testcase for this scenario. > > Johan Vos has updated the pull request incrementally with one additional > commit since the

Re: RFR: 8277457: AccessControlException: access denied ("java.net.NetPermission" "getCookieHandler") [v2]

2021-12-01 Thread Ajit Ghaisas
On Thu, 25 Nov 2021 00:29:36 GMT, Kevin Rushforth wrote: >> As indicated in the bug report, WebView needs to call to >> `CookieManager::getDefault` within a `doPrivileged` block so that it will >> work when a security manager is enabled. There are two calls in >>

Re: RFR: 8272118: ListViewSkin et al: must not cancel edit on scrolling

2021-12-01 Thread Ajit Ghaisas
On Thu, 25 Nov 2021 15:46:01 GMT, Jeanette Winzenburg wrote: > Issue was that mouse pressed on the scrollbars of all virtualized controls > cancelled the edit. That's inconsistent with other scroll triggers > (mouseWheel, programmatic). Fixed by removing the cancel. > > Added tests that

Re: RFR: 8276313: ScrollPane scroll delta incorrectly depends on content height

2021-12-01 Thread Ajit Ghaisas
On Tue, 2 Nov 2021 10:49:45 GMT, Michael Strauß wrote: > This PR fixes an issue where the scroll delta of ScrollPane incorrectly > depends on the size of its content. > This leads to extremely slow scrolling when the content is only slightly > larger than the ScrollPane.

Re: RFR: 8276490: Incorrect path for duplicate x and y values, when path falls outside axis bound [v3]

2021-11-25 Thread Ajit Ghaisas
On Mon, 22 Nov 2021 14:04:01 GMT, Abhinay Agarwal wrote: >> PathElements were skipped in AreaChart if the data point were outside axis >> bounds and had duplicate value for either x or y. This is now fixed with >> this PR. > > Abhinay Agarwal has updated the pull request incrementally with one

Re: RFR: 8276144: Update boot JDK to 17.0.1

2021-11-19 Thread Ajit Ghaisas
On Mon, 15 Nov 2021 18:26:00 GMT, Kevin Rushforth wrote: > Now that JavaFX has updated to gradle 7.3 -- see > [JDK-8276142](https://bugs.openjdk.java.net/browse/JDK-8276142) / PR #671 -- > we can update the boot JDK used to build JavaFX to JDK 17.0.1. > > I have run a smoke test on all three

Re: RFR: 8274061: Tree-/TableRowSkin: misbehavior on switching skin [v5]

2021-11-19 Thread Ajit Ghaisas
On Fri, 19 Nov 2021 11:42:16 GMT, Jeanette Winzenburg wrote: >> Cleanup of Tree-/TableRowSkin to support switching skins >> >> The misbehavior/s >> - memory leaks due to manually registered listeners that were not removed >> - side-effects due to listeners still active on old skin (like NPEs)

Re: RFR: 8274061: Tree-/TableRowSkin: misbehavior on switching skin [v2]

2021-11-19 Thread Ajit Ghaisas
On Mon, 15 Nov 2021 13:28:40 GMT, Jeanette Winzenburg wrote: >> My PR is already merged, so this is not a problem. :) >> I dont know, but since this is only fixing a (also before) wrong comment it >> might be okay as it is very minor? :) > > FYI: now the listener registration - including the

Re: RFR: 8274061: Tree-/TableRowSkin: misbehavior on switching skin [v4]

2021-11-19 Thread Ajit Ghaisas
On Mon, 15 Nov 2021 13:11:06 GMT, Jeanette Winzenburg wrote: >> Cleanup of Tree-/TableRowSkin to support switching skins >> >> The misbehavior/s >> - memory leaks due to manually registered listeners that were not removed >> - side-effects due to listeners still active on old skin (like NPEs)

Re: RFR: 8276490: Incorrect path for duplicate x and y values, when path falls outside axis bound

2021-11-17 Thread Ajit Ghaisas
On Fri, 12 Nov 2021 09:44:47 GMT, Abhinay Agarwal wrote: > PathElements were skipped in AreaChart if the data point were outside axis > bounds and had duplicate value for either x or y. This is now fixed with this > PR.

Re: RFR: 8274854: Mnemonics for menu containing numeric text not working [v4]

2021-11-08 Thread Ajit Ghaisas
On Sat, 30 Oct 2021 20:40:12 GMT, Michael Strauß wrote: >> This PR fixes an issue with mnemonic parsing by removing the restriction >> that a mnemonic symbol must be a letter. Now, it can be any character except >> whitespace. > > Michael Strauß has updated the pull request incrementally with

Integrated: 8275848: Deprecate for removal mistakenly exposed field from class javafx.scene.shape.Box

2021-10-29 Thread Ajit Ghaisas
On Fri, 29 Oct 2021 07:31:05 GMT, Ajit Ghaisas wrote: > This PR deprecates mistakenly exposed field from class javafx.scene.shape.Box. This pull request has now been integrated. Changeset: d9e1ad97 Author: Ajit Ghaisas URL: https://git.openjdk.java.net/jfx/com

Re: RFR: 8274854: Mnemonics for menu containing numeric text not working [v3]

2021-10-29 Thread Ajit Ghaisas
On Fri, 29 Oct 2021 13:58:35 GMT, Michael Strauß wrote: >> This PR fixes an issue with mnemonic parsing by removing the restriction >> that a mnemonic symbol must be a letter. Now, it can be any character except >> whitespace. > > Michael Strauß has updated the pull request incrementally with

Re: RFR: 8274854: Mnemonics for menu containing numeric text not working [v2]

2021-10-29 Thread Ajit Ghaisas
On Fri, 29 Oct 2021 12:34:50 GMT, Michael Strauß wrote: >> modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/behavior/TextBinding.java >> line 238: >> >>> 236: } >>> 237: >>> 238: return !isExtendedMnemonic(s, position); >> >> I am not sure why do we need to

Re: RFR: 8275848: Deprecate for removal mistakenly exposed field from class javafx.scene.shape.Box [v2]

2021-10-29 Thread Ajit Ghaisas
> This PR deprecates mistakenly exposed field from class javafx.scene.shape.Box. Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision: review fix - Changes: - all: https://git.openjdk.java.net/jfx/pull/655/files -

Re: RFR: 8274854: Mnemonics for menu containing numeric text not working

2021-10-29 Thread Ajit Ghaisas
On Wed, 20 Oct 2021 16:54:35 GMT, Michael Strauß wrote: > This PR fixes an issue with mnemonic parsing by removing the restriction that > a mnemonic symbol must be a letter. Now, it can be any character except > whitespace.

Re: RFR: 8187474: Tree-/TableCell, TreeCell: editingCell/Item not updated in cell.startEdit [v3]

2021-10-29 Thread Ajit Ghaisas
On Fri, 22 Oct 2021 10:36:24 GMT, Jeanette Winzenburg wrote: >> cell startEdit is supposed to update the editing location on its associated >> control - was done in ListCell, not in Tree-/TableCell nor TreeCell. >> >> Fix was to add control.edit(..). Note that ListCell was also touched to use

RFR: 8275848: Deprecate mistakenly exposed field from class javafx.scene.shape.Box

2021-10-29 Thread Ajit Ghaisas
This PR deprecates mistakenly exposed field from class javafx.scene.shape.Box. - Commit messages: - Deprecate DEFAULT_SIZE constant field Changes: https://git.openjdk.java.net/jfx/pull/655/files Webrev: https://webrevs.openjdk.java.net/?repo=jfx=655=00 Issue:

Integrated: 8271091: Missing API docs in UI controls classes

2021-10-28 Thread Ajit Ghaisas
On Wed, 20 Oct 2021 14:42:44 GMT, Ajit Ghaisas wrote: > This PR fixes javadoc warnings in javafx.controls and javafx.web modules. > Note : > - The javadoc needs to be generated with the JDK 18 EA build. > - 2 javadoc warnings in javafx.controls TabPane class will be fixed und

Integrated: 8271090: Missing API docs in scenegraph classes

2021-10-28 Thread Ajit Ghaisas
On Fri, 22 Oct 2021 11:23:07 GMT, Ajit Ghaisas wrote: > This PR fixes javadoc warnings primarily in javafx.graphics module along with > a remaining few in javafx.fxml, javafx.base and javafx.media modules. > > Note : > - The javadoc needs to be generated with the

Re: RFR: 8271091: Missing API docs in UI controls classes [v5]

2021-10-28 Thread Ajit Ghaisas
wse/JDK-8271085) > - There are still 20 javadoc warnings remaining in javafx.controls module and > 3 warnings remaining in javafx.web module. The root cause is different and > they will be addressed under > [JDK-8270996](https://bugs.openjdk.java.net/browse/JDK-8270996) Ajit Ghaisas h

Re: RFR: 8271091: Missing API docs in UI controls classes [v4]

2021-10-28 Thread Ajit Ghaisas
On Wed, 27 Oct 2021 16:12:11 GMT, Nir Lisker wrote: >> Ajit Ghaisas has updated the pull request incrementally with one additional >> commit since the last revision: >> >> fix review comments > > modules/javafx.controls/src/main/java/javafx/scene/control

Re: RFR: 8271090: Missing API docs in scenegraph classes [v4]

2021-10-28 Thread Ajit Ghaisas
modules. The root cause is > different and they will be addressed under > [JDK-8270996](https://bugs.openjdk.java.net/browse/JDK-8270996) Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision: fix review comments -

Re: RFR: 8271090: Missing API docs in scenegraph classes [v3]

2021-10-28 Thread Ajit Ghaisas
On Wed, 27 Oct 2021 16:06:38 GMT, Nir Lisker wrote: > Added a few more comments, otherwise looks fine. Thanks for your detailed review. > modules/javafx.graphics/src/main/java/javafx/stage/PopupWindow.java line 156: > >> 154: >> 155: /** >> 156: * Creates a {@code PopupWindow}. > >

Re: RFR: 8271091: Missing API docs in UI controls classes [v4]

2021-10-27 Thread Ajit Ghaisas
On Wed, 20 Oct 2021 15:45:52 GMT, Nir Lisker wrote: >> Ajit Ghaisas has updated the pull request incrementally with one additional >> commit since the last revision: >> >> fix review comments > > Took a quick look at the new docs. I didn't check the resu

Re: RFR: 8271090: Missing API docs in scenegraph classes [v3]

2021-10-27 Thread Ajit Ghaisas
On Tue, 26 Oct 2021 09:54:43 GMT, Ajit Ghaisas wrote: >> This PR fixes javadoc warnings primarily in javafx.graphics module along >> with a remaining few in javafx.fxml, javafx.base and javafx.media modules. >> >> Note : >> - The javadoc needs to be gene

Re: RFR: 8274061: Tree-/TableRowSkin: misbehavior on switching skin [v2]

2021-10-27 Thread Ajit Ghaisas
On Wed, 27 Oct 2021 09:56:46 GMT, Jeanette Winzenburg wrote: >> Cleanup of Tree-/TableRowSkin to support switching skins >> >> The misbehavior/s >> - memory leaks due to manually registered listeners that were not removed >> - side-effects due to listeners still active on old skin (like NPEs)

Re: RFR: 8274061: Tree-/TableRowSkin: misbehavior on switching skin [v2]

2021-10-27 Thread Ajit Ghaisas
On Wed, 27 Oct 2021 09:50:32 GMT, Jeanette Winzenburg wrote: >> modules/javafx.controls/src/main/java/javafx/scene/control/skin/TableRowSkin.java >> line 134: >> >>> 132: // that when it changes, we can appropriately add / >>> remove cells that may or may not >>> 133:

Re: RFR: 8274061: Tree-/TableRowSkin: misbehavior on switching skin

2021-10-26 Thread Ajit Ghaisas
On Fri, 24 Sep 2021 16:01:38 GMT, Jeanette Winzenburg wrote: > Cleanup of Tree-/TableRowSkin to support switching skins > > The misbehavior/s > - memory leaks due to manually registered listeners that were not removed > - side-effects due to listeners still active on old skin (like NPEs) > >

Re: RFR: 8271090: Missing API docs in scenegraph classes [v2]

2021-10-26 Thread Ajit Ghaisas
On Mon, 25 Oct 2021 23:27:19 GMT, Kevin Rushforth wrote: > Looks good with a couple suggestions on `setScene`. We might want to also > file a follow-up javadoc bug so we can get rid of the javadocs for that > method altogether. I have filed -

Re: RFR: 8271090: Missing API docs in scenegraph classes [v3]

2021-10-26 Thread Ajit Ghaisas
modules. The root cause is > different and they will be addressed under > [JDK-8270996](https://bugs.openjdk.java.net/browse/JDK-8270996) Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision: fix review comments -

Re: RFR: 8271091: Missing API docs in UI controls classes [v4]

2021-10-26 Thread Ajit Ghaisas
wse/JDK-8271085) > - There are still 20 javadoc warnings remaining in javafx.controls module and > 3 warnings remaining in javafx.web module. The root cause is different and > they will be addressed under > [JDK-8270996](https://bugs.openjdk.java.net/browse/JDK-8270996) Ajit Ghaisas h

Re: RFR: 8271091: Missing API docs in UI controls classes [v3]

2021-10-26 Thread Ajit Ghaisas
On Mon, 25 Oct 2021 22:53:53 GMT, Kevin Rushforth wrote: >> Ajit Ghaisas has updated the pull request incrementally with one additional >> commit since the last revision: >> >> fix review comments > > modules/javafx.controls/src/main/java/javafx/scene/control

Re: RFR: 8271091: Missing API docs in UI controls classes [v3]

2021-10-25 Thread Ajit Ghaisas
wse/JDK-8271085) > - There are still 20 javadoc warnings remaining in javafx.controls module and > 3 warnings remaining in javafx.web module. The root cause is different and > they will be addressed under > [JDK-8270996](https://bugs.openjdk.java.net/browse/JDK-8270996) Ajit Ghaisas h

Re: RFR: 8271091: Missing API docs in UI controls classes [v2]

2021-10-25 Thread Ajit Ghaisas
On Fri, 22 Oct 2021 13:37:38 GMT, Kevin Rushforth wrote: >> Ajit Ghaisas has updated the pull request incrementally with one additional >> commit since the last revision: >> >> javadoc minor corrections > > modules/javafx.controls/src/main/java/javafx/scene/c

Re: RFR: 8271090: Missing API docs in scenegraph classes [v2]

2021-10-25 Thread Ajit Ghaisas
On Fri, 22 Oct 2021 15:00:58 GMT, Kevin Rushforth wrote: >> Ajit Ghaisas has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8271090 - fix review comments > > modules/javafx.graphics/src/main/java/jav

Re: RFR: 8271090: Missing API docs in scenegraph classes [v2]

2021-10-25 Thread Ajit Ghaisas
On Fri, 22 Oct 2021 15:30:36 GMT, Kevin Rushforth wrote: >> modules/javafx.graphics/src/main/java/javafx/scene/shape/Box.java line 91: >> >>> 89: * Default size of the {@code Box}. >>> 90: */ >>> 91: public static final double DEFAULT_SIZE = 2; >> >> This field was exposed by

Re: RFR: 8271090: Missing API docs in scenegraph classes [v2]

2021-10-25 Thread Ajit Ghaisas
On Fri, 22 Oct 2021 14:37:14 GMT, Nir Lisker wrote: >> Ajit Ghaisas has updated the pull request incrementally with one additional >> commit since the last revision: >> >> 8271090 - fix review comments > > modules/javafx.media/src/main/java/javafx/scene/medi

Re: RFR: 8271090: Missing API docs in scenegraph classes [v2]

2021-10-25 Thread Ajit Ghaisas
modules. The root cause is > different and they will be addressed under > [JDK-8270996](https://bugs.openjdk.java.net/browse/JDK-8270996) Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision: 8271090 - fix review comments ---

Re: RFR: 8274669: Dialog sometimes ignores max height

2021-10-24 Thread Ajit Ghaisas
On Sat, 2 Oct 2021 23:53:02 GMT, Marius Hanl wrote: > This PR fixes a visual glitch which may happen when showing a dialog. > When a max height is set and the pref height of the dialog content is bigger > the dialog starts to flicker between the max height and the pref height. > > This happens

RFR: 8271090: Missing API docs in scenegraph classes

2021-10-22 Thread Ajit Ghaisas
This PR fixes javadoc warnings primarily in javafx.graphics module along with a remaining few in javafx.fxml, javafx.base and javafx.media modules. Note : - The javadoc needs to be generated with the JDK 18 EA build. - There are still few remaining warnings in these modules. The root cause is

Re: RFR: 8271091: Missing API docs in UI controls classes [v2]

2021-10-21 Thread Ajit Ghaisas
The root cause is different and > they will be addressed under > [JDK-8270996](https://bugs.openjdk.java.net/browse/JDK-8270996) Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision: javadoc minor corrections - Ch

RFR: 8271091: Missing API docs in UI controls classes

2021-10-20 Thread Ajit Ghaisas
This PR fixes javadoc warnings in javafx.controls and javafx.web modules. Note : - The javadoc needs to be generated with the JDK 18 EA build. - There are still 20 javadoc warnings remaining in javafx.controls module and 3 warnings remaining in javafx.web module. The root cause is different and

Re: RFR: 8275138: WebView: UserAgent string is empty for first request

2021-10-19 Thread Ajit Ghaisas
On Thu, 14 Oct 2021 12:32:24 GMT, Kevin Rushforth wrote: > The failure was caused by a change that was done in connection with the > WebKit 610.2 update, > [JDK-8259635](https://bugs.openjdk.java.net/browse/JDK-8259635). The > `FrameLoaderClient::userAgent` function was changed in WebKit

Re: RFR: 8274137: TableView scrollbar/header misaligned when reloading data [v3]

2021-10-07 Thread Ajit Ghaisas
On Wed, 6 Oct 2021 12:22:54 GMT, Robert Lichtenberger wrote: > Ist there anything left for me to do? IIRC someone must now /sponsor this > change and then I can /integrate it, right? This PR needs two review approvals; currently it has one. We shall wait for @kevinrushforth to review and

Re: RFR: 8274137: TableView scrollbar/header misaligned when reloading data [v3]

2021-10-04 Thread Ajit Ghaisas
On Mon, 27 Sep 2021 05:27:25 GMT, Robert Lichtenberger wrote: >> This PR fixes JDK-8274137 by removing the optimization from updateHbar() >> that will no-op the method in case the VirtualFlow is invisible or currently >> has no scene. >> Since changes to the hBar's value can happen even if

  1   2   3   4   5   >