-
Bug
-
Resolution: Unresolved
-
P3
-
10
There are two wrong behaviors observed with ContextMenu added to the three controls ComboBox, DatePicker & ColorPicker.
1. Popup is displayed on mouse right button click.
2. ContextMenu does not hide when the control is removed from scene.
Steps:
1. Execute the attached program.
2. Right click on any control to show the related ContextMenu.
=> Observe that both context menu & popup are displayed.
3. Click on the popup.
4. onAction listener is called and the listener remove that control from scene.
=> Observe that the ContextMenu is still shown.
Expected behavior:
1. Popup should be displayed only on left mouse click.
2. ContextMenu should hide when the control is removed from scene.
1. Popup is displayed on mouse right button click.
2. ContextMenu does not hide when the control is removed from scene.
Steps:
1. Execute the attached program.
2. Right click on any control to show the related ContextMenu.
=> Observe that both context menu & popup are displayed.
3. Click on the popup.
4. onAction listener is called and the listener remove that control from scene.
=> Observe that the ContextMenu is still shown.
Expected behavior:
1. Popup should be displayed only on left mouse click.
2. ContextMenu should hide when the control is removed from scene.