On Wed, 26 Nov 2025 16:11:52 GMT, Ziad El Midaoui <[email protected]> 
wrote:

> The issue occurred because the skin marks the button cell as “empty” when the 
> value becomes null.
> With the fix clearing the ComboBox value re-shows the prompt text.
> Tested using the code present in the bug.

Manually tested the program attached to the bug. Change fixes the bug.
Can you please try for adding a test.

modules/javafx.controls/src/main/java/javafx/scene/control/skin/ComboBoxListViewSkin.java
 line 457:

> 455:             if (cell == null) return true;
> 456: 
> 457:             // JDK-8296653

We generally don't include the bug id. Please remove.

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

Marked as reviewed by arapte (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/1989#pullrequestreview-3513691743
PR Review Comment: https://git.openjdk.org/jfx/pull/1989#discussion_r2567302050

Reply via email to