1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00
JUCE/modules
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
..
juce_analytics Bump version number to 7.0.5 2023-01-25 11:37:31 +00:00
juce_audio_basics AudioBuffer: Add equality operators 2023-07-19 11:21:39 +01:00
juce_audio_devices CoreAudio: Check all entries in inAddresses array in AudioObjectPropertyListenerProc 2023-07-31 11:37:23 +01:00
juce_audio_formats BufferingAudioReader: Improve tests 2023-07-19 11:21:40 +01:00
juce_audio_plugin_client VST3 Client: DRY activateBus implementation 2023-06-20 15:11:39 +01:00
juce_audio_processors VST3: Fix ambisonic speaker layout conversions 2023-07-24 14:20:16 +01:00
juce_audio_utils Tidy divider comments 2023-05-26 09:04:21 +01:00
juce_box2d Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_core HighResolutionTimer: Switch to an improved generic timer for most platforms 2023-07-19 14:28:36 +01:00
juce_cryptography Bump version number to 7.0.5 2023-01-25 11:37:31 +00:00
juce_data_structures CachedValue: Suppress float equality warnings 2023-05-02 10:27:40 +01:00
juce_dsp Convolution: Fix integer conversion in unit tests 2023-07-31 14:50:32 +01:00
juce_events MessageManager: Improve thread safety of Lock type 2023-05-02 19:37:47 +01:00
juce_graphics Convolution: Fix integer conversion in unit tests 2023-07-31 14:50:32 +01:00
juce_gui_basics TextEditor: Avoid giving away keyboard focus unconditionally in destructor 2023-07-31 19:36:32 +01:00
juce_gui_extra TextEditor: Avoid giving away keyboard focus unconditionally in destructor 2023-07-31 19:36:32 +01:00
juce_opengl OpenGL: Keep track of previously-attached VAOs and buffers when creating additional GL-backed Graphics contexts 2023-06-08 15:26:24 +01:00
juce_osc Global: Avoid floating-point equality checks where possible 2023-04-04 19:55:11 +01:00
juce_product_unlocking OnlineUnlockStatus: Handle key generation failure case 2023-06-19 15:35:58 +01:00
juce_video Android: fix float comparisons 2023-05-25 19:40:17 +01:00
CMakeLists.txt CMake: Avoid adding target for LV2 manifest helper unless specifically required 2022-09-12 16:14:57 +01:00