ocornut
bf75bfec48
Amend f6890ed
mostly to please static analyzers.
2025-09-17 19:05:22 +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
2f3e85bc37
Comments
2025-09-12 15:03:33 +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
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
fdsa
09ebcf1779
Docs: fixed mismatched parentheses & other small changes. ( #8922 )
2025-09-08 11:30:14 +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
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
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
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
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
2b24f5fa71
Version 1.92.2
2025-08-11 16:47:06 +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
ocornut
1c57dc21c2
Misc: fixes zealous MSVC static analyzer warnings + make GetInputSourceName(), GetMouseSourceName() a little more tolerant. ( #8876 )
2025-08-11 11:04:13 +02:00
ocornut
47c41483bd
Tables, Nav: fixed navigation within scrolling tables when item boundaries goes beyond columns limits. ( #8816 , #2221 )
...
Amend 00d3f9295e
.
2025-08-11 10:49:20 +02:00
ocornut
9ee3d731b5
Backends: SDL_GPU3: changed ImTextureID type from SDL_GPUTextureSamplerBinding* to SDL_GPUTexture*. Added ImGui_ImplSDLGPU3_RenderState. ( #8866 , #8163 , #7998 , #7988 )
2025-08-08 15:51:16 +02:00
ocornut
c22af8c346
Fonts: fixes comment (amend d8da97f7
).
2025-08-07 16:19:07 +02:00
ocornut
1bf41a0762
Fonts, Tables: fixed PushFont() having no effect when called after submitting a hidden column. ( #8865 )
...
Amend 0e769c5
2025-08-07 16:16:12 +02:00
Christian Fillion
f7eae45ae9
Fonts: show ImFontConfig::FontNo in DebugNodeFont(). ( #8863 )
...
Thanks!
2025-08-06 10:42:34 +09:00
ocornut
7d5fef8642
Nav: fixed a bug where GamepadMenu couldn't toggle between main and menu layer while navigating a Modal window. ( #8834 )
...
Amend 901d432cb
but for Gamepad.
2025-08-04 15:06:14 +09:00
ocornut
3ef6c8410a
Tabs: added new fitting policy ImGuiTabBarFlags_FittingPolicyMixed, new default. ( #3421 , #8800 )
2025-07-31 23:42:25 +09:00
ocornut
78d11cd781
Tabs: (Breaking) renamed ImGuiTabBarFlags_FittingPolicyResizeDown to ImGuiTabBarFlags_FittingPolicyShrink. ( #261 , #351 )
...
Amend 54a60aaa40
2025-07-31 22:58:01 +09:00
ocornut
7278cda039
Tabs: added TabMinWidthBase, ImGuiStyleVar_TabMinWidthBase.
2025-07-31 22:57:11 +09:00
ocornut
a0cdac48e0
Tables: fixed TableGetHoveredRow() ( #7350 , #6588 , #6250 ) + TableGetRowIndex() which never correctly worked when using a clipper.
...
Amend e09454aec
. Can't understand the comment nor why code was commented. Code looks alright. Compared TableEndRow() between 1.80 and current as well.
2025-07-31 13:21:26 +09:00
ocornut
2ab3946ecb
Windows: add StopMouseMovingWindow(), partial merge 80d78fa
from docking.
2025-07-30 18:46:49 +09:00
ocornut
c6c0c3be08
Docs: amend 1.92.0 logs on the fact that font->CalcTextSizeA() used to be thread-safe.
2025-07-27 20:15:21 +09:00
ocornut
174f37bdaf
Fixed building with IMGUI_DISABLE_DEBUG_TOOLS only. ( #8796 )
2025-07-23 16:17:35 +09:00
ocornut
ea613e181c
Windows: fixed an issue where resizable child windows would emit border logic when hidden/non-visible. ( #8815 )
...
This makes more sense in docking branch but may be merged in master right away.
2025-07-22 16:22:53 +09:00
ocornut
ed5bd1f9ef
Changed ImTextCharToUtf8() to return bytes count rather than original pointer. ( #8820 )
...
Amend c2bf4abfa1
2025-07-22 14:17:11 +09:00
ocornut
c9e0208de4
Textures: moved UpdateTexturesNewFrame(), UpdateTexturesEndFrame() to a more suitable location in the file.
2025-07-21 15:35:53 +09:00