-
Bug
-
Resolution: Fixed
-
P3
-
jfx14
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8279787 | 8u331 | Kevin Rushforth | P3 | Resolved | Fixed | b04 |
It can be easily reproduced by either modifying test
@Test public void testAcceleratorIsNotFiredWhenMenuItemRemovedFromScene() {
KeyEventFirer kb = new KeyEventFirer(item1, scene);
kb.doKeyPress(KeyCode.DIGIT1, KeyModifier.ALT);
assertEquals(1, eventCounter);
// Remove all children from the scene
Group root = (Group)scene.getRoot();
root.getChildren().clear();
kb.doKeyPress(KeyCode.DIGIT1, KeyModifier.ALT);
assertEquals(1, eventCounter);
}
- backported by
-
JDK-8279787 Accelerator of ContextMenu's MenuItem is not removed when ContextMenu is removed from Scene
- Resolved
- blocks
-
JDK-8274022 Additional Memory Leak in ControlAcceleratorSupport
- Resolved
- is blocked by
-
JDK-8231692 Test Infrastructure: enhance KeyEventFirer to inject keyEvents into scene
- Resolved
- relates to
-
JDK-8268374 MenuItem's accelerator gets fired even when ContextMenu is set to null
- Open
-
JDK-8283449 TabPane/Tab memory leak
- Open
-
JDK-8175358 Memory leak when moving MenuButton into another Scene
- Resolved
-
JDK-8283551 ControlAcceleratorSupport menu items listener causes memory leak
- Resolved