* Closing document windows: file.close save, ui.closeWindow window, prompt raised on window focus (#7822)
Spec rules 3, 5, 6 and 8 of docs/specs/multi-window-close.md that the close-owner
work (#8277) left open, with a test each.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
* Review fixes: file.close save keeps the comment-draft refusal; drop redundant focus hunk (#7822)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
* ADR 0001: X11, XWayland and BSD on X11 keep a visible root (amendment)
egui's windowless root returns UnsupportedConfiguration there; WordCraft
falls back to the windowed root. The close rules still apply.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
* Repin craft-libs to 5299d8d9 (windowless root support, IconPicker previews, CellGrid fix)
craft-libs d73e274a -> 5299d8d9 (every craft-libs rev, craft-nightly and the
patches), egui 07c20531 -> 399fc6e0, winit 0dfcec0e -> 3fd7ae64, the revs
craft-libs main builds with. Cargo.lock updated for those packages only.
Adapt to the hosted unsaved-changes question: the dialog host takes
HostedUnsavedChangesDialog, not UnsavedChangesDialog.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
* Windowless root: every document window is a child; X11 keeps the visible root (#7822)
Use eframe's RootViewportMode::Windowless with InstallSpec::windowless_root unless
the session is X11, and fall back to the visible root on UnsupportedConfiguration.
active_viewport/viewports no longer fall back to ROOT when windowless; close_decision
closes when no documents remain; a window that failed to open is dropped and the user
told; ui.closeWindow replies requested:false while a Save prompt is open.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
* Windowless root: save window place every frame, raise Save prompt on sole-window close (#7822)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
* fix(windows): save on window-only file.close; point ui.closeWindow docs at ui.inspect; document save scope (#8624)
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
* ADR 0001: X11 keeps #7752; dialogs have no parent under the windowless root
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
* Windowless root: only the first window takes the saved place; a promoted survivor stays put (#7822)
Reported on macOS: closing the first window moved the surviving window to the
first window's saved place.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
* Windowless root: files dropped on a document window reach the intake (#7822)
eframe runs raw_input_hook only for the root and deferred viewports; document
windows are immediate viewports, so under the windowless root no drop reached
the app. A viewport hook forwards child-window drops. Pointed out by Skylar
(windowless/default-on-reference).
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01FypgCWNarDG3QfXK2YMzdx
---------
Co-authored-by: Claude Opus 5.5 <[email protected]>
A centre or decimal tab that moves on to the next line with its text kept the width it had on the line before, so the shift of its text was worked out from that old width and the text was off its stop. Every tab whose text is pending now starts with no room.
The doc said the link lands at the block's top-left corner; it says now
that insert.link inserts the link text there and leaves the block's own
text unlinked, which is what the command does (#8602).
Refs #8581
The typing-parity doc now says that a column (block) selection isn't one
line of text, so Text to display shows <<Selection in Document>> and the
block keeps its text, and that the link still lands at the block's
top-left corner.
Refs #8581