HUGE ImGui Update Broke Everything Part 2 // Renderer 2025 // Hazel Engine Stream (04.06.2025)
https://www.youtube.com/watc...Watch Live ► https://www.twitch.tv/thecherno
Discord channel for live streams ► https://discord.gg/VFuHXUtBcS
*0:00 - Technical Debugging Session*
- Started debugging why menu bar clicks weren't working properly in the updated ImGui integration
- Discovered issues with button behavior and press/release event handling
- Found that pressed and menu_is_open were never true in the same frame, preventing proper menu closing
*30:00 - Root Cause Discovery*
- Identified that focus_window() was being called on mouse clicks, which was interfering with menu behavior
- The focus window call was automatically closing popups before the menu button logic could process the click
- Temporarily removed the focus window behavior to fix menu interactions
*48:00 - Viewport Panel Issues*
- Encountered mysterious viewport panel attachment problems where panels couldn't be moved
- Discovered that a disabled viewport settings block was causing layout corruption
- Fixed by re-enabling the viewport settings code that was previously commented out with if false
*1:10:00 - Title Bar Dragging Problems*
- Worked on making the entire title bar draggable, not just a small portion
- Struggled with hit testing issues where is_mouse_hovering_rect() wasn't working properly in certain areas
- Found that the clip parameter was defaulting to true, causing the hit test to be clipped to the current window bounds
- Solved by setting clip=false in the hit test function
*2:30:00 - Non-Client Area Mouse Events*
- Discovered that mouse events in the title bar (non-client area) weren't being passed to the application
- Had to implement custom WM_NCLBUTTONDOWN and WM_NCLBUTTONUP message handling in the Windows message loop
- This allowed the application to receive mouse events even when clicking on the title bar region
*2:45:00 - Final UI Polish*
- Fine-tuned button positioning and spacing in the title bar
- Addressed remaining visual inconsistencies between old and new Hazel versions
- Noted remaining issues: texture filtering problems, missing text in content browser, and memory leaks (~21GB)
_Stream Summary by Claude Sonnet 4_
Home
/
Indie Game Developers/
Cherno Unplugged/
HUGE ImGui Update Broke Everything Part 2 // Renderer 2025 // Hazel Engine Stream (04.06.2025)