Re: RFR: 8251483: TableCell: NPE on modifying item's list [v2]

2022-06-16 Thread Ajit Ghaisas
On Wed, 23 Feb 2022 22:43:58 GMT, Marius Hanl wrote: >> This PR fixes an issue where the item of the table row is null, although the >> cell itself is not empty (non null value). >> >> The fix is to call `indexChanged(..)` immediately after the index was >> changed, but before all `indexProper

Re: RFR: 8276056: Control.skin.setSkin(Skin) fails to call dispose() on discarded Skin

2022-07-08 Thread Ajit Ghaisas
On Wed, 29 Jun 2022 13:35:15 GMT, Marius Hanl wrote: > For some reason the `skinProperty` did not allow to set a new skin which is > the same class as the previous one. > This leads to multiple issues: > 1. When creating a new skin (same class as previous), the skin will likely > install some c

Re: RFR: 8268225: Support :focus-visible and :focus-within CSS pseudoclasses [v11]

2022-07-08 Thread Ajit Ghaisas
On Fri, 8 Jul 2022 11:48:51 GMT, Michael Strauß wrote: >> This PR adds the `Node.focusVisible` and `Node.focusWithin` properties, as >> well as the corresponding `:focus-visible` and `:focus-within` CSS >> pseudo-classes. > > Michael Strauß has updated the pull request incrementally with one ad

Re: RFR: 8268225: Support :focus-visible and :focus-within CSS pseudoclasses [v10]

2022-07-08 Thread Ajit Ghaisas
On Wed, 6 Jul 2022 23:36:26 GMT, Michael Strauß wrote: >> This PR adds the `Node.focusVisible` and `Node.focusWithin` properties, as >> well as the corresponding `:focus-visible` and `:focus-within` CSS >> pseudo-classes. > > Michael Strauß has updated the pull request incrementally with one ad

Re: CFV: New OpenJFX Committer: Michael Strauß

2022-07-08 Thread Ajit Ghaisas
Vote : YES Regards, Ajit > On 08-Jul-2022, at 6:01 PM, Kevin Rushforth > wrote: > > I hereby nominate Michael Strauß [1] to OpenJFX Committer. > > Michael is an OpenJFX community member, who has contributed 16 commits [2] to > OpenJFX. > > Votes are due by July 22, 2022 at 13:00 UTC. > > O

Re: CFV: New OpenJFX Committer: Marius Hanl

2022-07-08 Thread Ajit Ghaisas
Vote : YES Regards, Ajit > On 08-Jul-2022, at 5:42 PM, Kevin Rushforth > wrote: > > I hereby nominate Marius Hanl [1] to OpenJFX Committer. > > Marius is an OpenJFX community member, who has contributed 22 commits [2] to > OpenJFX. > > Votes are due by July 22, 2022 at 13:00 UTC. > > Only

Re: RFR: 8277785: ListView scrollTo jumps to wrong location when CellHeight is changed [v4]

2022-07-14 Thread Ajit Ghaisas
On Mon, 11 Jul 2022 13:59:36 GMT, Johan Vos wrote: >> In order to fix the issues reported in JDK-8089589, the VirtualFlow now uses >> the real sizes of the elements that are displayed. This allows for a more >> natural way of scrolling through lists that contain items of very different >> size

Re: [jfx19] RFR: 8290348: TreeTableView jumping to top [v2]

2022-07-18 Thread Ajit Ghaisas
On Sun, 17 Jul 2022 18:59:22 GMT, Johan Vos wrote: >> Do not recalculate total estimated size recursively. >> >> In the (unlikely) event that the recalculation triggers a new recalculation >> (e.g. when the height of a Cell is changed), do not start this recalculation. >> The cache and cache si

Re: [jfx19] RFR: 8290348: TreeTableView jumping to top [v3]

2022-07-20 Thread Ajit Ghaisas
On Tue, 19 Jul 2022 10:36:07 GMT, Johan Vos wrote: >> Do not recalculate total estimated size recursively. >> >> In the (unlikely) event that the recalculation triggers a new recalculation >> (e.g. when the height of a Cell is changed), do not start this recalculation. >> The cache and cache si

Re: [jfx19] RFR: 8290348: TreeTableView jumping to top [v4]

2022-07-21 Thread Ajit Ghaisas
On Thu, 21 Jul 2022 11:12:08 GMT, Johan Vos wrote: >> Do not recalculate total estimated size recursively. >> >> In the (unlikely) event that the recalculation triggers a new recalculation >> (e.g. when the height of a Cell is changed), do not start this recalculation. >> The cache and cache si

Re: RFR: 8235491: Tree/TableView: implementation of isSelected(int) violates contract [v2]

2022-07-26 Thread Ajit Ghaisas
On Thu, 21 Jul 2022 21:10:10 GMT, Andy Goryachev wrote: >> …ontract >> >> 1. reword SelectionModel.isSelected(int) javadoc, removing incorrect >> statement "Is functionally equivalent to calling >> getSelectedIndices().contains(index)." >> 2. reimplement TableView.TableViewSelectionModel.isSe

Re: RFR: 8235491: Tree/TableView: implementation of isSelected(int) violates contract [v2]

2022-07-26 Thread Ajit Ghaisas
On Tue, 26 Jul 2022 16:00:15 GMT, Andy Goryachev wrote: > 1. javadoc for TableSelectionModel.isSelected(int, TablecolumnBase) > already describes the logic: Yes. I am aware of this documentation. I was thinking of making it clear for the users if they see their application breaks due to thi

Re: RFR: 8290990: Clear .root style class from a root node that is removed from a Scene/SubScene

2022-07-28 Thread Ajit Ghaisas
On Tue, 26 Jul 2022 02:46:15 GMT, Michael Strauß wrote: > When a node is set as the root node of a `Scene` or `SubScene`, the "root" > style class is automatically added to the node, but not cleared when the node > is later removed from the scene. > > This can lead to an incorrectly set "root"

Re: RFR: 8235491: Tree/TableView: implementation of isSelected(int) violates contract [v4]

2022-07-28 Thread Ajit Ghaisas
On Wed, 27 Jul 2022 21:36:10 GMT, Andy Goryachev wrote: >> …ontract >> >> 1. reword SelectionModel.isSelected(int) javadoc, removing incorrect >> statement "Is functionally equivalent to calling >> getSelectedIndices().contains(index)." >> 2. reimplement TableView.TableViewSelectionModel.isSe

Re: RFR: 8291087: Wrong position of focus of screen reader on Windows with screen scale > 1

2022-07-28 Thread Ajit Ghaisas
On Thu, 28 Jul 2022 15:01:34 GMT, Kevin Rushforth wrote: > When using the Windows Narrator screen reader on a Hi-DPI screen, the visible > focus is drawn in the wrong location and with the wrong size. This happens > because the the JavaFX Windows accessibility code that returns the screen > bo

Re: RFR: 8291087: Wrong position of focus of screen reader on Windows with screen scale > 1

2022-07-28 Thread Ajit Ghaisas
On Thu, 28 Jul 2022 15:01:34 GMT, Kevin Rushforth wrote: > When using the Windows Narrator screen reader on a Hi-DPI screen, the visible > focus is drawn in the wrong location and with the wrong size. This happens > because the the JavaFX Windows accessibility code that returns the screen > bo

Re: [jfx19] RFR: 8291502: Mouse or touch presses on a non-focusable region don't clear the focusVisible flag of the current focus owner [v3]

2022-08-02 Thread Ajit Ghaisas
On Mon, 1 Aug 2022 18:42:46 GMT, Michael Strauß wrote: >> The `focusVisible` flag is only set on a node when it acquires input focus >> using a keyboard interaction, and it is cleared by mouse and touch >> interactions. >> >> It is not necessary for a node to lose input focus in order to lose

Re: RFR: 8218826: TableRowSkinBase: horizontal layout broken if row has padding [v2]

2022-08-03 Thread Ajit Ghaisas
On Tue, 28 Jun 2022 15:19:50 GMT, Marius Hanl wrote: >> This PR fixes a problem, where the layout is broken when a `(Tree)TableRow` >> has padding. >> As also mentioned in the ticket, the `layoutChildren` method in >> `TableRowSkinBase` is implemented wrong. >> >> The `layoutChildren` method i

Re: RFR: 8291087: Wrong position of focus of screen reader on Windows with screen scale > 1 [v2]

2022-08-08 Thread Ajit Ghaisas
On Fri, 5 Aug 2022 18:42:34 GMT, Kevin Rushforth wrote: >> When using the Windows Narrator screen reader on a Hi-DPI screen, the >> visible focus is drawn in the wrong location and with the wrong size. This >> happens because the the JavaFX Windows accessibility code that returns the >> screen

Re: RFR: 8307538: Memory leak in TreeTableView when calling refresh [v7]

2023-06-05 Thread Ajit Ghaisas
On Mon, 15 May 2023 16:12:10 GMT, Andy Goryachev wrote: >> Fixed a memory leak in TreeTableView by reverting to register**Listener >> (which is ok in this particular situation) - the leak is specific to >> TreeTableRowSkin. >> >> Added a unit test. > > Andy Goryachev has updated the pull reque

Re: RFR: 8310024: Skip failing scene change tests on macOS

2023-06-14 Thread Ajit Ghaisas
On Wed, 14 Jun 2023 13:39:52 GMT, Kevin Rushforth wrote: > Simple fix to skip two failing tests on macOS until the underlying bugs are > fixed: > > SceneChangeEventsTest::testSceneChange -- > [JDK-8300094](https://bugs.openjdk.org/browse/JDK-8300094) > SceneChangeShouldNotFocusStageTest::windo

Re: RFR: 8302511: HitInfo.toString() throws IllegalArgumentException [v3]

2023-06-23 Thread Ajit Ghaisas
On Fri, 16 Jun 2023 15:35:42 GMT, Andy Goryachev wrote: >> A recent change in JDK-8304831 ensured that insertionIndex is always >> computed prior to HitInfo construction, making it possible to remove buggy >> logic in HitInfo. This change also allows for removal of the 'text' field. >> >> Th

Re: ListView with ImageViews for cells very bugged?

2023-07-12 Thread Ajit Ghaisas
Hi John, This looks like a user code issue and not a JavaFX bug. Most of the vertical scrollbar issues that you have mentioned get fixed by adding a call to "super.updateItem(image, empty);" as a first call in the cell factory method "protected void updateItem(Image image, boolean empty)”

Re: [External] : Re: ListView with ImageViews for cells very bugged?

2023-07-12 Thread Ajit Ghaisas
hev wrote: I have a video clip of how to reproduce the exception. Do you mind creating a bug? Thank you -andy From: John Hendrikx <mailto:john.hendr...@gmail.com> Date: Wednesday, July 12, 2023 at 09:33 To: Andy Goryachev <mailto:andy.goryac...@oracle.com>, Ajit Ghaisas <mailto:

Re: RFR: 8255248: NullPointerException in JFXPanel due to race condition in HostContainer

2023-07-18 Thread Ajit Ghaisas
On Tue, 18 Jul 2023 06:05:06 GMT, Prasanta Sadhukhan wrote: > Due to transient datatype of scenePeer, it can become null which can result > in NPE in scenarios where scene is continuously been reset and set, which > warrants a null check, as is done in other places for the same variable. This

Re: RFR: 8260342: FXMLLoader fails to load a sub layout using fx:include with the resources attribute [v2]

2023-08-01 Thread Ajit Ghaisas
On Wed, 21 Jun 2023 13:34:28 GMT, Guillaume Tâche wrote: >> This fixes ResourceBundle loading by calling >> `ResourceBundle.getBundle(value, Locale.getDefault())` when the loader >> resources are null or their classloader is null. >> Apparently the original author of the bug report said the

Re: RFR: 8260342: FXMLLoader fails to load a sub layout using fx:include with the resources attribute [v3]

2023-08-03 Thread Ajit Ghaisas
On Wed, 2 Aug 2023 09:47:25 GMT, Guillaume Tâche wrote: >> This fixes ResourceBundle loading by calling >> `ResourceBundle.getBundle(value, Locale.getDefault())` when the loader >> resources are null or their classloader is null. >> Apparently the original author of the bug report said they

Re: RFR: JDK-8313799: Remove lockItemOnEdit flag from (Tree)TableCell

2023-08-08 Thread Ajit Ghaisas
On Fri, 4 Aug 2023 22:12:55 GMT, Marius Hanl wrote: > The `lockItemOnEdit` only exists inside `TreeTableCell` and `TableCell` for > the sake of testing. > It is only changed by some JUnit tests to remove the need of setting up the > whole table framework. > This PR shifts this flag from those t

Re: RFR: 8283675: Line not removed from LineChart when series cleared

2023-09-01 Thread Ajit Ghaisas
On Fri, 18 Aug 2023 07:25:28 GMT, Karthik P K wrote: > The issue is present in AreaChart along with the LineChart. Issue is fixed in > both the charts as part of this PR. > The line elements in case of Line chart and both line element and fill > element in the case of Area charts were not clear

Re: [jfx-tests] RFR: JDK-8315409: Fix jfx-tests so they work with latest jfx build [v2]

2023-09-04 Thread Ajit Ghaisas
On Sat, 2 Sep 2023 00:31:26 GMT, Alexandre Iline wrote: >> JDK-8315409: Fix jfx-tests so they work with latest jfx build > > Alexandre Iline has updated the pull request incrementally with one > additional commit since the last revision: > > Addressing copyright issues. I verified that the f

Re: RFR: 8314779: [testbug] Add test to all the XYCharts to check if chart components are removed when series is cleared

2023-09-05 Thread Ajit Ghaisas
On Mon, 4 Sep 2023 13:15:47 GMT, Karthik P K wrote: > Added test: `testChartLineAndAreaRemovedOnClearingSeries()` for > `StackedAreaChart` to check if the line and fill elements gets removed from > the series on clearing the series. This test is added similar to the tests > added to `LineChart

