On NTFS, writing <path>:Zone.Identifier creates <path> when it doesn't
exist. mark_from now returns NotFound for a target that isn't an existing
file, so marking a saved attachment never leaves an empty file behind.
This is what kept the Windows gate red on main: the scripted file service
records the save without touching disk, and the zone mark then created
the destination file.
Fixes#8622
move_tab_in_strip left a dragged tab in its old group when it landed next to
a different group and not next to its own, so the tab carried group A's
colour inside group B's run. It now joins a group only when dropped between
two members of it (or next to its own group) and is ungrouped otherwise.
Adds a unit test that drags a member of group A behind the last member of
group B.
- Store Option<(TabGroupId, Place)> in PendingOpen, OpenRequest, PasswordPrompt, open_dialog_in_group, and open_path_in_group
- Pass the strip Place from show_group_editor into group_editor_popup
- Set view.pane.place and view.pane.placed on unplaced views in attach_tab_to_target_group before add_tab_to_group runs
- Add open_path_in_group_in_second_pane_places_tab_next_to_group test
- Paint group header pills, colored top accent bars, and the group editor popover in doc_tabs
- Show pin icons on pinned tabs and avoid opening empty Menu::context overlays for non-view strip items
- Scope close_other_tabs, close_tabs_to_right, close_tab_group, add_tab_to_group, and set_tab_pinned to the pane strip order, keep pinned tabs, and close via request_close_tab
- Thread target_group through file opening for New tab in group
- Remove unused DocView animation fields and restore DocView::twin doc comment
The hosted gate confirms the suffix prompt on the first frame it appears, while the modal is still recentring, so the worker never writes greeting.
Co-authored-by: sixpar1 <sixpar1@gmail.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
A leftover last byte is not a unit, and readers leave it out when decoding. Dropping it before appending " (2)" keeps the suffix in the key's byte order, so the stored name is the decoded name plus the suffix rather than a misaligned string.
The table lays out only the rows in view, so the test scrolls it to each command, and the keys the document view handles itself are listed under Show > Fixed Keys, so it picks that view before looking for them.
The window listed the command catalog the keys run on, which keeps English labels, so a translated interface showed English rows all under Other. It now lists each command as the menus label it, in the current language, with its English label kept for search, under the menu bar path that lists it, and relists them when the language changes while it is open.
A clashing key from an inserted or combined file is numbered as text, and " (2)" is appended in the key's own encoding: UTF-16 big- or little-endian after a byte-order mark, bytes after a PDFDocEncoding key. A little-endian key was read as PDFDocEncoding and rewritten as different UTF-16 text, so the renamed attachment lost its name.
alt.rs: main now resolves indirect structure kids (#5611), checks the parent and computes the new parent /K before it reads the page, and marks content through decode_page_streams/Marked (damaged streams refuse). This PR's mutation_mcids ownership checks replace main's has_child_structure + mcids in both actions, and its reachable-parent check runs with main's parent checks, before any write. Since main validates the parent first, the missing-/P + missing-content case now refuses with NoParent (test renamed), still without mutation. tools.rs and roadmap keep main's text plus this PR's refusal notes.
main split the engine's lib.rs into modules; the as-opened validation is ported: Editor::as_opened and AsOpened in history.rs, editor_signatures in doc_state.rs (used wherever an editor's signatures are validated), the as-read capture in open.rs, and mark_saved clearing it in session/save.rs. The test also pins the saved status (dynamic Invalid, static Valid).