-
Bug
-
Resolution: Duplicate
-
P4
-
8u20
-
java version "1.8.0_20-ea"
Java(TM) SE Runtime Environment (build 1.8.0_20-ea-b19)
Java HotSpot(TM) 64-Bit Server VM (build 25.20-b19, mixed mode)
I use a CustomMenuItem with hideOnClick = false.
If the CustomMenuItem contains nodes with onAction property (like TextField or Button), then when the onAction handler of these nodes is invoked, the popup is dismissed => BUG.
You have to explicitly consume the ActionEvent to keep the popup showing.
Simple test case attached.
Using FX 8, you can enter the TextField or press the button, the menu popup is still showing.
Using FX 8u20, the popup is dismissed.
If the CustomMenuItem contains nodes with onAction property (like TextField or Button), then when the onAction handler of these nodes is invoked, the popup is dismissed => BUG.
You have to explicitly consume the ActionEvent to keep the popup showing.
Simple test case attached.
Using FX 8, you can enter the TextField or press the button, the menu popup is still showing.
Using FX 8u20, the popup is dismissed.
- blocks
-
JDK-8096653 Accelerator editor does not work anymore
-
- Resolved
-
- duplicates
-
JDK-8092523 Clicking a stop in ColorPicker dismisses the popup.
-
- Resolved
-
-
JDK-8094307 Selecting an Effect in the EffectsPicker dismisses the popup
-
- Resolved
-