Re: RFR: 8314779: [testbug] Add test to all the XYCharts to check if chart components are removed when series is cleared [v2]

2023-09-05 Thread Ajit Ghaisas
On Wed, 6 Sep 2023 05:21:03 GMT, Karthik P K wrote: >> Added test: `testChartLineAndAreaRemovedOnClearingSeries()` for >> `StackedAreaChart` to check if the line and fill elements gets removed from >> the series on clearing the series. This test is added similar to the tests >> added to `LineC

Re: [jfx-tests] RFR: JDK-8315409: Fix jfx-tests so they work with latest jfx build [v2]

2023-09-06 Thread Ajit Ghaisas
On Sat, 2 Sep 2023 00:31:26 GMT, Alexandre Iline wrote: >> JDK-8315409: Fix jfx-tests so they work with latest jfx build > > Alexandre Iline has updated the pull request incrementally with one > additional commit since the last revision: > > Addressing copyright issues. Approving this PR as

[jfx-tests] RFR: 8315845: Exclude Scenegraph and Charts test classes that serve as a base class

2023-09-07 Thread Ajit Ghaisas
A few SceneGraphTests and ControlsTests/chart test classes are abstract classes and serve as base classes for other tests. They are excluded from test execution and hence result in avoiding false failure reports. - Commit messages: - 8315845 - exclude base class tests Changes: htt

Re: [jfx-tests] RFR: 8315839: 3D shape tests fail because of invalid file path

2023-09-08 Thread Ajit Ghaisas
On Thu, 7 Sep 2023 07:58:08 GMT, Jayathirth D V wrote: > Currently only 18 out of 62 3D tests run properly in jfx-tests repo. > All the shape tests under "test/scenegraph/fx3d/shapes" and > "test/scenegraph/fx3d/subscene/shapes" fail because they are not able to find > image input they need. >

Re: [jfx-tests] RFR: 8315842: 3D tests fail because of edge pixel differences

2023-09-08 Thread Ajit Ghaisas
On Thu, 7 Sep 2023 10:17:28 GMT, Jayathirth D V wrote: > Out of 62 3D tests, 26 tests fail because of minute color differences in edge > pixels. > These tests are used to verify 3D rendering with different parameters like > translation, rotation. > > So adding little color tolerance will not c

Re: [jfx-tests] RFR: 8315845: Exclude Scenegraph and Charts test classes that serve as a base class

2023-09-08 Thread Ajit Ghaisas
On Thu, 7 Sep 2023 09:26:59 GMT, Ajit Ghaisas wrote: > A few SceneGraphTests and ControlsTests/chart test classes are abstract > classes and serve as base classes for other tests. > They are excluded from test execution and hence result in avoiding false > failure reports. Please

[jfx-tests] RFR: 8315928: Few Scenegraph and Charts tests fail due to resource not found error

2023-09-08 Thread Ajit Ghaisas
Below tests fail due to "resource not found" error. - test/scenegraph/binding/effects/IdentityTest.java - test/scenegraph/lcd/controls/tests/AccordionTest.java - Almost all ControlsTests/Chart tests Fix : Moved required resources to appropriate directory. - Commit messages: - addres

Re: [jfx-tests] RFR: 8315842: 3D tests fail because of edge pixel differences

2023-09-08 Thread Ajit Ghaisas
On Thu, 7 Sep 2023 10:17:28 GMT, Jayathirth D V wrote: > Out of 62 3D tests, 26 tests fail because of minute color differences in edge > pixels. > These tests are used to verify 3D rendering with different parameters like > translation, rotation. > > So adding little color tolerance will not c

Re: [jfx-tests] RFR: 8315842: 3D tests fail because of edge pixel differences [v2]

2023-09-10 Thread Ajit Ghaisas
On Mon, 11 Sep 2023 05:21:12 GMT, Jayathirth D V wrote: >> Out of 62 3D tests, 26 tests fail because of minute color differences in >> edge pixels. >> These tests are used to verify 3D rendering with different parameters like >> translation, rotation. >> >> So adding little color tolerance wil

Re: [jfx-tests] RFR: JDK-8315895: Some 3D camera tests fail because of NPE [v2]

2023-09-11 Thread Ajit Ghaisas
On Fri, 8 Sep 2023 17:17:17 GMT, Alexandre Iline wrote: >> There was a field in a subclass hiding a field in a superclass. > > Alexandre Iline has updated the pull request incrementally with two > additional commits since the last revision: > > - Copyright. :| > - Copyright year Marked as re

[jfx-tests] RFR: 8316097: Some Scenegraph/richtext tests fail due to IllegalStateException

2023-09-12 Thread Ajit Ghaisas
test/scenegraph/richtext/RichTextLabeledsTest.java test/scenegraph/richtext/RichTextMixedTest.java test/scenegraph/richtext/RichTextRectangleTest.java test/scenegraph/richtext/RichTextTextTest.java These tests were failing with - java.lang.IllegalStateException: This operation is permitted on th

[jfx-tests] RFR: 8316116: Ignore a single failing test case from Effects2Test

2023-09-12 Thread Ajit Ghaisas
test/scenegraph/functional/graphics/Effects2Test.java has a total of 123 test cases. Out of which 122 test cases pass and 1 test case (Lightningspotlight) fails consistently. Right now, the root cause of this test failure is unknown. This PR marks this test case with `@Ignore`. It will be fixed

[jfx-tests] Integrated: 8316116: Ignore a single failing test case from Effects2Test

2023-09-12 Thread Ajit Ghaisas
On Tue, 12 Sep 2023 14:38:12 GMT, Ajit Ghaisas wrote: > test/scenegraph/functional/graphics/Effects2Test.java has a total of 123 test > cases. Out of which 122 test cases pass and 1 test case (Lightningspotlight) > fails consistently. Right now, the root cause of this test failure i

[jfx-tests] Integrated: 8315928: Few Scenegraph and Charts tests fail due to resource not found error

2023-09-13 Thread Ajit Ghaisas
On Fri, 8 Sep 2023 11:21:14 GMT, Ajit Ghaisas wrote: > Below tests fail due to "resource not found" error. > - test/scenegraph/binding/effects/IdentityTest.java > - test/scenegraph/lcd/controls/tests/AccordionTest.java > - Almost all ControlsTests/Chart tests >

[jfx-tests] Integrated: 8315845: Exclude Scenegraph and Charts test classes that serve as a base class

2023-09-14 Thread Ajit Ghaisas
On Thu, 7 Sep 2023 09:26:59 GMT, Ajit Ghaisas wrote: > A few SceneGraphTests and ControlsTests/chart test classes are abstract > classes and serve as base classes for other tests. > They are excluded from test execution and hence result in avoiding false > failure reports. This

Re: [jfx-tests] RFR: 8197397: Document steps for setting up and executing manual/automated tests in jfx-tests repo

2023-09-15 Thread Ajit Ghaisas
On Fri, 15 Sep 2023 07:09:13 GMT, Ajit Ghaisas wrote: > - Removed README file > - Added README.md file with details > > For formatted output of README.md - See : > https://github.com/aghaisas/jfx-tests/tree/update_readme @shurymury, @kevinrushforth - Can you please review? --

[jfx-tests] RFR: 8197397: Document steps for setting up and executing manual/automated tests in jfx-tests repo

2023-09-15 Thread Ajit Ghaisas
- Removed README file - Added README.md file with details For formatted output of README.md - See : https://github.com/aghaisas/jfx-tests/tree/update_readme - Commit messages: - add newline - Update bullet points - Add README.md Changes: https://git.openjdk.org/jfx-tests/pull/11

Re: [jfx-tests] RFR: 8316097: Some Scenegraph/richtext tests fail due to IllegalStateException [v2]

2023-09-15 Thread Ajit Ghaisas
is > operation is permitted on the event thread only; currentThread = Time-limited > test. They are fixed with a change to single file `RichTextPropertiesApp.java` > > Another test - test/scenegraph/richtext/RichTextSpecSymbTest.java - was > failing due to NPE. Added a null c

[jfx-tests] Integrated: 8316097: Some Scenegraph/richtext tests fail due to IllegalStateException

2023-09-15 Thread Ajit Ghaisas
On Tue, 12 Sep 2023 10:33:07 GMT, Ajit Ghaisas wrote: > test/scenegraph/richtext/RichTextLabeledsTest.java > test/scenegraph/richtext/RichTextMixedTest.java > test/scenegraph/richtext/RichTextRectangleTest.java > test/scenegraph/richtext/RichTextTextTest.java > > These tests

Re: [jfx-tests] RFR: 8197397: Document steps for setting up and executing manual/automated tests in jfx-tests repo

2023-09-20 Thread Ajit Ghaisas
On Fri, 15 Sep 2023 15:04:59 GMT, Kevin Rushforth wrote: >> README.md line 50: >> >>> 48: - To run a single test provide - `-Dtests=>> SceneGraphTests/tests>` before `test` in above command >>> 49: >>> 50: 7) **Generating golden images** >> >> terminology: would a "reference images" be a bette

Re: [jfx-tests] RFR: 8197397: Document steps for setting up and executing manual/automated tests in jfx-tests repo [v2]

2023-09-20 Thread Ajit Ghaisas
> - Removed README file > - Added README.md file with details > > For formatted output of README.md - See : > https://github.com/aghaisas/jfx-tests/tree/update_readme Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision:

[jfx-tests] Integrated: 8197397: Document steps for setting up and executing manual/automated tests in jfx-tests repo

2023-09-21 Thread Ajit Ghaisas
On Fri, 15 Sep 2023 07:09:13 GMT, Ajit Ghaisas wrote: > - Removed README file > - Added README.md file with details > > For formatted output of README.md - See : > https://github.com/aghaisas/jfx-tests/tree/update_readme This pull request has now been integrated. Changeset:

Re: RFR: 8307176: Monkey Tester Application Part 2 [v4]

2023-09-22 Thread Ajit Ghaisas
On Thu, 21 Sep 2023 16:39:35 GMT, Andy Goryachev wrote: >> Adding changes to the MonkeyTester application accumulated since the last >> test sprint, from a separate repository >> https://github.com/andy-goryachev-oracle/MonkeyTest >> >> User preferences location: >> The applications stores its

Re: [jfx-tests] RFR: 8316490: Problemlist ParallelCamera picking tests

2023-09-24 Thread Ajit Ghaisas
On Fri, 22 Sep 2023 09:40:31 GMT, Jayathirth D V wrote: > When we run 3D picking tests under test/scenegraph/fx3d/picking/parallel/ > nothing is displayed on the window and subscene parallel camera tests under > test/scenegraph/fx3d/subscene/picking/parallel/ throw > UnsupportedOperationExcept

Re: RFR: 8315657: Application window not activated in macOS 14 Sonoma

2023-09-26 Thread Ajit Ghaisas
On Thu, 21 Sep 2023 19:10:38 GMT, Kevin Rushforth wrote: > The fix for [JDK-8233678](https://bugs.openjdk.org/browse/JDK-8233678) added > a step to the NSApplication initialization to deactivate and then reactivate > the application. We trigger the deactivation the first time > applicationDidB

Re: [jfx-tests] RFR: 8316807: Exclude 3D subscene perspective camera picking tests

2023-09-29 Thread Ajit Ghaisas
On Fri, 29 Sep 2023 11:03:56 GMT, Jayathirth D V wrote: > While debugging subscene picking tests it was identified that in subscene > mouse events are not captured when we click on area where nothing is drawn or > filled. > All the picking tests actually click on these null points and expect a

Re: RFR: 8296266: TextArea: Navigation breaks with RTL text

2023-10-04 Thread Ajit Ghaisas
On Tue, 22 Aug 2023 20:46:21 GMT, Andy Goryachev wrote: > The fix uses character BreakIterator instead of the logic that relies on > caretBounds/hitTest/rangeShape in TextInputControl.nextCharacterVisually(). > > I believe this is a more reliable method of navigation, as it behaves in sync > w

Re: RFR: 8314906: [testbug] Create behavior tests for text input controls [v9]

2023-10-05 Thread Ajit Ghaisas
On Tue, 19 Sep 2023 21:53:16 GMT, Andy Goryachev wrote: >> Creating the first batch of tests and testing framework that enables writing >> behavior tests for javafx controls, focusing on key bindings. The idea is >> to make writing such tests a simple process. >> >> This PR deals with the d

Re: RFR: 8314906: [testbug] Create behavior tests for text input controls [v10]

2023-10-09 Thread Ajit Ghaisas
On Fri, 6 Oct 2023 18:58:56 GMT, Andy Goryachev wrote: >> Creating the first batch of tests and testing framework that enables writing >> behavior tests for javafx controls, focusing on key bindings. The idea is >> to make writing such tests a simple process. >> >> This PR deals with the de

Re: RFR: 8318059: Typo is javafx.scene.Node.usesMirroring comment

2023-10-12 Thread Ajit Ghaisas
On Fri, 13 Oct 2023 03:23:42 GMT, Prasanta Sadhukhan wrote: > Corrected the typo Looks good! - Marked as reviewed by aghaisas (Reviewer). PR Review: https://git.openjdk.org/jfx/pull/1260#pullrequestreview-1675641812

Re: RFR: 8314906: [testbug] Create behavior tests for text input controls [v11]

2023-10-13 Thread Ajit Ghaisas
On Thu, 12 Oct 2023 17:08:39 GMT, Andy Goryachev wrote: >> Creating the first batch of tests and testing framework that enables writing >> behavior tests for javafx controls, focusing on key bindings. The idea is >> to make writing such tests a simple process. >> >> This PR deals with the d

Re: RFR: 8318115: Webkit build fails after gradle 8.4

2023-10-14 Thread Ajit Ghaisas
On Sat, 14 Oct 2023 05:17:44 GMT, Ambarish Rapte wrote: > Few dependency were missed to be added for webkit build. > With this change webkit build completes successfully. > Please review Approving based on successful CI builds on all platforms. - Marked as reviewed by aghaisas (Rev

Re: RFR: JDK-8187314: All Cells: must show backing data always

2023-10-31 Thread Ajit Ghaisas
On Fri, 4 Aug 2023 18:13:34 GMT, Marius Hanl wrote: > Before, the `updateItem` method was called with the new value that was > committed via `commitEdit()`. > This is problematic as developers may setup a commit handler via > `setOnEditCommit`, which may reject the edit (or change the value oth

Re: CFV: New OpenJFX Committer: Florian Kirmaier

2023-11-16 Thread Ajit Ghaisas
Vote: YES Regards, Ajit > On 16-Nov-2023, at 9:08 PM, Kevin Rushforth > wrote: > > I hereby nominate Florian Kirmaier [1] to OpenJFX Committer. > > Florian is an OpenJFX community member, who has contributed 24 commits [2] to > OpenJFX. > > Votes are due by November 30, 2023 at 16:00 UTC. >

Re: CFV: New OpenJFX Committer: Martin Fox

2023-11-16 Thread Ajit Ghaisas
Vote: YES Regards, Ajit > On 16-Nov-2023, at 9:24 PM, Kevin Rushforth > wrote: > > I hereby nominate Martin Fox [1] to OpenJFX Committer. > > Martin is an OpenJFX community member, who has contributed 12 commits [2] to > OpenJFX. > > Votes are due by November 30, 2023 at 16:00 UTC. > > Onl

Re: RFR: 8284544: [Win] Name-Property of Spinner cannot be changed [v3]

2023-12-05 Thread Ajit Ghaisas
On Wed, 22 Nov 2023 17:05:36 GMT, Ambarish Rapte wrote: >> Currently we use the value of spinner as it's `UIA_NamePropertyId` when a11y >> client application requests for it. >> Ideally we should use the text set by `Node.setAccessibleText()` as the >> `UIA_NamePropertyId`. >> For other control

Re: RFR: 8278021: Fix warnings in macOS glass native code and treat warnings as errors [v5]

2024-02-22 Thread Ajit Ghaisas
On Mon, 5 Feb 2024 16:46:40 GMT, Martin Fox wrote: >> Turning on warnings-as-errors for the macOS glass native code. Deprecated >> declarations are excluded and still appear as warnings. >> >> In the code that tries to locate the application's dock icon there were >> three instances where `NO`

Re: RFR: 8255679: RegionBackgroundImageUITest.unalignedImage_Cover fails because of wrong color

2024-03-14 Thread Ajit Ghaisas
On Wed, 13 Mar 2024 08:56:13 GMT, Jayathirth D V wrote: > Updated test to get screen capture in different platforms to see how we are > picking colors. Found that this test fails because it assumes that red,green > & blue bands in the test image are of equal size and picks color based on > tha

Re: RFR: 8328399: Add hs_err_pid* to .gitignore

2024-03-19 Thread Ajit Ghaisas
On Mon, 18 Mar 2024 23:31:03 GMT, Andy Goryachev wrote: > Q: Any other files? May be `.DS_Store` file - PR Comment: https://git.openjdk.org/jfx/pull/1408#issuecomment-2007598297

Re: RFR: 8328399: Add hs_err_pid* to .gitignore

2024-03-19 Thread Ajit Ghaisas
On Mon, 18 Mar 2024 23:31:03 GMT, Andy Goryachev wrote: > Add hs_err_pid* to .gitignore > > Q: Any other files? Marked as reviewed by aghaisas (Reviewer). Oops... I saw the JBS Description now. It is already ignored. - PR Review: https://git.openjdk.org/jfx/pull/1408#pullrequestr

Re: RFR: 8328811: Fix missing @Overrides in demos

2024-03-28 Thread Ajit Ghaisas
On Fri, 22 Mar 2024 15:54:42 GMT, Andy Goryachev wrote: > Fixing missing @Overrides in demo apps. > > This is still a trivial change since all the spots are identified by the IDE. Looks good. - Marked as reviewed by aghaisas (Reviewer). PR Review: https://git.openjdk.org/jfx/pull

Re: RFR: 8328754: Fix missing @Overrides in test

2024-03-28 Thread Ajit Ghaisas
On Fri, 22 Mar 2024 15:55:35 GMT, Andy Goryachev wrote: > Fixing missing @ OVERRIDES in tests. > > This is still a trivial change since all the spots are identified by the IDE. Looks good. - Marked as reviewed by aghaisas (Reviewer). PR Review: https://git.openjdk.org/jfx/pull/14

RFR: 8279514: NPE on clearing value of IntegerSpinnerValueFactory

2022-08-10 Thread Ajit Ghaisas
A null check has been added to below SpinnerValueFactory classes in valueProperty() ChangeListeners- - `IntegerSpinnerValueFactory` - `LocalDateSpinnerValueFactory` - `LocalTimeSpinnerValueFactory` - `ListSpinnerValueFactory` Added 5 tests that detect NPE for above 4 Spinner factories. Only `Doub

