Repository navigation
Ariadne windows: a long title stops short of the maximize button - #1269
Merged
Merged
Conversation
ImGui lays out a window's title in Begin, leaving room for the close button and the collapse arrow only, so a title longer than its window ran under the maximize button drawn after it. A window with that button is now begun as "###<id>" (the same ImGui window) and its title is drawn after Begin where ImGui 1.92's RenderWindowTitleBarContents would put it, with one more button's room on the right. Titles that fit land on the same pixels (the goldens are unchanged, 0 px differ). The window's name is put back to "title###id" for ImGui's Ctrl+Tab list. cvcgl_imgui_maximize: a 160 px window with a long title draws only the button's square inside the button, its title left of it, and keeps its name.
transfix
enabled auto-merge (squash)
November 15, 2026 06:39
transfix
added a commit
that referenced
this pull request
Nov 16, 2026
- script_engine.cpp: #1283 factors the sliced form's process lookup into calling_process, which run_as_program_work (a client's WebAssembly guest, run as its client's program) shares. The lookup keeps this branch's group: the calling process is on the group whose pump runs the call (an isolated document's), else on group 0. - STATE_EXEC_THREADED.md: notes that run_as_program_work shares the lookup.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A window title longer than its window used to run under the maximize button. Now it stops short of that button, the same way ImGui already stops it short of the close button. This was the follow-up left open by #1220.
Why it happened: ImGui lays out a window's title inside
Begin, and leaves room only for the close button and the collapse arrow. The maximize button is drawn afterBegin, so the title ran underneath it.Change (
src/cvcGL/ariadne/ImGuiBackend.cpp, ImGui backend only):###<id>. ImGui takes a window's id from the part after###, so this is the same ImGui window, but ImGui draws no title text for it.title_textthen draws the title where ImGui 1.92'sRenderWindowTitleBarContentswould, with the same alignment and clip rules, and one more button's width of room on the right.Begin, the window's name is copied back totitle###id. ImGui's Ctrl+Tab list reads that name, and would otherwise show "(Untitled)".maximizable: false) are drawn exactly as before.Test (
cvcgl_imgui_maximize, real ImGui): a 160 px wide window with a long title.Verified locally (Windows Release, llvmpipe):
cvcgl_imgui_maximize,cvcgl_imgui_windows_menuandcvcgl_imgui_window_fitpass, and golden 34/34 with 0 px different.