1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-30 02:50:05 +00:00
JUCE/modules/juce_gui_basics/menus
attila a1a8e1339f PopupMenu: Fix click-through from submenu
Previously it was possible to inadvertently activate a menu item by
clicking on a submenu item that was drawn on top of the parent menu.

The root cause was that hide() initiates an asynchronous mechanism
through exitModalState() that eventually destroys the MenuWindow, but
the MouseSourceState timer callbacks and event handlers sometimes still
had a chance to do a state update. Since the submenus have just been
destroyed the update could mistakenly conclude to activate one of the
items of the now lone parent.
2022-02-08 17:38:32 +01:00
..
juce_BurgerMenuComponent.cpp Accessibility: Added VoiceOver (macOS) and Narrator (Windows) accessibility screen reader support to juce_gui_basics 2021-05-10 10:53:14 +01:00
juce_BurgerMenuComponent.h Accessibility: Make createAccessibilityHandler() private in Component subclasses 2021-09-07 11:23:17 +01:00
juce_MenuBarComponent.cpp MenuBarComponent: Avoid dereferencing dangling pointer when dismissing menus 2021-11-19 16:35:22 +00:00
juce_MenuBarComponent.h Accessibility: Make createAccessibilityHandler() private in Component subclasses 2021-09-07 11:23:17 +01:00
juce_MenuBarModel.cpp Updated all license headers 2020-06-29 08:30:22 +01:00
juce_MenuBarModel.h Updated all license headers 2020-06-29 08:30:22 +01:00
juce_PopupMenu.cpp PopupMenu: Fix click-through from submenu 2022-02-08 17:38:32 +01:00
juce_PopupMenu.h Nodiscard: Add to builder-pattern functions 2022-01-27 18:43:21 +00:00