* Update egui/eframe to 0.37 (WIP)
egui, eframe and egui-wgpu 0.36 -> 0.37. SolidCraft's egui-wgpu patch is
rebased onto 0.37.0; the vendored accesskit_macos is dropped (0.27.2 has
the #7535 fix).
Not finished: 36 solidcraft-ui-egui lib tests fail, and the full lib run
crashes with SIGSEGV when tests run in parallel.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Tests: clear texture deltas that egui 0.37 refuses to drop
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Drop non-finite pointer input before egui; keep test time monotonic
egui 0.37 debug-asserts on NaN wheel deltas, on time moving backwards in the
pointer history, and on add_space inside a Grid.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Hold a click that follows typing in the same frame until the next frame
egui 0.37 drops a field's focus on a click elsewhere when the field first
reads its style, before it reads the frame's typing, so text typed in the
frame of a click was lost.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Name a document tab's close button "Close tab"
egui 0.37 names an unnamed widget after its tooltip, so the tab's × became a
second control named Close beside a dialog's. The space mouse guard test now
clicks where each button was: by name it found nothing behind the guard.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Turn on egui's default_fonts: 0.37 no longer does
The built-in Hack is the UI's symbol fallback (#2955). The app got it through
eframe, but solidcraft-ui-egui on its own (its tests) did not.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Text menu: act on the selection the menu click took the focus from
egui 0.37 drops a field's focus on a click elsewhere before the field draws,
and an unfocused field loses its selection, so Copy, Cut and Paste from the
right-click menu saw no selection.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Placement field: keep its native height under egui 0.37's interact floor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Tests: pin the theme's 2/3 point radii; measure Japanese ribbon labels with a Japanese face
egui 0.37 rounds widgets 4 points by default, which the theme deliberately
does not follow. The ribbon test measured Japanese with missing glyphs, whose
width changed in 0.37; with BIZ UDPGothic, 駆動 wraps after its particle like
変換 does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Tests: click the render inspector's Perspective checkbox by position
egui 0.37 orders the accessibility tree differently, so the name found the
stage's Perspective segment first.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Translate "Close tab" for the complete catalogs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Point the focus workarounds at emilk/egui#8763
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Cargo.lock: update only what egui 0.37 needs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Web: Id::new -> Id::unique for the wasm-only windows
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Command search: keep its hint centred under egui 0.37's interact floor
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* egui 0.37 renames in code main added since the branch
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* egui 0.37 renames in code main added since the last rebase
Id::new to Id::unique, ui.id() to ui.scope_id(), WidgetType to Role, the
wheel events' source, and the button stroke read from the widget visuals.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
* Review: disclosures report expanded, late screenshots drained, chat width reset on both sides
A disclosure's node says whether it is open as expanded, as egui's own
collapsing header does. The screenshot channel is drained every frame, so a
shot whose request was cancelled is dropped. Resetting the chat panel's width
forgets both sides' state, as before 0.37, and the request stays with its
window when tabs switch. Tests main added since the last rebase clear their
texture deltas.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>