ocornut
3fb22b836b
Merge branch 'master' into docking
2026-02-12 20:08:03 +01:00
ocornut
d67c66c437
Changed RenderTextEllipsis() logic to not trim trailing blanks before the ellipsis. ( #9229 )
2026-02-11 13:24:38 +01:00
ocornut
7b365fa6b4
Nav: fixed another occurence of nav cursor briefly appearing when Tabbing with ImGuiConfigFlags_NavEnableKeyboard disabled. ( #9214 , #9218 )
...
Amend 1566c96cc + ea83628 .
2026-02-10 22:04:15 +01:00
ocornut
87262dd07a
Nav, IO: added undocumented ConfigNavEnableTabbing flag. ( #9218 )
2026-02-10 21:51:54 +01:00
ocornut
943fcc4f10
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# imgui.cpp
2026-02-10 20:52:55 +01:00
tanksdude
5fe48b6a0e
Docs: fixed some typos ( #9217 )
2026-02-10 16:40:52 +01:00
ocornut
524f01d248
Metrics: browsing font baked data persist tree state when e.g. using LoadAll.
2026-02-05 16:29:26 +01:00
ocornut
ea83628438
Nav: fixed navigation cursor briefly appearing when using API to focus an InputText() in a window with _NoNavInputs flag. ( #9214 )
...
Amend 1566c96cc
2026-02-03 17:33:45 +01:00
ocornut
76860017d5
Clipper, Nav: fixed an UBSan warning when using in a ListClipper region . ( #9160 )
2026-02-02 17:24:32 +01:00
ocornut
a9ca61a7ce
Fonts: fixed an issue where using PushFont() from the implicit/fallback "Debug" window when its recorded state is collapsed would incorrectly early out. ( #9210 , #8865 )
...
Amend 0e769c5 , ca31693 , d8da97f , 1bf41a0 .
2026-02-02 16:00:33 +01:00
ocornut
921842e8a1
Docking: make dock node tab bar ID match parent ID of its tab items.
2026-01-30 18:44:12 +01:00
ocornut
7a49ad6f5a
Docking: use DockContextDeleteNode() instead of raw IM_DELETE(), so we can better rework ownership of dock node tab bars.
2026-01-30 17:59:01 +01:00
ocornut
f58378711f
Docking: fixed various rendering issues and ability to have rounded floating dock nodes. Amend 91ce8cc. ( #6993 , #6151 )
2026-01-29 19:14:48 +01:00
ocornut
10ebda0b5e
Docking, Viwport: Fixed a regression in 1.92.4 where partially moving a floating docking node with split over the main viewport would set the window in an invalid state.
...
This was revealed by better merging in dfe308b (#8948 ) but isn't technically caused by it.
Added a agressive assert in UpdateTryMergeWindowIntoHostViewport() For good measure.
2026-01-29 18:55:30 +01:00
ocornut
91ce8ccdbc
Docking: fixed various rendering issues and ability to have rounded floating dock nodes. ( #6993 , #6151 )
2026-01-29 18:08:43 +01:00
ocornut
d6d5580099
Merge branch 'master' into docking w/ custom fix in Scrollbar()
...
# Conflicts:
# backends/imgui_impl_win32.cpp
# imgui.cpp
2026-01-29 17:52:30 +01:00
ocornut
a6598f6fdb
Windows: clarify/simplify background rendering: alpha should always be zero for DockNodeHost windows. ( #2522 )
...
Amend b16f738d04 which AFAIK misleadingly added ImGuiWindowFlags_DockNodeHost tests in there.
2026-01-29 17:48:31 +01:00
ocornut
6cc7787c77
Windows: shallow tweaks in window bg rendering to simplify diff w/ docking.
2026-01-29 14:14:15 +01:00
ocornut
8306e32495
Nav: fixed speed scale for resizing/moving with keyboard/gamepad. ( #323 )
...
Fix 04157da29 .
2026-01-28 15:14:15 +01:00
ocornut
814c6a194b
Log/Capture: fixed erroneously injecting extra carriage returns in output.
2026-01-26 12:29:42 +01:00
Tom Seddon
ab6c9d9b12
Ignore -Wsign-conversion warnings when building with gcc. ( #9192 )
...
Co-authored-by: Tom Seddon <tom@trlinux>
2026-01-26 11:51:22 +01:00
ocornut
c6e54c7ab5
Comments about input queue being close to be supporting multi-thread. ( #5772 )
2026-01-25 13:29:21 +01:00
Tom Seddon
08c777aeaa
Ignore -Wsign-conversion warnings when building with gcc. ( #9192 )
...
Co-authored-by: Tom Seddon <tom@trlinux>
2026-01-24 18:21:23 +01:00
ocornut
2a08c87b8c
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_dx10.cpp
# backends/imgui_impl_dx11.cpp
# backends/imgui_impl_dx12.cpp
# backends/imgui_impl_sdl2.cpp
# backends/imgui_impl_sdl3.cpp
# examples/example_glfw_metal/main.mm
# examples/example_glfw_opengl2/main.cpp
# examples/example_glfw_opengl3/main.cpp
# examples/example_glfw_vulkan/main.cpp
# examples/example_sdl2_directx11/main.cpp
# examples/example_sdl2_opengl2/main.cpp
# examples/example_sdl2_opengl3/main.cpp
# examples/example_sdl2_sdlrenderer2/main.cpp
# examples/example_sdl2_vulkan/main.cpp
# examples/example_sdl3_directx11/main.cpp
# examples/example_sdl3_opengl3/main.cpp
# examples/example_sdl3_sdlgpu3/main.cpp
# examples/example_sdl3_sdlrenderer3/main.cpp
# examples/example_sdl3_vulkan/main.cpp
# examples/example_win32_directx10/main.cpp
# examples/example_win32_directx11/main.cpp
# examples/example_win32_directx12/main.cpp
# examples/example_win32_directx9/main.cpp
# examples/example_win32_opengl3/main.cpp
# examples/example_win32_vulkan/main.cpp
# imgui_internal.h
2026-01-23 16:05:50 +01:00
ocornut
d1cf58e590
Nav: fixed WrapX/LoopX handling in menu layer. ( #9178 )
...
Amend 3050f653cb
2026-01-23 16:00:28 +01:00
RegimantasSimkus
e1217227b2
Tooltips, Disabled: fixed EndDisabledOverrideReenable() assertion when nesting a tooltip in a disabled block. ( #9180 , #7640 )
...
Amend f953ebf9ca
2026-01-23 15:29:27 +01:00
ocornut
a117055b6b
Internals: move field for locality.
2026-01-22 20:13:35 +01:00
ocornut
3050f653cb
Menus, Nav: made navigation into menu-bar auto wrap on X axis. ( #9178 )
2026-01-22 17:33:35 +01:00
ocornut
66bb8add73
Docs: better document Shortcut() related stuff. ( #9188 ) Better document io.ConfigDpiScaleFonts. ( #9179 )
2026-01-22 14:35:16 +01:00
ocornut
12223cc3e9
Error handling: rework macros, add IM_ASSERT_USER_ERROR_RET(), IM_ASSERT_USER_ERROR_RETV() to simplify code.
2026-01-19 12:16:10 +01:00
ocornut
c389a9528f
Viewports: reworked IsViewportAbove() test as an alternate fix for #8948 , #9172 , #9131 , #9128 .
...
Worded in this order we can better benefit from the ParentViewport stack from 6fd4cf8e49 .
2026-01-16 16:29:18 +01:00
ocornut
9eebd37b59
Viewports: update LastFocusedStampCount earlier. Fix ( #8948 , #9172 , #9131 , #9128 ) but probably have other side effects too.
...
Amend f1ae07e532 . Initial value of LastFocusedStampCount was set at the time of platform ShowWindow which is too late for first-frame UpdateTryMergeWindowIntoHostViewport() evaluation.
2026-01-16 16:26:19 +01:00
ocornut
7038e71ae2
Viewports: renamed local to make algorithm easier to follow + comments. Should be no-op. ( #8948 , #9172 , #9131 , #9128 )
2026-01-16 16:05:26 +01:00
ocornut
d7598aa84f
Backends: SDL2, SDL3: changed GetClipboardText() handler to return NULL on error aka clipboard contents is not text. ( #9168 )
...
Consistent with other backends.
2026-01-15 16:08:18 +01:00
ocornut
5b5d5b049d
Amends for docking for 9a6eb0a and 7a02f4b. ( #9138 )
2026-01-14 19:46:46 +01:00
ocornut
66e08b6575
Merge branch 'master' into docking (require next commit)
...
# Conflicts:
# backends/imgui_impl_glfw.cpp
# backends/imgui_impl_glfw.h
# backends/imgui_impl_osx.mm
# backends/imgui_impl_sdl3.cpp
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_vulkan.h
# backends/imgui_impl_win32.cpp
# imgui.cpp
2026-01-14 19:42:11 +01:00
ocornut
7143d711bf
Images, Style: added style.ImageRounding, ImGuiStyleVar_ImageRounding to configure rounding of Image() widgets. ( #2942 , #845 )
...
Moving border drawing above AddImage() call, should not make a difference for square images.
2026-01-14 15:55:03 +01:00
ocornut
0d08927dae
Error handling: Improve error handling and recovery for EndMenu()/EndCombo(). ( #1651 , #9165 , #8499 )
2026-01-14 14:59:39 +01:00
ocornut
f5384544cb
(Breaking) Commented out legacy names obsoleted in 1.90 (Sept 2023): BeginChildFrame(), EndChildFrame(), ShowStackToolWindow(), IM_OFFSETOF(), IM_FLOOR().
2026-01-08 17:33:09 +01:00
ocornut
7a02f4b545
Nav, Shortcuts, Tooltips: tooltip reference position not affected by remote shortcut activation. ( #9138 , #456 )
...
NavCalcPreferredRefPos() has different path for popups vs tooltip.
Amend 197f8904fe
2026-01-08 17:14:38 +01:00
ocornut
ca9b7b4071
InputText, Nav: amend 1566c96. (incorrectly commited old chunk)
2026-01-08 17:11:23 +01:00
ocornut
1566c96ccd
InputText, Nav: fixed remote/shortcut InputText() not teleporting mouse cursor when nav cursor is active and io.ConfigNavMoveSetMousePos is enabled.
...
Motivated by this, also made SetFocusID() immediately set g.NavIdIsAlive, which is more correct and might be other (positive) subtle side effects.
2026-01-08 17:04:52 +01:00
ocornut
3389dfd9dd
IsItemHovered() doesn't filter out the signal when activated item is a shortcut remote activation. ( #9138 , #456 )
...
Amend a201af7354
2026-01-08 15:58:12 +01:00
ocornut
cab7088c85
Merge branch 'master' into docking
...
# Conflicts:
# backends/imgui_impl_vulkan.cpp
# backends/imgui_impl_vulkan.h
# imgui.cpp
2026-01-07 18:20:29 +01:00
ocornut
7b3ad4a282
(Breaking) Popups: changed 'ImGuiPopupFlags popup_flags = 1' default value to be '= 0' for BeginPopupContextItem(), BeginPopupContextWindow(), BeginPopupContextVoid(), OpenPopupOnItemClick(). ( #9157 , #9146 )
2026-01-07 18:15:15 +01:00
ocornut
01a4cff8f9
Docking: moving redundant clears in one place for simplicity.
2026-01-05 14:40:29 +01:00
ocornut
00dfb3c896
Fixed implicit/fallback "Debug" window from staying visible if once docked. ( #9151 )
2026-01-05 14:36:33 +01:00
ocornut
960921f03a
Happy new year!
2026-01-03 01:07:58 +01:00
ocornut
396b33d0d0
Merge branch 'master' into docking
...
# Conflicts:
# imgui.cpp
2025-12-23 18:19:15 +01:00
ocornut
05581da183
AddFontDefault() now automatically selects an embedded font between AddFontDefaultVector() and AddFontDefaultBitmap).
2025-12-23 18:16:33 +01:00