ocornut
62275e877a
Amend f6890ed
mostly to please static analyzers.
2025-09-17 19:06:17 +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
70a43f3088
Fixed build with IMGUI_ENABLE_TEST_ENGINE.
2025-09-17 18:12:32 +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
7e473d38d3
Debug Tools: ID Stack Tool: internal renaming (should be no-op).
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
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
8c6096fcfe
Merge branch 'master' into docking
2025-09-12 15:05:55 +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
67085d732a
ImGuiTextIndex: rename member.
2025-09-11 21:25:56 +02:00
ocornut
8eb22ea620
Demo: ShowStyleSelector(), ShowFontSelector(): remove ImGuiSelectableFlags_NoAutoClosePopups for now.
...
In this situation we kinda want keyboard Enter to select and close but ideally not click. We don't have separate options yet.
2025-09-10 22:42:12 +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
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
ab760992ad
Merge branch 'master' into docking
2025-09-08 13:35:24 +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
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
ocornut
740c566305
Merge branch 'master' into docking
2025-09-02 16:10:59 +02:00
ocornut
6351f00ff1
Clipper, Tables: removed row_increase >= 0
assert. ( #8886 )
...
Seeing cases in my own tests that are not obvious so it seems like too much of a burden for the user to assert/crash, as the row count is not always useful anyhow.
2025-08-27 20:31:05 +02:00
ocornut
4d216d4510
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdlgpu3.cpp
2025-08-27 18:57:56 +02:00
ocornut
aa2f40c3bb
Clipper, Tables: added ImGuiListClipperFlags, ImGuiListClipperFlags_NoSetTableRowCounters. ( #8886 )
...
a0cdac48e0
revealed the issue but technically the core issue is that clipper assume 1 item = 1 table row.
2025-08-27 18:54:57 +02:00
ocornut
87c1ab7988
Windows: changed how g.CurrentItemFlags is modified before windows' CloseButton() submission to be less misleading. ( #8903 )
...
I don't think anyone would have `ImGuiItemFlags_NoFocus` set globally but technically it might.
2025-08-26 18:48:08 +02:00
ocornut
319c481abb
AddFontDefault(): shallow simplification.
2025-08-26 17:57:51 +02:00
ocornut
229d56e37a
Debug Tools: ID Stack Tool: when ### is used, uncontributing prefix before the ### is now skipped. ( #8904 , #4631 )
2025-08-26 16:30:13 +02:00
ocornut
7d230594de
Fixed ImHashSkipUncontributingPrefix() not looping in case of multiple ### elements.
2025-08-26 16:29:14 +02:00
ocornut
75a4a48d1f
Internals: extracted ImHashSkipUncontributingPrefix() out of CreateNewWindowSettings() and added note about it.
2025-08-26 16:23:06 +02:00
ocornut
9e864012ae
Debug Tools: ID Stack Tool: added option to hex-encode non-ASCII characters in output path. ( #8904 , #4631 )
2025-08-26 15:58:59 +02:00
ocornut
783f1e62cc
Debug Tools: ID Stack Tool: fixed using fixed-size buffers preventing long identifiers from being displayed in the tool. ( #8905 , #4631 )
2025-08-26 15:36:56 +02:00
ocornut
a28cb615ff
Viewports, Docking: Fixed a bug where closing a viewport using OS facilities would erroneously close all windows located in the viewport. ( #8887 )
2025-08-20 19:09:45 +02:00
ocornut
4ebfe1cba5
Merge branch 'master' into docking
2025-08-20 18:28:39 +02:00
ocornut
42656b3aa1
Scrollbar, Style: added style.ScrollbarPadding, ImGuiStyleVar_ScrollbarPadding. ( #8895 )
2025-08-20 18:27:35 +02:00
ocornut
720e94f3da
Rework FormatTextureIDForDebugDisplay() ImDrawCmd version as FormatTextureRefForDebugDisplay().
2025-08-19 15:32:38 +02:00
ocornut
86ec5c8342
Version 1.92.3 WIP
2025-08-19 15:15:49 +02:00
ocornut
1f7f1f54af
Revert IsItemHovered() change for TabId. ( #8877 , #8883 )
...
Amend 774ddb5
for docking. Revert 5a6fa33
.
2025-08-13 17:32:36 +02:00
ocornut
160e3683ab
Merge branch 'master' into docking
2025-08-13 17:31:15 +02:00
ocornut
45acd5e0e8
Version 1.92.2b
2025-08-13 17:31:01 +02:00
ocornut
774ddb58bd
Fixed IsItemHovered() failing on disabled items and items that have no identifier. Made holding on disabled items not leak IsItemDisabled() between disabled items when window has _NoMove. ( #8877 , #8883 )
...
See amends to "widgets_status_common", "widgets_disabled_2" tests.
2025-08-13 17:08:04 +02:00
ocornut
af920e1e6f
Version 1.92.3 WIP
2025-08-12 11:30:41 +02:00
ocornut
031a18c417
Merge branch 'master' into docking
2025-08-11 16:47:16 +02:00
ocornut
2b24f5fa71
Version 1.92.2
2025-08-11 16:47:06 +02:00
ocornut
104f58fc48
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-08-11 15:44:21 +02:00
ocornut
5a6fa33b88
Fixed an inconsistency between IsItemHovered() and internal hovering check, where IsItemHovered() would return true if mouse was first clicked on the background of a non-moveable window. ( #8877 )
2025-08-11 15:41:38 +02:00
ocornut
8239a0e0c4
Nav, Tables: fix NavIsScrollPushableX logic clamping value stored in NavApplyItemToResult(), which would break scrolling. ( #8816 , #2221 )
...
Amend 47c4148
.
2025-08-11 15:17:02 +02:00