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_extra
reuk e4b8569b12
TextEditor: Avoid giving away keyboard focus unconditionally in destructor
While improving Android IME support (da38c1ed), text editor destructors
were updated to explicitly pass keyboard focus elsewhere.
As far as I remember, the change was intended to prevent the text input
system from trying to send input events to components while they were
being destroyed, in which case the TextInputTarget and Component bases
may be 'valid', but the data members referenced by the TextInputTarget
implementation may have been destroyed.

The motivation for removing these lines is that giving away focus and
sending a focus event can cause all components to become unfocused. This
is problematic in the case of slider text editors - pressing 'enter'
will cause the TextEditor to be destroyed, but the parent component will
fail to gain focus, so pressing 'tab' will not have any effect.
2023-07-31 19:36:32 +01:00
..
code_editor TextEditor: Avoid giving away keyboard focus unconditionally in destructor 2023-07-31 19:36:32 +01:00
documents ScopedMessageBox: Replace old AlertWindow uses with new API 2023-02-22 21:00:17 +00:00
embedding WebBrowserComponent: iOS: Add accessibility integration 2023-06-08 16:07:11 +00:00
misc Doxygen: Fix some Doxygen issues 2023-07-17 18:24:01 +01:00
native Windows WebView2: Fix build on C++17 2023-06-14 12:47:17 +00:00
juce_gui_extra.cpp Native: Rename all native files for improved consistency 2023-04-04 19:54:29 +01:00
juce_gui_extra.h Bump version number to 7.0.5 2023-01-25 11:37:31 +00:00
juce_gui_extra.mm Update licensing banners to JUCE 7 2022-05-16 17:55:48 +01:00