4b80d409e7
Backends: Metal: use a dedicated bufferCacheLock to avoid crashing when bufferCache is replaced by a new object while being used for synchronize(). (#9367)
Andy Grundmanandocornut2026-04-13 19:16:15 -04:00
ed4dd679f1
Fixed vertical scrollbar top coordinates when using thick borders on windows with no title bar and no menu bar. (#9366)
ocornut2026-04-14 16:39:08 +02:00
3cd8683061
Fonts: assert when using MergeMode with an explicit size over a target font with an implicit size, as scale factor are likely erroneous. (#9361)
ocornut2026-04-13 16:45:18 +02:00
bbd0af7256
Multi-Select: Box-Select+Tables: fixed using BeginMultiSelect() before table layout is locked. (#8250)
ocornut2026-04-09 19:38:15 +02:00
f83a378d62
TabBar: changed edge's TabItem ClipRect to not pass an inverted PushClipRect().
ocornut2026-04-13 14:11:19 +02:00
2dc64f99bc
Minor optimization: reduce redudant label scanning in common widgets.
ocornut2026-04-10 18:37:08 +02:00
5da7eb0a84
DrawList: remove/strip old FixRectCornerFlags() code.
ocornut2026-04-10 17:42:13 +02:00
f678c91617
Multi-Select: disable MultiSelectAddSetRange() attempt at merging consecutive requests submitted from box-selection.
ocornut2026-04-09 23:07:51 +02:00
6ce4b44547
Mulit-Select: Box-Select: fixed an issue using in a table while relying on the TableNextColumn() return value to perform coarse clipping. (#7994)
ocornut2026-04-09 22:48:52 +02:00
f08b33fd0c
Multi-Select: Box-Select: fixed an issue where items out of horizontal view would sometimes lead to incorrect merging of sequential selection requests. (#7994, #1861, #6518)
ocornut2026-04-09 22:15:32 +02:00
b444694b3d
Multi-Select: Box-Select: fixed an issue using ImGuiMultiSelectFlags_BoxSelect2d mode, where items out of view wouldn't be properly selected. (#7994, #1861, #6518)
ocornut2026-04-09 21:36:50 +02:00
95bd1577d6
Windows: Child windows with only ImGuiChildFlags_AutoResizeY flag keep using the proportional default ItemWidth. (#9355)
ocornut2026-04-09 12:53:20 +02:00
dd17495a42
Detect and report error when calling End() instead of EndPopup() on a popup. (#9351)
ocornut2026-04-08 21:40:05 +02:00
1870a779e1
Windows: fixed a single-axis auto-resizing feedback loop issue with nested containers and varying scrollbar visibility. (#9352)
ocornut2026-04-08 20:44:54 +02:00
a9bd173d89
Windows: shallow renames (should be no-op).
ocornut2026-04-08 20:15:08 +02:00
bccec3eabc
Tables: fixed IdealMaxPos.y/CursorMaxPos.y computation being wrong when vertically scrolling. (#9352, #7651)
ocornut2026-04-08 20:01:00 +02:00
d946c6932b
InputText: fixed a crash toggling ReadOnly flag while active. (#9354)
ocornut2026-04-08 15:56:59 +02:00
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)
ocornut2026-04-08 15:07:11 +02:00
c0e6580b62
Reword code in CalcWindowAutoFitSize() to match the order used in size_desired calculation.
ocornut2026-04-08 14:28:06 +02:00
6985925244
Clipper, Tables: Improved error reporting when misusing the clipper inside a table + made the assert a better recoverable error. (#9350)
ocornut2026-04-07 19:19:40 +02:00
7cb0baeb77
imgui_freetype: add FreeType headers & compiled version number in the 'About Dear ImGui' user facing string.
ocornut2026-04-07 17:17:20 +02:00
03a0b00a34
InputTextMultiline: fixed an issue processing deactivation logic when an active multi-line edit is clipped due to being out of view.
ocornut2026-04-03 16:25:57 +02:00
45866bea47
Tables: fixes not releasing ReorderColumn caused by 38f5e5a. Which could break clicking on header to sort. (#9312)
ocornut2026-04-02 18:57:50 +02:00
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.
ocornut2026-04-02 18:34:05 +02:00
9e9fdc97bb
InputText: rename Edited->EditedThisFrame, add EditedBefore. (#701) + Comments + About box clipboard blurb include a comment.
ocornut2026-04-02 14:30:18 +02:00
bf10275aa7
Tables: allow reordering columns by dragging them in the context menu. (#9312)
ocornut2026-04-01 19:43:21 +02:00
0867f6113a
Tables: reorder allowed check sweep through columns, checks _NoOrder barrier, and reworked to be easy to use from context menu. (#9312)
ocornut2026-04-01 14:13:34 +02:00
836278db6c
Tables: context menu now present columns in display order. (#9312)
ocornut2026-03-20 21:22:53 +01:00
505bc9a312
Tables: clarify FrozenColumns order to be in order space not in visible space.
ocornut2026-04-01 19:07:59 +02:00
07acc8bc87
Tables: Angled Headers: angled section for column being reordered via the regular headers stay highlighted during reordering.
ocornut2026-04-01 20:05:17 +02:00
6603cdef98
Tables: fixed dragging a header to reorder outside of visible bounds (due to horizontal scrolling) from losing active id.
ocornut2026-04-01 20:03:30 +02:00
bd3c925680
DrawList: PathArcTo(): fixed erroneous segment count for small arcs on large circles. (#9331, #9313)
thedmdandocornut2026-03-29 10:20:24 +02:00
b62cf3894b
Inputs: fixed an issue using SetKeyOwner() with ImGuiInputFlags_LockThisFrame or ImGuiInputFlags_LockUntilRelease on ImGuiMod values. (#9323)
ocornut2026-03-25 22:00:14 +01:00
e9eb04ea95
Internals: TempInputText: added callback/user_data parameters and made end of signature match InputText(). (#2718)
ocornut2026-03-25 17:44:55 +01:00
0b82487fed
TempInputText: amends. Rename ImGuiInputTextFlags_MergedItem to ImGuiInputTextFlags_TempInput for explicitness. (#2718)
ocornut2026-03-25 14:29:54 +01:00
51f590a2a8
Backends: GLFW: mouse cursor is properly restored if changed by user app/code while using glfwSetInputMode(..., GLFW_CURSOR_DISABLED) or ImGuiConfigFlags_NoMouseCursorChange. (#9322)
ocornut2026-03-25 14:17:29 +01:00
6c754ed2cb
TempInputText, InputText: enforce making active via ImGuiInputTextFlags_MergedItem. Restore cursor as Rect is provided + comments. (#2718, #6690)
ocornut2026-03-24 16:21:31 +01:00
50b488765f
ButtonBehavior, Selectable: made low-level ImGuiButtonFlags_PressedOnRelease not explicitely avoid taking current active id. ImGuiButtonFlags_NoHoldingActiveId may be used for that.
ocornut2026-03-20 20:05:24 +01:00
4af77622d9
Scrollbar: Fixed an issue which could lead initial click to move the current scroll by a pixel.
ocornut2026-03-20 16:14:17 +01:00
2315b9f33d
InputTextMultiline: fixed an issue where edit buffer wouldn't be reapplied to back buffer on the IsItemDeactivatedAfterEdit() frame. (#9308, #8915, #8273)
ocornut2026-03-20 15:47:26 +01:00
04dfcd838b
InputTextMultiline: fixed losing revert value when activating scrollbar. (toward #9308)
ocornut2026-03-20 15:39:02 +01:00
2d957152e4
InputTextMultiline: avoid going through reactivation path and InputTextDeactivateHook() when activating scrollbar. (#9308)
ocornut2026-03-20 15:37:56 +01:00
325563a982
InputTextMultiline: InputTextMultiline: fixed an issue calculating lines count when active.
ocornut2026-03-20 15:17:07 +01:00
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)
ocornut2026-03-19 16:38:13 +01:00
0b4967992a
MultiSelect: Box-Select: removed now seemingly unnecessary 'selected==false' check, which will also prevent implementation of ImGuiMultiSelectFlags_SelectOnClickAlways. (#9307)
ocornut2026-03-19 16:29:03 +01:00
0500e546b5
Backends: DX9, Metal, SDLRenderer2/3: fixed more assumptions that ImTextureID_Invald == 0 + Amend Changelogs. (#9310, #9293)
ocornut2026-03-19 11:47:01 +01:00
7fc3092870
Backends: SDLGPU3: Prevent DestroyTexture from deleting invalid textures if ImTextureID_Invalid != 0. (#9310, #9293)
Starmanandocornut2026-03-18 23:06:13 +00:00
b724f940d6
InputText: fixed selection highlight Y1 offset being very slightly off (since 1.92.3). (#9311)
ocornut2026-03-19 11:20:00 +01:00
4252275c64
InputTextMultiline: fixed an issue calculating lines count when inactive, no word-wrap, and ending with a \n.
ocornut2026-03-18 20:10:14 +01:00
6abe65aac6
InputText: amend fix to avoid PVS-Studio sort of rightful false positive. Amend f4c2f50. (#9174)
ocornut2026-03-18 18:57:02 +01:00
f4c2f50896
InputText: fixed a crash when handling ImGuiInputTextFlags_CallbackResize. (#9174)
ocornut2026-03-18 18:37:04 +01:00
27cacb0e30
Fixed GetForegroundDrawList()/GetBackgroundDrawList() per-viewport buffers not being collected/ (#9303)
ocornut2026-03-18 16:48:18 +01:00
709be8c495
Discard/GC of ImDrawList buffers for unused windows favor restoring them to ~Size*1.05 instead of Capacity when awakening again. (#9303)
ocornut2026-03-18 15:34:12 +01:00
6464276b62
InputText: cleanup/rework old comments + remove unnecessary indent in callback and main block setting apply_new_text.
ocornut2026-03-16 12:19:04 +01:00
16772365e2
Moved ImGuiButtonFlags_AllowOverlap from imgui_internal.h to imgui.h + standardize comments.
ocornut2026-03-16 18:42:22 +01:00
8957b3df03
InputScalar: minor rework to facilitate incoming change. Intended to have no side-effects.
ocornut2026-03-16 11:41:01 +01:00