Provides a workaround for missing monitor initialization in platform
backends like imgui-winit-support. Without proper monitor initialization,
Dear ImGui throws "Platform init didn't setup Monitors list?" assertion.
- Add monitor_init_fix module with initialization utilities
- Support single and multi-monitor configurations
- Add unit tests and examples
- Document workaround usage
Co-Authored-By: Elias Stepanik <eliasstepanik@proton.me>
Identified and implemented workaround for viewport callbacks not being
triggered when windows are dragged outside the main window.
Root cause: ConfigFlags::VIEWPORTS_ENABLE is reset after first render()
call due to an issue in the imgui-rs bindings or Dear ImGui itself.
Workaround: Re-apply the viewport flag before each new_frame() call
using viewport_issue_fix::apply_viewport_fix().
Added:
- viewport_issue_fix module with apply_viewport_fix() function
- Debug and solution examples demonstrating the issue and fix
- Integration tests for the workaround
- Comprehensive documentation of findings in VIEWPORT_FIX_SUMMARY.md
This is a temporary workaround until the root cause is fixed in
imgui-rs or the Dear ImGui library.
Co-Authored-By: Elias Stepanik <eliasstepanik@proton.me>