ocornut
891dd2d31e
Docking, Style: fixed per-window ImGuiCol_UnsavedMarker changes not being latched by docked windows. ( #8983 , #9064 )
2025-11-12 18:22:05 +01:00
ocornut
d4c156a0f0
Merge branch 'master' into docking
2025-11-11 21:52:31 +01:00
ocornut
de917ebb95
Windows: move auto-fit block into braces for clarify. (no-op)
2025-11-11 21:48:17 +01:00
ocornut
501e0adcdb
Windows: CalcWindowAutoFitSize() remove child-specific hack added by 29439bdd27 and made obsolete by 7537ba2b4. ( #9060 , #1710 )
2025-11-11 21:47:15 +01:00
ocornut
a2544f9496
Windows: programmatic auto-sizing on a single axis also apply proper logic. ( #9060 )
2025-11-11 21:37:21 +01:00
ocornut
b51f6e073c
Windows: reorganize auto-fitting code blocks in Begin(), step 2.
...
Toward #9060
2025-11-11 21:15:43 +01:00
ocornut
52e9d94f93
Windows: reorganize auto-fitting code blocks in Begin(), aimed to have no side-effect, but..
...
..outer ImGuiWindowFlags_AlwaysAutoResize previously took priority for both axis. New logic per-axis.
Toward #9060
2025-11-11 20:03:31 +01:00
ocornut
fc262355ca
Windows: Fixed an issue where repeated calls to SetNextWindowSize() using 0.0f to auto-size would keep marking ini settings as dirty.
...
+ marking dirty on old io.FontAllowUserScaling Ctrl+Wheel
2025-11-11 19:47:48 +01:00
ocornut
7537ba2b44
Windows: fixed single-axis auto-sizing (via double-clicking a border) to take account of remaining scrollbar on the other axis. ( #9060 )
...
Potentially now should apply same logic to the other resizing path also described in #9060
2025-11-10 19:36:16 +01:00
ocornut
3109131a88
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# imgui.cpp
# imgui_internal.h
2025-11-06 18:11:16 +01:00
ocornut
b0d3c3a674
Drag and Drop: prev/curr storage for DragDropAcceptFlags. ImGuiDragDropFlags_AcceptNoPreviewTooltip test uses DragDropAcceptFlagsPrev for consistency. ( #143 )
...
I don't think this would have materialized as a visible bug.
2025-11-06 17:59:01 +01:00
ocornut
8e2e87d638
(Breaking) Commented out legacy SetItemAllowOverlap() obsoleted in 1.89.7: this never worked right. Use SetNextItemAllowOverlap() _before_ item instead.
2025-11-06 16:29:19 +01:00
ocornut
1c3a60047c
(Breaking) IO: commented out legacy io.ClearInputCharacters() obsoleted in 1.89.8.
2025-11-06 16:28:58 +01:00
ocornut
62162747e7
(Breaking) Keys: commented out legacy names which were obsoleted in 1.89.
...
ImGuiKey_ModCtrl --> ImGuiMod_Ctrl, ImGuiKey_ModShift --> ImGuiMod_Shift, ImGuiKey_ModAlt --> ImGuiMod_Alt, ImGuiKey_ModSuper --> ImGuiMod_Super.
2025-11-06 16:28:25 +01:00
ocornut
189d8c9d9c
(Breaking) Commented out legacy ImGuiChildFlags_Border ( #462 ), ImGuiWindowFlags_NavFlattened ( #7687 ), ImGuiWindowFlags_AlwaysUseWindowPadding.
2025-11-06 16:11:07 +01:00
ocornut
f45adb995c
Drag and Drop, Style: added basic styling options to DragDrop target rect. Amends. ( #9056 )
2025-11-06 15:38:20 +01:00
aaronkirkham
7954d6782e
Drag and Drop, Style: added basic styling options to DragDrop target rect. ( #9056 )
2025-11-06 15:34:40 +01:00
ocornut
a0bfbe4d8f
Windows: BgClickFlags inherited by default + missing info in Changelog. Amend 40f9e4e. ( #899 , #3071 , #5044 , #3379 )
2025-11-05 20:16:45 +01:00
ocornut
42015f7194
Merge branch 'master' into docking
...
incl/ viewport fix for #9054
2025-11-05 19:18:46 +01:00
ocornut
e674f57bb6
Backends: SDL3: Fixed an issue with missing characters events when an already active text field changes viewports. ( #9054 )
...
Always use SDL_GetKeyboardFocus().
(tried to defer ImGui_ImplSDL3_PlatformSetImeData() processing for when OS-window is available but it didn't actually work because we don't systemetically OS-focus new viewports and SDL3 only sent characters to keyboard focused window.)
2025-11-05 19:15:47 +01:00
ocornut
ff45cb5929
Viewports: rename FindViewportByID() parameter for clarity.
2025-11-05 18:40:05 +01:00
ocornut
1897248bda
Misc: added assert to detect ~ImGuiContext() called without DestroyContext(). ( #9051 )
2025-11-04 17:55:18 +01:00
ocornut
051a31594f
Metrics: fixed table and columns rect highlight from display when metrics window is not in the same viewport as the table.
2025-11-03 19:48:57 +01:00
Brenton Bostick
a3546b52f8
Various typo fixes ( #9042 )
2025-11-03 13:26:12 +01:00
ocornut
db577cd445
Fonts: rename internal fields for consistency.
2025-10-31 16:38:23 +01:00
ocornut
1d942eb6c9
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_win32.cpp
# imgui.cpp
# imgui_demo.cpp
# imgui_internal.h
2025-10-30 18:08:56 +01:00
ocornut
3c578fa87e
InputText: restore truncating, now between UTF-8 codepoint. ( #9029 )
...
Amend e612536 , 2a194e2 .
2025-10-29 18:40:40 +01:00
ocornut
8df962a6ed
Debug Tools: fixed DebugTextEncoding() potentially reading out of bounds if provided a trailing truncated UTF-8 sequence.
2025-10-29 17:58:52 +01:00
ocornut
40f9e4e8e2
Windows: store BgClickFlags which allows the equivalent of io.ConfigWindowsMoveFromTitleBarOnly to be overridden on a per window basis. ( #899 , #3071 , #5044 , + #3379 )
...
io.ConfigWindowsMoveFromTitleBarOnly now sets initial value for BgClickFlags. Using e.g. ImGui::GetCurrentWindow()->BgClickFlags &= ~ImGuiWindowBgClickFlags_Move; allow per-window override.
This will be extended for supporting scrolling options for #3379 .
As a minor side effect: the effect of enabling io.ConfigWindowsMoveFromTitleBarOnly now happens one frame later ('window_modal_bounds_exceeding_work_area" test accidentally broke in some situations because of that)
2025-10-28 19:13:11 +01:00
ocornut
245e12cca7
Internals: tweak UpdateMouseMovingWindowEndFrame().
2025-10-28 19:06:37 +01:00
ocornut
8019d39545
Shuffle a few internal context fields to reduce padding.
2025-10-28 19:06:36 +01:00
ocornut
95e047244e
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_sdl3.cpp
# examples/example_sdl3_vulkan/main.cpp
2025-10-23 21:05:22 +02:00
ocornut
b8573a7e33
Groups: fixed an issue reporting IsItemEdited() signal after EndGroup() for some widgets e.g. Checkbox(), Selectable(). ( #9028 )
2025-10-23 13:54:14 +02:00
ocornut
28dabdcb9e
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# docs/CHANGELOG.txt
2025-10-16 20:41:17 +02:00
ocornut
7d8d587bc0
Version 1.92.5 WIP
2025-10-15 16:46:18 +02:00
ocornut
e7d2d636af
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-10-14 19:33:36 +02:00
ocornut
9a5d5c45f5
Version 1.92.4
2025-10-14 19:26:56 +02:00
ocornut
25e5baf5f0
(Breaking) Clipper: commented out legacy IncludeRangeByIndices name obsoleted in 1.89.9. ( #6424 , #3841 )
2025-10-14 19:00:50 +02:00
ocornut
c8db91b7b4
(Breaking) TreeNode, Selectable: commented out legacy ImGuiTreeNodeFlags_AllowItemOverlap, ImGuiSelectableFlags_AllowItemOverlap names obsoleted in 1.89.7.
...
Amend 51f564e
2025-10-14 19:00:49 +02:00
ocornut
702cc9993a
Relaxed internal assert in MarkItemEdited() some more. ( #8997 )
...
Amend e7a734f78d , 5a2b1e8482
2025-10-14 16:31:38 +02:00
ocornut
96ad003000
Nav, Docking, Selection: Fixed tab change from reinitializing navigation state. ( #8997 )
2025-10-14 16:30:30 +02:00
ocornut
28ed29078b
Relaxed internal assert in MarkItemEdited() some more. ( #8997 )
...
Amend e7a734f78d , 5a2b1e8482
2025-10-14 16:07:07 +02:00
ocornut
f9571ce4d3
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx12.cpp
# docs/CHANGELOG.txt
# imgui.cpp
2025-10-13 15:13:06 +02:00
ocornut
bad5ee167b
Shortcuts: added support for combining ImGuiInputFlags_RouteFocused with ImGuiInputFlags_RouteOverActive,. ( #9004 )
2025-10-13 15:06:34 +02:00
ocornut
b6e277980f
Shortcuts: reorganize route scoring so values are easier to read. ( #9004 )
...
Score now require 16-bits but ImGuiKeyRoutingData doesn't grow size.
2025-10-13 15:06:32 +02:00
ocornut
cab82d9c76
Viewports: fixed crsah in UpdateTryMergeWindowIntoHostViewport(). ( #8948 )
...
Amend e7aa0de . Reproed in "testengine_cov_perftool".
2025-10-08 16:53:34 +02:00
ocornut
4b858cf5d1
Made tooltip windows inherit parent. ( #8982 , #1345 )
...
Intent here was for a manually focused tooltip to not steal title bar highlight.
2025-10-06 17:06:40 +02:00
ocornut
2128e2f44b
Style: added ImGuiCol_UnsavedMarker. ( #8983 )
2025-10-06 12:16:48 +02:00
ocornut
8f3f428228
Drag and Drop: amend BeginDragDropTargetViewport() for mutli-viewports. ( #5204 )
2025-10-03 19:13:38 +02:00
ocornut
f6754fd812
Merge branch 'master' into docking
2025-10-03 19:07:29 +02:00