Fixed three critical bugs preventing UITextInput from working:
1. **hitTest() missing textinput handler**: The hit test function only checked
for button, slider, and checkbox types. Clicks on text input fields were
never detected.
FIX: Added textinput case to hitTest() in UIContext.cpp
2. **dispatchMouseButton() missing textinput handler**: Even if hit test worked,
mouse button events were not dispatched to text input widgets.
FIX: Added textinput case to dispatchMouseButton() in UIContext.cpp
3. **Keyboard event collision**: SDL_KEYDOWN was publishing events for printable
characters with char=0, which were rejected by UITextInput. Printable chars
should only come from SDL_TEXTINPUT.
FIX: Only publish SDL_KEYDOWN for special keys (Backspace, Delete, arrows, etc.)
Printable characters come exclusively from SDL_TEXTINPUT events.
Changes:
- UIContext.cpp: Added textinput handlers to hitTest() and dispatchMouseButton()
- UITextInput.cpp: Added debug logging for gainFocus() and render()
- UIModule.cpp: Added debug logging for widget clicks
- test_ui_showcase.cpp: Fixed keyboard event handling (KEYDOWN vs TEXTINPUT)
Tested: Text input now gains focus (border turns blue), accepts keyboard input,
and displays typed text correctly.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Fix JsonDataNode::getChildReadOnly() to handle JSON array access by numeric index
- Fix test_ui_showcase to use JSON array for children (matching test_single_button pattern)
- Add visual test files: test_single_button, test_ui_showcase, test_sprite_debug
- Clean up debug logging from SpritePass, SceneCollector, UIButton, BgfxDevice
The root cause was that UITree couldn't access array children in JSON layouts.
UIButton hover/click now works correctly in both test files.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Add BGFX_CONFIG_MULTITHREADED=0 to fix TLS crash when bgfx runs from DLL
- Add -include stdint.h for MinGW GCC 15+ compatibility with bgfx third-party code
- Guard SDL2-dependent visual tests with if(SDL2_FOUND)
- Clean up debug logging in BgfxDevice::frame() and BgfxRendererModule::process()
- Re-enable all modules in test_full_stack_interactive.cpp
- Add grove::fs namespace for cross-platform filesystem operations
- Add InputModule C export for feedEvent across DLL boundary
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>