Re: RFR: 8279514: NPE on clearing value of IntegerSpinnerValueFactory [v2]

2022-08-10 Thread Ajit Ghaisas
NPE for above 4 Spinner factories. > Only `DoubleSpinnerValueFactory` already had a valid null check - so the test > for it passes before and after. Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision: Simplify null asserts

Re: RFR: 8290844: Add Skin.install() method [v2]

2022-08-11 Thread Ajit Ghaisas
On Wed, 10 Aug 2022 22:14:53 GMT, Andy Goryachev wrote: >> - added Skin.install() >> - javadoc changes for Skinnable.setSkin(Skin) >> >> no code changes for Skinnable.setSkin(Skin) yet. > > Andy Goryachev has updated the pull request incrementally with one additional > commit since the last rev

Re: RFR: 8291908: VirtualFlow creates unneeded empty cells

2022-08-16 Thread Ajit Ghaisas
On Thu, 4 Aug 2022 14:30:40 GMT, Johan Vos wrote: > When calculating the viewportOffset, we now already take into account that > cells will have to shift. > > This prevents the creation of temporary empty cells in the layout phase. > One test needed to be fixed, since the number of invocations

Re: RFR: 8291625: DialogPane without header nor headerText nor graphic node adds padding to the left of the content pane

2022-08-16 Thread Ajit Ghaisas
On Tue, 2 Aug 2022 10:45:54 GMT, Jose Pereda wrote: > This PR fixes an issue when there is a DialogPane that has no header and no > graphic is set, by adding the `graphic-container` styleclass only when there > is a non-null graphic applied, preventing the padding that otherwise the > graphic

