ocornut
a1c0836bec
Viewports: changed default value of io.ConfigViewportsNoDefaultParent to true. ( #8948 , #3152 , #2871 )
2025-09-22 15:56:10 +02:00
ocornut
dfe308bc53
Viewports: fixed an issue inferring Z-order when attempting to merge a viewport back in the the main/hosting viewport. ( #8948 )
2025-09-22 15:32:00 +02:00
ocornut
aa9476a38a
IO: added ImGuiPlatformIO::ClearPlatformHandlers(), ClearRendererHandlers(). Backends: call those on Shutdown(). ( #8945 , #2769 )
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_metal.mm
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_sdlgpu3.cpp
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_win32.cpp
# docs/CHANGELOG.txt
# imgui.h
2025-09-18 17:02:44 +02:00
ocornut
16b2d20115
Viewports: DestroyContext() does not call DestroyPlatformWindows() anymore. ( #7175 , #8945 )
2025-09-18 16:47:40 +02:00
ocornut
8ccff82153
Merge branch 'master' into docking
2025-09-18 15:39:52 +02:00
ocornut
0e7cd694eb
Version 1.92.4 WIP
2025-09-18 15:38:46 +02:00
ocornut
34bff4672c
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# docs/CHANGELOG.txt
# examples/example_glfw_metal/main.mm
# examples/example_glfw_opengl2/main.cpp
# examples/example_glfw_vulkan/main.cpp
# examples/example_win32_opengl3/main.cpp
# examples/example_win32_vulkan/main.cpp
# imgui.h
2025-09-17 18:48:39 +02:00
ocornut
1c544ee941
Version 1.92.3
2025-09-17 18:37:56 +02:00
ocornut
9cf9d2be83
Debug Tools: ID Stack Tool: fixed a crash when using PushOverrideID(0) during a query. ( #8937 , #4631 )
2025-09-17 18:06:45 +02:00
ocornut
f6890ed007
Nav, Inputs: fixed a crash that could occur when opening a popup following the processing of a global shortcut while no windows were focused.
...
Regression test: "window_popup_from_shortcut"
2025-09-17 16:41:40 +02:00
ocornut
d92c8c6aff
Backends: SDL2: Content Scales are always reported as 1.0 on Wayland. ( #8921 )
...
SDL_GetDisplayDPI() seems generally broken on X11/Wayland, but our logs shows that on Wayland we get both a content scale from SDL_GetDisplayDPI() and a framebuffer scale.
2025-09-15 19:20:56 +02:00
ocornut
2675b7ca26
Backends: GLFW: Content Scales always reported as 1.0 on Wayland, FramebufferScale always reported as 1.0 on X11. ( #8920 , #8921 )
2025-09-15 18:55:09 +02:00
ocornut
3c6c5692b8
Examples: Win32+Vulkan, GLFW+Metal: Fixed not applying content scale. ( #8921 , #8756 )
...
Somehow it breaks in Win32+OpenGL3 example: when enabled Win32 applies some extra scale.
2025-09-15 16:50:58 +02:00
ocornut
22a6a83c54
Backends: SDL3: use SDL_GetWindowDisplayScale() on Mac to output DisplayFrameBufferScale. The function is more reliable during resolution changes e.g. going fullscreen. ( #8703 , #4414 )
2025-09-15 15:16:42 +02:00
ocornut
09e7870497
Docking, Style: added style.DockingNodeHasCloseButton option to hide the CloseButton() attached to each docking node. ( #8933 )
2025-09-15 14:06:54 +02:00
ocornut
cd476b27f8
Examples: GLFW+Vulkan: Fixed not applying content scale. ( #8921 , #8756 )
2025-09-12 21:32:46 +02:00
ocornut
9f13684d70
Examples: GLFW+OpenGL2: Fixed not applying content scale. ( #8921 )
...
Note that this requires GLFW 3.3.
2025-09-12 20:57:04 +02:00
ocornut
586da87728
InputText: Word-Wrap: hide vertical scrollbar but takes its width into account. ( #3237 , #952 , #1062 , #7363 )
...
Also increase IMGUI_VERSION_NUM for good measure, forgot to increase it when moving to public api.
2025-09-12 16:04:41 +02:00
ocornut
36133d8ac4
InputText: Word-Wrap: hide vertical scrollbar but takes its width into account. ( #3237 , #952 , #1062 , #7363 )
...
Also increase IMGUI_VERSION_NUM for good measure, forgot to increase it when moving to public api.
2025-09-12 16:03:18 +02:00
ocornut
8c6096fcfe
Merge branch 'master' into docking
2025-09-12 15:05:55 +02:00
ocornut
78c1d4a92c
InputText: Word-Wrap: moving ImGuiInputTextFlags_WordWrap to public API. Added in demo. ( #3237 , #952 , #1062 , #7363 )
2025-09-12 15:03:33 +02:00
ocornut
2f3e85bc37
Comments
2025-09-12 15:03:33 +02:00
ocornut
e8ca7af4c0
Fixed io.ConfigDpiScaleFonts from ever working since 1.92. ( #8832 , #8465 )
...
Merge fix e4055e763
didn't update the code properly.
2025-09-12 11:49:26 +02:00
ocornut
0457a09bb9
Fixed obsoleted ImGuiConfigFlags_DpiEnableScaleFonts/_DpiEnableScaleViewports names from setting the equivalent io.ConfigDpiScaleFonts/io.ConfigDpiScaleViewports flag correctly (regression in 1.92).
...
Fix e55415b
.
2025-09-12 11:49:12 +02:00
ocornut
71f45c12e9
Merge branch 'master' into docking
2025-09-11 21:28:02 +02:00
ocornut
1e52e7b90c
InputText: Added a line index. Refactored cursor and selection rendering, now simpler, easier to reason about, and faster. ( #3237 , #952 , #1062 , #7363 )
2025-09-11 21:26:01 +02:00
ocornut
f36c65661c
InputText: fixed pressing End (without Shift) in a multi-line selection from mistakenly moving cursor based on selection start.
2025-09-11 18:45:07 +02:00
ocornut
55f590c1d1
Selectable: ImGuiSelectableFlags_SelectOnNav doesn't select when holding Ctrl, to be consistent with multi-select.
...
Amend e66afbb
+ remove needless line in CloseCurrentPopup() block
2025-09-10 22:29:42 +02:00
ocornut
dae66eb3b5
Backends: GLFW: improve multi-viewport behavior in tiling WMs (X11). Amend changelog solely for linking to #2117 .
2025-09-10 20:35:22 +02:00
ocornut
37b18acdf5
Backends: GLFW: improve multi-viewport behavior in tiling WMs (X11). Amends. ( #8884 , #8474 , #8289 )
2025-09-10 20:28:30 +02:00
Harry Mander
5e5658e68f
Debug Tools: fixed assertion failure when opening a combo box while using io.ConfigDebugBeginReturnValueOnce/ConfigDebugBeginReturnValueLoop. ( #8931 )
2025-09-10 19:12:03 +02:00
ocornut
3dcd17f402
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
2025-09-10 19:02:44 +02:00
ocornut
2f1d1c8b2f
Focus, InputText: fixed an issue where SetKeyboardFocusHere() did not work on InputTextMultiline() with ImGuiInputTextFlags_AllowTabInput. ( #8928 )
2025-09-10 18:31:34 +02:00
ocornut
1cd08b883c
TabBar: fixed calling TabBarQueueFocus() before submitting tabs. ( #8929 , #6681 )
2025-09-10 18:03:34 +02:00
ocornut
045645e5f1
Demo: tweaked ShowFontSelector() and ShowStyleSelector() to update selection while navigating and to not close popup automatically.
2025-09-09 17:50:40 +02:00
ocornut
8e4955bb23
Selectable: moved ImGuiSelectableFlags_SelectOnNav to public API.
2025-09-09 17:42:14 +02:00
ocornut
ea8a5a9e17
DrawList: made AddCallback() assert when passing a null callback.
2025-09-08 15:20:18 +02:00
ocornut
ab760992ad
Merge branch 'master' into docking
2025-09-08 13:35:24 +02:00
yaz0r
f77f68a5ed
CI: Windows: update to 1.4.326 + pull Vulkan from KhronosGroup's Vulkan-Headers and Vulkan-Loader. ( #8925 , #8778 )
2025-09-08 11:42:28 +02:00
fdsa
09ebcf1779
Docs: fixed mismatched parentheses & other small changes. ( #8922 )
2025-09-08 11:30:14 +02:00
ocornut
fdcd351488
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2025-09-04 18:06:35 +02:00
ocornut
1ecc34a0b1
Backends: Vulkan: misc amends (e.g. changelog, coding style). (8110, 8111, 8053)
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
2025-09-04 18:04:20 +02:00
ocornut
7d33524042
InputText: fixed an issue where using Escape with ImGuiInputTextFlags_EscapeClearsAll. ( #8915 , #8273 )
...
Regression test: "widgets_inputtext_temp_buffer_2"
2025-09-04 13:16:05 +02:00
ocornut
605a751571
InputText, InputInt, InputFloat: fixed an issue where using Escape to revert would not write back the reverted value. ( #8915 , #8273 )
...
Revealed by 00f12b9a0
Regression test: "widgets_inputtext_temp_buffer_2"
2025-09-04 13:16:04 +02:00
ocornut
20160ff1d5
Fonts: fixed merging a font and specifying a font target in DstFont that's not the last added font (regression in 1.92). ( #8912 )
2025-09-03 19:36:02 +02:00
ocornut
3766d40394
Nav: fixed Ctrl+Tab window appearing as empty when the sole active and focused window has the ImGuiWindowFlags_NoNavFocus flag. ( #8914 )
2025-09-03 17:50:10 +02:00
Ян Ли
0dd3c845eb
Docs: add missing anchor in FAQ.md ( #8913 )
2025-09-03 09:17:23 +02:00
ocornut
740c566305
Merge branch 'master' into docking
2025-09-02 16:10:59 +02:00
ocornut
0ef9610e70
InputText, stb_textedit: Revert special handling when pressing Down/PageDown on last line of a buffer without a trailing carriage return.
...
Revert fbf70070bb
.
2025-09-02 15:39:14 +02:00
ocornut
55cbc66508
InputText: allow passing an empty string with buf_size==0. ( #8907 )
2025-08-27 20:21:31 +02:00