ocornut
d55608a5bb
Viewports: added opaque void* PlatformIconData storage in viewport and ImGuiWindowClass to allow passing icon information to a custom backend or hook. ( #2715 )
2026-04-09 23:47:32 +02:00
ocornut
bbcc83e999
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_metal.mm
# imgui.cpp
2026-04-08 21:40:40 +02:00
ocornut
dd17495a42
Detect and report error when calling End() instead of EndPopup() on a popup. ( #9351 )
2026-04-08 21:40:05 +02:00
ocornut
1870a779e1
Windows: fixed a single-axis auto-resizing feedback loop issue with nested containers and varying scrollbar visibility. ( #9352 )
2026-04-08 21:26:16 +02:00
ocornut
bccec3eabc
Tables: fixed IdealMaxPos.y/CursorMaxPos.y computation being wrong when vertically scrolling. ( #9352 , #7651 )
...
See ""table_reported_size_outer" test amends (0f9d1e02b0).
2026-04-08 20:01:00 +02:00
ocornut
d946c6932b
InputText: fixed a crash toggling ReadOnly flag while active. ( #9354 )
2026-04-08 15:56:59 +02:00
ocornut
4d38508c6b
Tables: fixed an issue reporting ideal size to parent window/container when both scrollbars are visible but only one of ScrollX/ScrollY was explicitly requested. ( #9352 , #7651 )
...
Since ScrollX de-facto also enables ScrollY we can't gate accounting for ScrollbarSizes.x based on explicit ScrollY.
Amend a31aa683f
2026-04-08 15:07:11 +02:00
ocornut
6985925244
Clipper, Tables: Improved error reporting when misusing the clipper inside a table + made the assert a better recoverable error. ( #9350 )
...
Amend 20e040c8
2026-04-07 19:19:40 +02:00
ocornut
7cb0baeb77
imgui_freetype: add FreeType headers & compiled version number in the 'About Dear ImGui' user facing string.
2026-04-07 17:18:16 +02:00
hunam
49df3116bc
Backends: Metal: avoid redundant vertex buffer bind in SetupRenderState. ( #9343 )
2026-04-03 19:14:23 +02:00
ocornut
03a0b00a34
InputTextMultiline: fixed an issue processing deactivation logic when an active multi-line edit is clipped due to being out of view.
2026-04-03 16:25:57 +02:00
ocornut
4a61188322
Version 1.92.8 WIP
2026-04-03 16:15:46 +02:00
ocornut
f5f6ca07be
Docs: minor Changelog amends.
2026-04-02 20:05:19 +02:00
ocornut
b1bcb12a62
Merge branch 'master' into docking
...
# Conflicts:
# docs/CHANGELOG.txt
2026-04-02 19:25:58 +02:00
ocornut
dac07199cf
Version 1.92.7
2026-04-02 19:22:53 +02:00
ocornut
65ebca8157
Fonts: fixed an issue introduced in 1.92.6 where style.FontBaseSize would be cleared during the first frame if no fonts was explicitely added before.
...
Amend 3aba95060e
2026-04-02 18:35:24 +02:00
ocornut
02e9b8cacd
Tables: columns freeze doesn't enforce a particular order + rework changelog for clarity. ( #9312 )
2026-04-02 14:01:10 +02:00
ocornut
fc5e421cb9
Tables: columns freeze doesn't enforce a particular order + rework changelog for clarity. ( #9312 )
2026-04-02 13:59:41 +02:00
ocornut
757fd2f57b
Merge branch 'master' into docking
2026-04-01 21:01:48 +02:00
ocornut
bf10275aa7
Tables: allow reordering columns by dragging them in the context menu. ( #9312 )
2026-04-01 20:08:34 +02:00
ocornut
836278db6c
Tables: context menu now present columns in display order. ( #9312 )
2026-04-01 20:08:29 +02:00
ocornut
505bc9a312
Tables: clarify FrozenColumns order to be in order space not in visible space.
...
+ Removed LeftMostUnfrozenOrder + Angled Headers comments.
While not strictly part of #9312 , presenting a suitable reordering menu was made difficult by the old behavior.
2026-04-01 20:08:26 +02:00
ocornut
07acc8bc87
Tables: Angled Headers: angled section for column being reordered via the regular headers stay highlighted during reordering.
...
Easily possible thanks to 6603cde .
2026-04-01 20:05:34 +02:00
ocornut
6603cdef98
Tables: fixed dragging a header to reorder outside of visible bounds (due to horizontal scrolling) from losing active id.
2026-04-01 20:03:30 +02:00
ocornut
fe5c5298a6
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# imgui.h
2026-03-31 21:48:34 +02:00
Daniel K. O. (dkosmari)
3c78afbbbb
Added missing ImVec2/ImVec4 operators. ( #9339 , #8510 , #8258 )
2026-03-31 21:44:09 +02:00
ocornut
54a865e472
Viewports: fixed setting/getting correct size when viewports have OS decorations (e.g. io.ConfigViewportsNoDecoration = false) and process is running in Per-Monitor V2 DPI mode. ( #8897 )
2026-03-31 17:56:56 +02:00
ocornut
97075fae4b
Clipper: always pulls current context on ImGuiListClipper::Begin(). ( #9324 , #5856 )
...
Marked Ctx as internal in the comments.
2026-03-30 12:53:30 +02:00
thedmd
bd3c925680
DrawList: PathArcTo(): fixed erroneous segment count for small arcs on large circles. ( #9331 , #9313 )
2026-03-30 12:04:22 +02:00
ocornut
8d8892ce0e
Backends: SDL3: use SDL_HAS_EVENT_DISPLAY_USABLE_BOUNDS_CHANGED (SDL 3.4.0+) when available to avoid refreshing monitor work area every frame on Windows. ( #8415 )
2026-03-25 17:25:32 +01:00
ocornut
ed2e5dd0f0
Examples+WebGPU: added support for WGVK in cmakefiles. ( #9316 , #9246 , #9257 )
2026-03-25 16:16:15 +01:00
ocornut
59183cf782
Backends, Examples: WebGPU: added support for WGVK. Remaining amends. ( #9316 , #9246 , #9257 )
2026-03-25 15:31:39 +01:00
ocornut
51f590a2a8
Backends: GLFW: mouse cursor is properly restored if changed by user app/code while using glfwSetInputMode(..., GLFW_CURSOR_DISABLED) or ImGuiConfigFlags_NoMouseCursorChange. ( #9322 )
...
Amend 9a4fd69f6
2026-03-25 14:17:29 +01:00
ocornut
697b6886e3
Docs: update FAQ about label/ID system. ( #9318 )
2026-03-23 14:13:36 +01:00
ocornut
50b488765f
ButtonBehavior, Selectable: made low-level ImGuiButtonFlags_PressedOnRelease not explicitely avoid taking current active id. ImGuiButtonFlags_NoHoldingActiveId may be used for that.
...
Ditto for ImGuiSelectableFlags_SelectOnRelease, ImGuiSelectableFlags_NoHoldingActiveId. All internals.
Toward #9312
2026-03-20 20:15:17 +01:00
ocornut
e05bd9deb9
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx9.cpp
# backends/imgui_impl_metal.mm
# backends/imgui_impl_opengl2.cpp
# backends/imgui_impl_opengl3.cpp
# backends/imgui_impl_sdlgpu3.cpp
# imgui.cpp
# imgui_internal.h
# imgui_widgets.cpp
2026-03-20 16:37:35 +01:00
ocornut
4af77622d9
Scrollbar: Fixed an issue which could lead initial click to move the current scroll by a pixel.
2026-03-20 16:14:17 +01:00
ocornut
2315b9f33d
InputTextMultiline: fixed an issue where edit buffer wouldn't be reapplied to back buffer on the IsItemDeactivatedAfterEdit() frame. ( #9308 , #8915 , #8273 )
2026-03-20 15:48:14 +01:00
ocornut
04dfcd838b
InputTextMultiline: fixed losing revert value when activating scrollbar. (toward #9308 )
2026-03-20 15:48:14 +01:00
ocornut
2d957152e4
InputTextMultiline: avoid going through reactivation path and InputTextDeactivateHook() when activating scrollbar. ( #9308 )
2026-03-20 15:37:56 +01:00
ocornut
325563a982
InputTextMultiline: InputTextMultiline: fixed an issue calculating lines count when active.
...
Amend 4252275
2026-03-20 15:17:07 +01:00
ocornut
9700846bb3
MultiSelect: added ImGuiMultiSelectFlags_SelectOnClickAlways mode. Prevents Drag and Drop of multiple items but allows BoxSelect to always reselect even when clicking inside a selecttion. ( #9307 , #1861 )
2026-03-19 16:39:50 +01:00
ocornut
20d8bcb600
(Breaking) MultiSelect: renamed ImGuiMultiSelectFlags_SelectOnClick to ImGuiMultiSelectFlags_SelectOnAuto. ( #1861 , #6518 )
2026-03-19 16:04:04 +01:00
ocornut
4d1ba782ee
Revert changing default value of ImTextureID_Invalid to -1. Back to 0. ( #9295 , #9310 , #9293 , #8745 , #8465 , #7090 )
...
Reverts 0db591935f
2026-03-19 11:54:42 +01:00
ocornut
0500e546b5
Backends: DX9, Metal, SDLRenderer2/3: fixed more assumptions that ImTextureID_Invald == 0 + Amend Changelogs. ( #9310 , #9293 )
2026-03-19 11:47:01 +01:00
ocornut
b724f940d6
InputText: fixed selection highlight Y1 offset being very slightly off (since 1.92.3). ( #9311 )
...
Fixes 1e52e7b90c
2026-03-19 11:20:00 +01:00
ocornut
4252275c64
InputTextMultiline: fixed an issue calculating lines count when inactive, no word-wrap, and ending with a \n.
...
Amend 1e52e7b90c (#3237 , #952 , #1062 , #7363 )
2026-03-18 20:12:14 +01:00
ocornut
f4c2f50896
InputText: fixed a crash when handling ImGuiInputTextFlags_CallbackResize. ( #9174 )
...
Fix/amend cb3b7ff .
2026-03-18 18:37:04 +01:00
ocornut
27cacb0e30
Fixed GetForegroundDrawList()/GetBackgroundDrawList() per-viewport buffers not being collected/ ( #9303 )
2026-03-18 16:48:18 +01:00
ocornut
709be8c495
Discard/GC of ImDrawList buffers for unused windows favor restoring them to ~Size*1.05 instead of Capacity when awakening again. ( #9303 )
...
+ made "GC now" button process even active windows.
2026-03-18 15:34:12 +01:00