v1.89.1
1.89.1: Friendly tweaks and fixes
Reading the changelog is a good way to keep up to date with the things Dear ImGui has to offer, and maybe will give you ideas of some features that you've been ignoring until now!
Homepage: https://github.com/ocornut/imgui
Release notes: https://github.com/ocornut/imgui/releases
Wiki: https://github.com/ocornut/imgui/wiki for bindings, extensions, links, etc.
FAQ: https://www.dearimgui.org/faq/
Issues: https://github.com/ocornut/imgui/issues
Did you know? We have a Wiki!
It has sections such as this Useful Extensions Gallery! 👌
Thank you! ❤️
Special thanks to @rokups for their continued work on stuff that are still not visible e.g. regression tests.
Special thanks to @PathogenDavid for their continued contributions and helping with github answers.
Special thanks to @thedmd for their code reviews and continued exchanges of ideas.
Ongoing work on Dear ImGui is currently financially supported by:
Huge thank you to all past and present supporters!
Also thanks to PVS Studio (great static analyzer) for providing us with a license for this project.
Dear ImGui is funded by your contributions and needs them right now.
If your company uses Dear ImGui, consider reaching out. See Sponsors page for details.
Changes
This is mostly a couple of changes to amend the release of v1.89:
- Scrolling, Focus: fixed
SetKeyboardFocusHere()
/SetItemDefaultFocus()
during a window-appearing frame (and associated lower-level functions e.g.ScrollToRectEx()
) from not centering item. (#5902) - Inputs: fixed moving a window or drag and dropping from preventing input-owner-unaware code from accessing keys. (#5888, #4921, #456)
- Inputs: fixed moving a window or drag and dropping from capturing mods. (#5888, #4921, #456)
- Layout: fixed
End()
/EndChild()
incorrectly asserting if users manipulates cursor position inside a collapsed/culled window andIMGUI_DISABLE_OBSOLETE_FUNCTIONS
is enabled. (#5548, #5911) - Combo: fixed selected item (marked with
SetItemDefaultFocus()
) from not being centered when the combo window initially appears. (#5902). - ColorEdit: fixed label overlapping when using
style.ColorButtonPosition == ImGuiDir_Left
to move the color button on the left side (regression introduced in 1.88 WIP 2022/02/28). (#5912) - Drag and Drop: fixed
GetDragDropPayload()
returning a non-NULL value if a drag source is active but a payload hasn't been submitted yet. This is convenient to detect new payload from within a drag source handler. (#5910, #143) - Backends: GLFW: cancel out errors emitted by
glfwGetKeyName()
when a name is missing. (#5908) - Backends: WebGPU: fixed validation error with default depth buffer settings. (#5869, #5914) [@kdchambers]
Changes from 1.89 to 1.89,1 related to the docking branch (multi-viewport and docking features) include:
- Viewport: Fixed collapsed windows setting
ImGuiViewportFlags_NoRendererClear
without making title bar color opaque, leading to potential texture/fb garbage being visible. Right now as we don't fully support transparent viewports (#2766), so we turn thatTitleBgCollapsed
color opaque just like we do forWindowBG
on uncollapsed windows.
New secret exciting stuff!
Since 1.89 we semi-sneakily soft launched two new entire projects!
Dear Bindings: alternative binding generator for C and other languages
https://github.com/dearimgui/dear_bindings
Dear ImGui Automation/Test Engine & Test Suite
https://github.com/ocornut/imgui_test_engine
Running_Dear_ImGui_Test_Suite_.Fast_Mode.mp4
See v1.89 for full release details.