1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules/juce_gui_basics
reuk 8ccea668e4
PopupMenu: Adjust mouse interactions so that menu is only dismissed on mouseUp if the mouse has moved
Previously, MouseSourceState::checkButtonState would trigger a menu item
if the MouseSourceState had observed the mouse button transition from
pressed to released while over an item, after more than 250ms had
elapsed since creating the menu window. In situations where the main
thread was very busy, this timeout could sometimes be reached inside the
same mouse click/release gesture. If the menu was created inside a
mouse-down, then simply tapping the mouse could sometimes trigger an
item from the menu as soon as the menu window appeared.

To help avoid accidentally triggering menu items, the menu window now
prevents any item from being triggered by the mouse until either the
mouse has been released once, or the mouse has moved. Put another way,
if the mouse is initially pressed when the menu is shown, it cannot
trigger a menu item unless the mouse is moved before it is released.
2024-10-20 22:59:40 +01:00
..
accessibility Update licensing information 2024-04-16 11:39:35 +01:00
application Update licensing information 2024-04-16 11:39:35 +01:00
buttons Font: Deprecate getStringWidth and getGlyphPositions 2024-09-18 19:13:09 +01:00
commands Update licensing information 2024-04-16 11:39:35 +01:00
components Component: Ensure global mouse listeners are notified on mouse up 2024-10-20 22:59:39 +01:00
desktop Reapply "Windows: Use new window hit-testing API to implement Windows window-management features like Aero Snap" 2024-07-29 16:11:59 +01:00
detail Singleton: Add new macros to simplify singleton creation 2024-10-16 10:36:52 +01:00
drawables Font: Deprecate getStringWidth and getGlyphPositions 2024-09-18 19:13:09 +01:00
filebrowser Versioning: Add the JUCE version number to any internally created threads 2024-09-26 08:10:56 +00:00
keyboard FocusTraverser: Make more things const 2024-08-01 16:10:09 +00:00
layout Viewport: Avoid stack overflows when displaying transformed content components 2024-10-02 11:35:38 +01:00
lookandfeel Font: Deprecate getStringWidth and getGlyphPositions 2024-09-18 19:13:09 +01:00
menus PopupMenu: Adjust mouse interactions so that menu is only dismissed on mouseUp if the mouse has moved 2024-10-20 22:59:40 +01:00
misc Projucer: Remove the JUCE splash screen and update licensing 2024-04-16 17:43:19 +01:00
mouse Direct2D: Add initial support 2024-04-18 14:16:02 +01:00
native MessageBox: Avoid potential divide-by-zero for boxes with no buttons 2024-10-20 22:59:39 +01:00
positioning Update licensing information 2024-04-16 11:39:35 +01:00
properties Update licensing information 2024-04-16 11:39:35 +01:00
widgets Font: Deprecate getStringWidth and getGlyphPositions 2024-09-18 19:13:09 +01:00
windows Windowing: Reinstate old WindowFromPoint behaviour in ComponentPeer::contains 2024-10-02 11:35:39 +01:00
juce_gui_basics.cpp Direct2D: Share more implementation headers between modules 2024-08-22 18:18:14 +01:00
juce_gui_basics.h Bump version number to 8.0.3 2024-10-15 22:16:12 +01:00
juce_gui_basics.mm Update licensing information 2024-04-16 11:39:35 +01:00