RFR: 8279140: ComboBox can lose selected value on item change via setAll

Karthik P K kpk at openjdk.org
Tue May 7 12:01:58 UTC 2024


On Tue, 7 May 2024 10:10:23 GMT, Karthik P K <kpk at openjdk.org> wrote:

> The `ComboBox` value was not set to previously selected value in the item list change listener when `setAll` method is used to change the item list. Fixed the issue by restoring the selection in this case.
> 
> Added a unit test to validate the fix

I missed to validate the test case present in [JDK-8279139](https://bugs.openjdk.org/browse/JDK-8279139) and looks like it is not yet fixed. Hence I will change this PR to draft for now

-------------

PR Comment: https://git.openjdk.org/jfx/pull/1452#issuecomment-2098238722


More information about the openjfx-dev mailing list