Re: RFR: 8313556: Create implementation of NSAccessibilitySlider protocol [v6]

2023-11-21 Thread Ambarish Rapte
On Wed, 15 Nov 2023 22:00:13 GMT, Alexander Zuev wrote: >> Create implementation for Slider and Stepper accessibility protocols. >> Fix mapping. >> Fix performAction parameter type in declaration. > > Alexander Zuev has updated the pull request incrementally with one additional > commit since th

Re: RFR: JDK-8320444: Column drag header is positioned wrong for nested columns [v2]

2023-11-21 Thread Karthik P K
On Tue, 21 Nov 2023 20:03:31 GMT, Marius Hanl wrote: >> When a nested column is dragged, the column drag header (blue) is positioned >> wrong. >> It appears at the very left of the table and not where the column is. >> >> ![image](https://github.com/openjdk/jfx/assets/66004280/6c2a0f61-f32d-4c3

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread John Hendrikx
On Tue, 21 Nov 2023 21:11:43 GMT, Nir Lisker wrote: > Deprecating for removal `getDateFormat()` in `TimeStringConverter` and > `DateStringConverter` after it was removed already in > `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` > (and subclasses). Marked as re

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

2023-11-21 Thread Ambarish Rapte
On Tue, 21 Nov 2023 16:32:26 GMT, Kevin Rushforth wrote: >> Ambarish Rapte has updated the pull request incrementally with one >> additional commit since the last revision: >> >> add @since 22 > > modules/javafx.controls/src/main/java/javafx/scene/control/Spinner.java line > 851: > >> 849:

Re: ESC key binding on the Scene

2023-11-21 Thread John Hendrikx
IMHO, FX should not be consuming keys when they do nothing. Navigation keys are also always consumed (cursor keys + TAB), even when focus did not change. I think this is because of the auto consume flag being set on many key bindings, while those bindings often have another condition in their

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

2023-11-21 Thread Ambarish Rapte
> 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 controls such as Slider, ListView we use the text set by > setAccessi

Re: RFR: 8092272: [D3D 3D] Need a robust 3D states management for texture [v2]

2023-11-21 Thread Michael Strauß
On Wed, 15 Nov 2023 13:00:54 GMT, Nir Lisker wrote: >> You're right, there's no implicit conversion from scoped enums to integers. >> While one could get very creative with C++, maybe just using an unscoped >> enum is easier. You might want to prefix the constants with `MT_` or >> something li

Re: RFR: JDK-8320444: Column drag header is positioned wrong for nested columns [v2]

2023-11-21 Thread Michael Strauß
On Tue, 21 Nov 2023 20:03:31 GMT, Marius Hanl wrote: >> When a nested column is dragged, the column drag header (blue) is positioned >> wrong. >> It appears at the very left of the table and not where the column is. >> >> ![image](https://github.com/openjdk/jfx/assets/66004280/6c2a0f61-f32d-4c3

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Nir Lisker
On Tue, 21 Nov 2023 23:19:56 GMT, Andy Goryachev wrote: > It's just weird - allowing core classes to override yet denying this freedom > to the app dev. I don't think these classes should have existed. They don't add any functionality and could have been specialized constant implementations.

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Andy Goryachev
On Tue, 21 Nov 2023 23:36:56 GMT, Nir Lisker wrote: > Saves upkeeping 2 copies. this should be a standard operating procedure, in my opinion. - PR Comment: https://git.openjdk.org/jfx/pull/1294#issuecomment-1821864861

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Andy Goryachev
On Tue, 21 Nov 2023 21:11:43 GMT, Nir Lisker wrote: > Deprecating for removal `getDateFormat()` in `TimeStringConverter` and > `DateStringConverter` after it was removed already in > `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` > (and subclasses). CSR is neede

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Nir Lisker
On Tue, 21 Nov 2023 21:11:43 GMT, Nir Lisker wrote: > Deprecating for removal `getDateFormat()` in `TimeStringConverter` and > `DateStringConverter` after it was removed already in > `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` > (and subclasses). Is the const

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Andy Goryachev
On Tue, 21 Nov 2023 21:11:43 GMT, Nir Lisker wrote: > Deprecating for removal `getDateFormat()` in `TimeStringConverter` and > `DateStringConverter` after it was removed already in > `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` > (and subclasses). so the app d

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Nir Lisker
On Tue, 21 Nov 2023 21:11:43 GMT, Nir Lisker wrote: > Deprecating for removal `getDateFormat()` in `TimeStringConverter` and > `DateStringConverter` after it was removed already in > `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` > (and subclasses). No, they wou

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Andy Goryachev
On Tue, 21 Nov 2023 21:11:43 GMT, Nir Lisker wrote: > Deprecating for removal `getDateFormat()` in `TimeStringConverter` and > `DateStringConverter` after it was removed already in > `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` > (and subclasses). The question

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Nir Lisker
On Tue, 21 Nov 2023 21:11:43 GMT, Nir Lisker wrote: > Deprecating for removal `getDateFormat()` in `TimeStringConverter` and > `DateStringConverter` after it was removed already in > `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` > (and subclasses). `DateTimeStr

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Andy Goryachev
On Tue, 21 Nov 2023 21:11:43 GMT, Nir Lisker wrote: > Deprecating for removal `getDateFormat()` in `DateTimeStringConverter` and > `DateTimeStringConverter` after it was removed already in > `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` > (and subclasses). Sorr

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Nir Lisker
On Tue, 21 Nov 2023 21:47:36 GMT, Andy Goryachev wrote: > Are we going to make all these private at some point? They are going to be made package-private so that they are not public API while still can be read by subclasses. There's no "internal protected" visibility that would be ideal here.

Re: RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Andy Goryachev
On Tue, 21 Nov 2023 21:11:43 GMT, Nir Lisker wrote: > Deprecating for removal `getDateFormat()` in `DateTimeStringConverter` and > `DateTimeStringConverter` after it was removed already in > `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` > (and subclasses). Are

Re: RFR: JDK-8320444: Column drag header is positioned wrong for nested columns [v2]

2023-11-21 Thread Andy Goryachev
On Tue, 21 Nov 2023 20:03:31 GMT, Marius Hanl wrote: >> When a nested column is dragged, the column drag header (blue) is positioned >> wrong. >> It appears at the very left of the table and not where the column is. >> >> ![image](https://github.com/openjdk/jfx/assets/66004280/6c2a0f61-f32d-4c3

Re: RFR: 8313556: Create implementation of NSAccessibilitySlider protocol [v6]

2023-11-21 Thread Andy Goryachev
On Wed, 15 Nov 2023 22:00:13 GMT, Alexander Zuev wrote: >> Create implementation for Slider and Stepper accessibility protocols. >> Fix mapping. >> Fix performAction parameter type in declaration. > > Alexander Zuev has updated the pull request incrementally with one additional > commit since th

RFR: 8314597: Deprecate for removal protected access methods in converters

2023-11-21 Thread Nir Lisker
Deprecating for removal `getDateFormat()` in `DateTimeStringConverter` and `DateTimeStringConverter` after it was removed already in `DateTimeStringConverter`, and `getNumberFormat()` in `NumberStringConverter` (and subclasses). - Commit messages: - Deprecate protected methods Ch

Re: RFR: 8313556: Create implementation of NSAccessibilitySlider protocol [v2]

2023-11-21 Thread Alexander Zuev
On Wed, 30 Aug 2023 14:21:48 GMT, Ambarish Rapte wrote: >> Alexander Zuev has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Add commented out debug statements. > > I observed few warnings and behavioral differences. > - Warnings: > 1. > m

Integrated: 8318387: Update GStreamer to 1.22.6

2023-11-21 Thread Alexander Matveev
On Fri, 17 Nov 2023 21:27:04 GMT, Alexander Matveev wrote: > - GStreamer updated to 1.22.6 and GLib updated to 2.78.1. > - Tested on all platforms with all supported media streams. > - GStreamer 1.22.6 requires GLib 2.62.0, but since we need to support older > GLib versions on Linux following A

Re: [External] : Re: ESC key binding on the Scene

2023-11-21 Thread Andy Goryachev
Created https://bugs.openjdk.org/browse/JDK-8320557 Feel free to add additional details. -andy From: openjfx-dev on behalf of Andy Goryachev Date: Tuesday, November 21, 2023 at 12:39 To: Thiago Milczarek Sayão Cc: openjfx-dev Subject: Re: [External] : Re: ESC key binding on the Scene So it

Re: RFR: JDK-8320444: Column drag header is positioned wrong for nested columns [v2]

2023-11-21 Thread Andy Goryachev
On Tue, 21 Nov 2023 20:00:56 GMT, Marius Hanl wrote: >> good point. >> >> May I suggest to declare constants for column widths and column reordering >> coordinates so the origin of these numbers becomes clear? >> Also, we are comparing floating point numbers, so perhaps it's better >> specify

Re: [External] : Re: ESC key binding on the Scene

2023-11-21 Thread Andy Goryachev
So it might be a bug in TextInputControl/TextField/TextArea - they should not consume events if there is nothing to cancel. I see there are more scenarios like this, to be solved with the InputMap proposal currently being discussed. I’ll create a separate bug. Thank you! -andy From: Thiago

[jfx21u] RFR: 8317370: JavaFX runtime version is wrong at runtime

2023-11-21 Thread John Neffenger
Backport 16169240667876633895b27464eb90033abb6166 Please review this backport of openjdk/jfx#1253 to JavaFX 21. Please give me a day or two to test it again before starting your review. - Commit messages: - Backport 16169240667876633895b27464eb90033abb6166 Changes: https://git.ope

Re: ESC key binding on the Scene

2023-11-21 Thread Thiago Milczarek Sayão
Andy, I think you're right about the formatter. The idea was to let the key propagate if there's nothing to cancel. For example: If I want to cancel the edit, one ESC. The second ESC would propagate because there's nothing to cancel. Thank you for the reply. Em ter., 21 de nov. de 2023 às 14

Re: RFR: JDK-8320444: Column drag header is positioned wrong for nested columns [v2]

2023-11-21 Thread Marius Hanl
> When a nested column is dragged, the column drag header (blue) is positioned > wrong. > It appears at the very left of the table and not where the column is. > > ![image](https://github.com/openjdk/jfx/assets/66004280/6c2a0f61-f32d-4c38-9549-e2e20f5bd4f8) > > The fix is to calculate the bound

Re: RFR: JDK-8320444: Column drag header is positioned wrong for nested columns [v2]

2023-11-21 Thread Marius Hanl
On Tue, 21 Nov 2023 17:28:26 GMT, Andy Goryachev wrote: >> modules/javafx.controls/src/test/java/test/javafx/scene/control/skin/TableViewSkinTest.java >> line 225: >> >>> 223: TableColumnHeaderShim.columnReordering(tableColumnHeader, >>> bounds.getMinX() + 20, bounds.getMinY()); >>> 22

Re: [External] : Re: javafx.base and java.desktop

2023-11-21 Thread Kevin Rushforth
Most of it is the documentation, but there is also the need to find and document any cases that could fail. My expectation is that those are uninteresting corner cases. The documentation for the property adapter classes indicates that its use is for inter-operating between JavaFX properties an

Re: RFR: JDK-8320444: Column drag header is positioned wrong for nested columns

2023-11-21 Thread Andy Goryachev
On Mon, 20 Nov 2023 22:24:58 GMT, Marius Hanl wrote: > When a nested column is dragged, the column drag header (blue) is positioned > wrong. > It appears at the very left of the table and not where the column is. > > ![image](https://github.com/openjdk/jfx/assets/66004280/6c2a0f61-f32d-4c38-954

Re: Public Behavior API proposal

2023-11-21 Thread Andy Goryachev
Thank you for clarification, Michael. I see InputMap as an intrinsic part of any Control. Allowing for customization of key bindings is absolute must, in my opinion. Splitting the input map into a user one and a skin one allows for decoupling of behavior from the input map, so you are free to

Re: ESC key binding on the Scene

2023-11-21 Thread Andy Goryachev
Dear Thiago: I don’t think it’s related to undo but to a TextField with a formatter. The question is - do you want to disable the standard behavior (updating the text using the formatter on ESCAPE) completely? Or perhaps you do want to let TextField invoke cancelEdit() (see TextInputControlBeh

Re: RFR: JDK-8320444: Column drag header is positioned wrong for nested columns

2023-11-21 Thread Andy Goryachev
On Tue, 21 Nov 2023 13:42:05 GMT, Karthik P K wrote: >> When a nested column is dragged, the column drag header (blue) is positioned >> wrong. >> It appears at the very left of the table and not where the column is. >> >> ![image](https://github.com/openjdk/jfx/assets/66004280/6c2a0f61-f32d-4c3

Re: RFR: 8318387: Update GStreamer to 1.22.6 [v2]

2023-11-21 Thread Kevin Rushforth
On Tue, 21 Nov 2023 01:03:07 GMT, Alexander Matveev wrote: >> - GStreamer updated to 1.22.6 and GLib updated to 2.78.1. >> - Tested on all platforms with all supported media streams. >> - GStreamer 1.22.6 requires GLib 2.62.0, but since we need to support older >> GLib versions on Linux followi

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

2023-11-21 Thread Kevin Rushforth
On Mon, 20 Nov 2023 05:37:38 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 controls suc

Re: [External] : Re: JavaFX 21.0.2 will be closed for fixes on December 4th

2023-11-21 Thread Kevin Rushforth
This one looks OK to me as long as there are no dependencies on other fixes. It's been in jfx22 for a couple months, and don't recall any regressions. Johan and Jose: you reviewed it, any concerns? -- Kevin On 11/21/2023 8:13 AM, Thiago Milczarek Sayão wrote: Hi Kevin, Some folks from the

Re: JavaFX 21.0.2 will be closed for fixes on December 4th

2023-11-21 Thread Thiago Milczarek Sayão
Hi Kevin, Some folks from the JabRef project asked to backport this: https://github.com/openjdk/jfx/pull/1173 JabRef project issue: https://github.com/JabRef/jabref/issues/5867 I don't know if it fits the backport rationale. -- Thiago. Em seg., 20 de nov. de 2023 às 21:59, Kevin Rushforth

Re: RFR: JDK-8320444: Column drag header is positioned wrong for nested columns

2023-11-21 Thread Karthik P K
On Mon, 20 Nov 2023 22:24:58 GMT, Marius Hanl wrote: > When a nested column is dragged, the column drag header (blue) is positioned > wrong. > It appears at the very left of the table and not where the column is. > > ![image](https://github.com/openjdk/jfx/assets/66004280/6c2a0f61-f32d-4c38-954

ESC key binding on the Scene

2023-11-21 Thread Thiago Milczarek Sayão
Hi, I would like to use ESC to close Stages. The problem is that if the focus is on a TextField, it consumes the event. ESC is the key binding to Undo on the TextField, but it's always consumed, even if there's nothing to undo. Is this correct? Should it not propagate if there's nothing to undo?

[jfx21u] Integrated: 8311185: VirtualFlow jump when cellcount changes

2023-11-21 Thread Jose Pereda
On Tue, 21 Nov 2023 08:56:42 GMT, Jose Pereda wrote: > Clean backport of 8311185: VirtualFlow jump when cellcount changes > Reviewed-by: angorya, kcr This pull request has now been integrated. Changeset: 376d70d2 Author:Jose Pereda URL: https://git.openjdk.org/jfx21u/commit/376d70d2

[jfx21u] RFR: 8311185: VirtualFlow jump when cellcount changes

2023-11-21 Thread Jose Pereda
Clean backport of 8311185: VirtualFlow jump when cellcount changes Reviewed-by: angorya, kcr - Commit messages: - 8311185: VirtualFlow jump when cellcount changes Changes: https://git.openjdk.org/jfx21u/pull/31/files Webrev: https://webrevs.openjdk.org/?repo=jfx21u&pr=31&range=00

Re: RFR: 8318387: Update GStreamer to 1.22.6 [v2]

2023-11-21 Thread Joeri Sykora
On Tue, 21 Nov 2023 01:03:07 GMT, Alexander Matveev wrote: >> - GStreamer updated to 1.22.6 and GLib updated to 2.78.1. >> - Tested on all platforms with all supported media streams. >> - GStreamer 1.22.6 requires GLib 2.62.0, but since we need to support older >> GLib versions on Linux followi