Re: RFR: 8291625: DialogPane without header nor headerText nor graphic node adds padding to the left of the content pane

2022-08-16 Thread Ajit Ghaisas
On Tue, 2 Aug 2022 10:45:54 GMT, Jose Pereda wrote: > As part of this PR or as possible follow-up, it could be also discussed that > the right/bottom padding of the graphic container shouldn't be 0 when there > is no header and the graphic is laid out to the left of the content area. We can di

Re: RFR: 8235491: Tree/TableView: implementation of isSelected(int) violates contract [v7]

2022-08-16 Thread Ajit Ghaisas
On Fri, 12 Aug 2022 15:08:27 GMT, Andy Goryachev wrote: >>> >>> The tests were added to both TableViewSelectionModelImplTest and >>> TreeTableViewSelectionModelImplTest. >> >> hmm .. in TreeTableViewSelectionModelImplTest, I don't see any of the >> testRowSelectionAfterSelectAndHideLastColum

Re: RFR: 8235491: Tree/TableView: implementation of isSelected(int) violates contract [v11]

2022-08-17 Thread Ajit Ghaisas
On Fri, 12 Aug 2022 17:21:24 GMT, Andy Goryachev wrote: >> 1. reword SelectionModel.isSelected(int) javadoc, removing incorrect >> statement "Is functionally equivalent to calling >> getSelectedIndices().contains(index)." >> 2. reimplement TableView.TableViewSelectionModel.isSelected(int) meth

Re: RFR: 8087557: [Win] [Accessibility, Dialogs] Alert Dialog content is not fully read by Screen Reader [v3]

2022-08-18 Thread Ajit Ghaisas
On Wed, 17 Aug 2022 16:36:24 GMT, Ambarish Rapte wrote: >> Accessibility is not implemented for JavaFX dialogs. This change is to >> implement the accessibility on windows platform. >> Without this fix : On Windows platform, content of Dialog are not read by >> Windows Narrator or JAWS. >> With

Re: RFR: 8089009: TableView with CONSTRAINED_RESIZE_POLICY incorrectly displays a horizontal scroll bar. [v7]

2022-08-19 Thread Ajit Ghaisas
On Wed, 17 Aug 2022 02:21:30 GMT, Sai Pradeep Dandem wrote: >> **Issue:** >> When the `TableView` is set with built-in `CONSTRAINED_RESIZE_POLICY`, the >> horizontal scroll bar keeps flickering when the `TableView` width is reduced. >> >> **Cause:** >> The table columns widths are recalculated

Re: RFR: 8289542: Update JPEG Image Decoding Software to 9e

2022-08-24 Thread Ajit Ghaisas
On Wed, 17 Aug 2022 12:02:04 GMT, Ambarish Rapte wrote: > Update libjpeg to current version release [9e](http://www.ijg.org/) of > 16-Jan-2022 > > reference: https://jpegclub.org/reference/reference-sources/ > > Verified all test run on Windows and MacOS Marked as reviewed by aghaisas (Review

Re: RFR: 8284281: [Accessibility] [Win] [Narrator] Exceptions with TextArea & TextField when deleted last char [v2]

2022-08-29 Thread Ajit Ghaisas
On Fri, 26 Aug 2022 05:48:54 GMT, Ambarish Rapte wrote: >> Issue: >> When Narrator is running, >> 1. Deleting last character from `TextField` throws >> `IllegalArgumentException`, and >> 2. Deleting last character from `TextArea` throws `NPE`. >> >> Fix: >> When character is deleted, we recei

Integrated: 8279514: NPE on clearing value of IntegerSpinnerValueFactory

2022-09-01 Thread Ajit Ghaisas
On Wed, 10 Aug 2022 06:56:50 GMT, Ajit Ghaisas wrote: > A null check has been added to below SpinnerValueFactory classes in > valueProperty() ChangeListeners- > - `IntegerSpinnerValueFactory` > - `LocalDateSpinnerValueFactory` > - `LocalTimeSpinnerValueFactory` > - `ListS

Re: RFR: 8087673: [TableView] TableView and TreeTableView menu button overlaps columns when using a constrained resize policy. [v3]

2022-09-04 Thread Ajit Ghaisas
On Tue, 30 Aug 2022 11:21:26 GMT, Jose Pereda wrote: >> The corner region is currently laid out with this assumption: >> >> // position the top-right rectangle (which sits above the scrollbar) >> >> However, the vertical scrollbar is not always visible. Therefore, when that >> is the c

Re: RFR: 8279640: ListView with null SelectionModel/FocusModel throws NPE [v5]

2022-09-13 Thread Ajit Ghaisas
On Mon, 12 Sep 2022 16:27:06 GMT, Marius Hanl wrote: >> This PR fixes a bunch of NPEs when a null `SelectionModel` or `FocusModel` >> is set on a `ListView`. >> >> The following NPEs are fixed (all are also covered by exactly one test case): >> NPEs with null selection model: >> - Mouse click o

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

2022-09-13 Thread Ajit Ghaisas
On Wed, 10 Aug 2022 08:14:13 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 otherw

Re: RFR: 8089280: horizontal scrollbar should never become visible in TableView with constrained resize policy [v3]

2022-09-16 Thread Ajit Ghaisas
On Mon, 12 Sep 2022 15:33:29 GMT, Andy Goryachev wrote: >> Modified the tree/table view internals to suppress the horizontal (a.k.a. >> breadth in VirtualFlow) scroll bar when a constrained resize mode is in >> effect. This change complements fixes added in >> [JDK-8089009](https://bugs.openj

Re: RFR: 8089280: horizontal scrollbar should never become visible in TableView with constrained resize policy [v4]

2022-09-16 Thread Ajit Ghaisas
On Fri, 16 Sep 2022 16:13:57 GMT, Andy Goryachev wrote: >> Modified the tree/table view internals to suppress the horizontal (a.k.a. >> breadth in VirtualFlow) scroll bar when a constrained resize mode is in >> effect. This change complements fixes added in >> [JDK-8089009](https://bugs.openj

Re: RFR: 8292353: TableRow vs. TreeTableRow: inconsistent visuals in cell selection mode [v11]

2022-09-20 Thread Ajit Ghaisas
On Mon, 19 Sep 2022 15:44:58 GMT, Andy Goryachev wrote: >> The issue is caused by TreeTableRow incorrectly selected when cell selection >> mode is enabled. >> >> Changes: >> - modified TreeTableRow.updateSelection() > > Andy Goryachev has updated the pull request incrementally with one addition

Re: RFR: 8292353: TableRow vs. TreeTableRow: inconsistent visuals in cell selection mode [v11]

2022-09-20 Thread Ajit Ghaisas
On Tue, 20 Sep 2022 18:59:40 GMT, Andy Goryachev wrote: >> modules/javafx.controls/src/test/java/test/javafx/scene/control/TreeTableRowTest.java >> line 840: >> >>> 838: /** TreeTableView with cell selection enabled should not select >>> TreeTableRows */ >>> 839: @Test >>> 840: pub

Re: RFR: 8292353: TableRow vs. TreeTableRow: inconsistent visuals in cell selection mode [v12]

2022-09-21 Thread Ajit Ghaisas
On Tue, 20 Sep 2022 19:06:19 GMT, Andy Goryachev wrote: >> The issue is caused by TreeTableRow incorrectly selected when cell selection >> mode is enabled. >> >> Changes: >> - modified TreeTableRow.updateSelection() > > Andy Goryachev has updated the pull request incrementally with one addition

Re: RFR: 8292353: TableRow vs. TreeTableRow: inconsistent visuals in cell selection mode [v13]

2022-10-06 Thread Ajit Ghaisas
On Wed, 28 Sep 2022 19:07:26 GMT, Andy Goryachev wrote: >> The issue is caused by TreeTableRow incorrectly selected when cell selection >> mode is enabled. >> >> Changes: >> - modified TreeTableRow.updateSelection() > > Andy Goryachev has updated the pull request incrementally with one addition

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

2022-11-03 Thread Ajit Ghaisas
On Tue, 23 Aug 2022 20:20:11 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 vali

Re: RFR: 8290844: Add Skin.install() method [v19]

2022-11-03 Thread Ajit Ghaisas
On Mon, 31 Oct 2022 16:42:34 GMT, Andy Goryachev wrote: >> - added Skin.install() >> - javadoc changes for Skinnable.setSkin(Skin) > > Andy Goryachev has updated the pull request incrementally with one additional > commit since the last revision: > > 8290844: review comments Overall this loo

Re: RFR: 8290844: Add Skin.install() method [v19]

2022-11-03 Thread Ajit Ghaisas
On Thu, 3 Nov 2022 09:43:39 GMT, Ajit Ghaisas wrote: >> Andy Goryachev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> 8290844: review comments > > modules/javafx.controls/src/main/java/javafx/scene/contr

Re: RFR: 8290844: Add Skin.install() method [v20]

2022-11-03 Thread Ajit Ghaisas
On Thu, 3 Nov 2022 15:49:07 GMT, Andy Goryachev wrote: >> - added Skin.install() >> - javadoc changes for Skinnable.setSkin(Skin) > > Andy Goryachev has updated the pull request incrementally with one additional > commit since the last revision: > > 8290844: review comments Marked as reviewe

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

2022-11-03 Thread Ajit Ghaisas
On Thu, 3 Nov 2022 15:56:33 GMT, Andy Goryachev wrote: >> modules/javafx.controls/src/main/java/com/sun/javafx/scene/control/behavior/CellBehaviorBase.java >> line 274: >> >>> 272: protected void simpleSelect(MouseButton button, int clickCount, >>> boolean shortcutDown) { >>> 273:

  1   2   3   >