Skip to content

feat: land the five stacked PRs that never reached main - #2086

Merged
l0gicgate merged 119 commits into
mainfrom
feat/1910-land-stranded-stack
Nov 7, 2026
Merged

l0gicgate merged 119 commits into
mainfrom
feat/1910-land-stranded-stack

Conversation

@l0gicgate

Copy link
Copy Markdown
Contributor

Description

Lands five pull requests that GitHub shows as merged but that never reached main. Each was stacked on a mirror branch (stack/2070 → stack/1925 → stack/1924 → #1826's head → stack/1802), and the bot kept merging into those mirrors after the root, #2070, had already been squash-merged to main. Their issues were auto-closed, so the features looked done but are absent from the main build.

This branch is the tip of that chain (the #1790 squash, whose tree equals the final #1790 head) with main merged in using the #2070 squash commit as the merge base. The merge was conflict-free, and the diff against main is exactly the union of the five squashed PRs, nothing more:

No code was changed beyond the merge. The individual PRs carry the reviews and the per-feature rationale.

Visual evidence

N/A. This is a merge of already-reviewed work; the original PRs carry the screenshots.

How to test

  1. Open Settings → General → Browsing and confirm Video preview start is present under Autoplay media previews. Set it to 20 and preview an unopened video.
  2. In Columns view, open folders three levels deep, focus the middle column and press Alt+Down, then Alt+Left.
  3. Press Ctrl+F, type part of a folder name and /.
  4. Enable 10xer mode (Ctrl+Shift+M). Press m then a in a folder, navigate away and press ' then a. Restart and repeat the jump.
  5. Still in 10xer mode, with a folder-kind custom action configured, press ; then . and pick the action.

Expected result: the video starts at about 20 % of its duration. Alt+Down makes the focused column the first one with the cursor kept, and Alt+Left restores the strip. / enters the first filtered folder and clears the query. The letter bookmark jumps back to the saved folder, including after a restart. The ; . action runs on the folder you are in, not the cursor item.

Related issue

Closes #1910
Closes #1922
Closes #1743
Refs #1744 (the find extension there remains deferred, as in #1802)
Closes #1787

ogarza and others added 30 commits October 23, 2026 10:34
In 10xer mode the cursor always sits on an item, so `;` then a digit could
never target the folder itself, which only the mouse could reach through the
background menu. `; .` now lists the actions matching the keyboard-focused
folder, as its background menu does, and a digit runs one with the folder as
its input and parent and source `background`, even in an empty folder.

The shortcut reference shows `; . 1–9 / ; . 0`, the `;` panel offers the new
step, and the custom actions and 10xer docs describe it.

Refs #1743
Add a "Video preview start" percentage (0-99, default 0) under
Settings > General > Browsing, stored as `preview_video_start`. A video
preview with a known duration and no position remembered this session
seeks there once its header arrives; a remembered position from #1326
still wins, and audio, GIF, and streams of unknown length start at the
beginning.

Closes #1910
Add a `make_first_column` command (Alt+Down in the default map) that, in
Columns view, drops the columns before the focused one and keeps the
columns after it. Focus and the cursor stay on the same item, and the
change is a history step, so Back restores the whole strip. It does
nothing in the first column, in Icons and List, and in 10xer mode, which
keeps its own parent, current and preview strip.

The command is listed in Settings > Keyboard and in the Columns section
of the shortcut reference.

Closes #1922
Keep the filter ready for the next level when entering its first matching folder.

Refs #1744
Let Ctrl+F filters enter the first displayed folder with slash in all three
views and the chooser, keeping the filter ready for the next level.

Keep pending navigation through empty indexing batches, and cancel it when
the query or input focus changes.

Refs #1744
…tions-chord

Resolve the conflicts with remappable shortcuts (#1885) by making the
folder actions step a command, "actions.folder" step(Actions) on ".", so
it can be rebound, the conflict checker sees it, and Settings lists it
as "Actions for the focused folder" in the 10xer table. The digits after
it and the "; .-" pill are built from Shown values and follow the user's
keys for both ";" and ".". Lettered steps are read before it, and digits
after, as an armed chord reads its steps first.

Restore the Digits and Chord::options doc comments, and document the new
step in the keymap, preferences and keyboard-shortcuts guides. It has no
path in the default map, where there is no panel to switch.
The folder actions step follows the user's key in the ; panel, the ; .- pill and the digits after it, conflicts with another Action step on its key, and has no path in the default map. The catalog test reads a two-key digit row as the second key's reference row.
KeyboardFixture seeds the exhaustive preferences fixture, which now sets
preview_video_start to 20, so the clip opened at 20 % and the handoff
reported --start=12.000 instead of the position reached by playing.
…back

On Arabic, Thai and similar layouts the key where US has / types a letter;
the filter field and the 10xer f prompt now type it instead of entering
the first matching folder.
A filter read while its folder is still loading now waits until a folder
is the first match or the listing ends, and re-evaluates the pending /
when the folder finishes loading or fails.
`DecodedMedia::close` forgot the position of a video closed within its
first second or at its end, so with a non-zero Video preview start the
next open jumped to the configured percent again. Seeking back to watch
an intro, or watching to the end, was overridden on the next preview,
and the Settings description ("A video you already previewed resumes
where you left it") did not hold.

Remember such a video at 0 instead. `resume_position` still ignores
positions within the first second, so it reopens at 0:00, and
`set_start_percent` applies the configured start only to a video not
previewed earlier this session. Audio is still forgotten as before.
Keep slash navigation and its regressions in the modules introduced by
main, including the layout fallback and pending listing fixes.

Refs #1744
…view-start-position

# Conflicts:
#	src/ui/media.rs
#	src/ui/preferences.rs
#	src/ui/preferences/tests/preferences.rs
#	src/ui/preview.rs
#	src/ui/settings/search.rs
…sed-column-first

# Conflicts:
#	src/app/browser.rs
#	src/app/navigation.rs
#	src/app/navigation/tests.rs
#	src/ui/browser.rs
#	src/ui/shortcut_reference.rs
#	src/ui/window/keyboard/items.rs
Name the rule that a file and a folder never replace one another, and
that only two folders merge, as Collision::between and Collision::allows,
and keep it on the paste collision as its kinds rather than as two loose
flags. Apply to All's split of the collisions an answer covers and the
"a file and a folder can't replace one another" explanation become
helpers, so the undo and redo replay prompt can use the same rules.
No behaviour change.

Refs #2017
Undo and Redo of a move asked about an item already at the destination
with Replace always offered, so a file meeting a folder of the same name
(or a folder meeting a file) could be told to replace it, and the replay
then failed that item. Apply to All with Replace carried the failure to
every such item.

The presence probe now reports whether an item it finds is a folder, a
link counting as a file, as the paste's own check does. The replay
prompt applies the paste's collision rules to the moved item and the one
in its way: it hides Replace and says why, and Apply to All with Replace
leaves those items their own prompt. A replay prompt with neither
Replace nor Keep Both starts on Skip, or on Cancel when Skip is hidden.
An item whose kind cannot be read is still offered Replace.

Refs #2017
ImageMagick in the pinned image had no HEIF coder library, so it wrote
PNG bytes under .avif/.heic names. libheif from the same dated snapshot
brings the built-in aom, x265 and libde265 codecs, and also enables the
glycin heif loader that GDK Pixbuf uses inside the preview sandbox.

Refs #2019
wmfeht and others added 24 commits November 6, 2026 00:23
Move FILTER_DESCEND to the listed catalog block and give it a row in both maps' reference, so every_listed_binding_has_its_own_row_in_its_maps keeps it there. Translate the row in all thirteen catalogs.
Move the test-only results hook from search_session/tests.rs into search_session.rs under cfg(test), as browser/progress.rs does for its delay override, so the tests module stays private.
The two normal-mode slash tests exercise the Ctrl+F entry, not the 10xer footer prompt; the Arabic fallback helper they share with the 10xer test moves to keyboard_dispatch.rs.
Focus leaving the footer prompt and returning before its idle close must still cancel the pending descent, which only the prompt focus check in FilterDescent::is_current does.
Ctrl+F, a query and / enter the matching folder and leave an empty, focused filter, in Columns, Icons and List, with and without Include subfolders. The second level types / as Shift+7 on the German layout.
Catching the / key press swallowed it before an in-process input method saw it, so a Zhuyin, Array30 or Boshiamy code starting with / could not be typed into a filter. The window now leaves / to the field, and a lone / the field commits, read from its insert-text, enters the folder instead of reaching the query. Longer committed text holding / is typed. The layout-fallback guard and its Arabic test go, since a letter on the slash key commits that letter.
Once Up or Down moves the f prompt's result cursor, / enters the result under it rather than the first; editing the query or reopening the prompt goes back to the first. The prompt keeps a stepped hit through edits, so a flag rather than the cursor itself says whether it moved since the query changed. Ctrl+F keeps entering the first result. The 10xer F1 row says so in all thirteen catalogs.
GTK deletes a selection, or the character overwrite mode replaces, before it inserts a commit, so / over a query that Ctrl+F or Tab had selected cleared the query and entered nothing. The hook now records that deletion within the change and puts the text back when it takes the /, and only for a field that accepts the /. The change GTK still reports afterwards leaves the text as it was, so a pending descent now ends only when the text differs from its query. Tests commit through the field's input method, which replaces a selection as typing does.
Down into the results and Ctrl+F back select the filter's query, the route on which / used to clear it.
A folder without a native path, such as a remote share, filters its listing in place and has no result rows, so / entered the first match even after Up or Down moved the listing cursor. The in-place branch now takes the entry under that cursor too. The remote case reuses RemoteFolders, now beside RemoteShare.
The changed GTK reports after a / puts back a selection left the text as it was, yet cleared the result cursor flag. Prompt listeners now skip a change whose text equals the last one seen, so the filter prompt's descent cancel needs no text comparison of its own.
Overwrite mode replaces the grapheme at the cursor, which may hold several characters, so the record no longer assumes one. A / that restores the text puts the cursor back where it was: at the end of the restored selection, or where overwrite would have written. The hook also names the preedit limit.
Down into the results raced subfolder results still arriving under CI load, leaving nothing focused (list-subfolders). Ctrl+A selects the query in the field itself, so / still replaces a selection without depending on the result rows.
* feat(10xer): add persistent letter bookmarks

Save the current directory with m followed by a letter and jump back
with apostrophe followed by that letter.

Show only saved letters and full directory paths in the jump menu.
Persist bookmarks across windows and restarts using atomic writes.

Add regression coverage, documentation, and localized feedback.
Keep default-mode typing and media-preview mute behavior unchanged.

Refs #1787

* fix(10xer): make bookmark jumps safe and cancellable

Navigate only after a successful folder probe and reject all probe
errors and timeouts without replacing the current directory.

Keep jumps pending until completion or cancellation. Consume cancelling
keys without dismissing selection or previews, cancel on selection and
focus changes, and preserve unrelated navigation validations.

Restore document and archive preview ownership of bookmark prefixes.
Cancel failed bookmark menus, clean unsupported entries on save, and
remove the unused message from every locale.

Add filesystem failure, pending input, preview, and persistence
regressions and document the corrected behavior.

Refs #1787

* fix(10xer): let a bookmark save replace a file that no longer parses

A letter-bookmarks.json that failed to parse, after a bad hand edit,
truncation, a multi-character key or an extra field, made every m x
fail until the file was deleted by hand. Reading ignores unknown fields
and unusable keys, and a save starts from empty bookmarks when the
contents still do not parse, as navigation history does.

* fix(10xer): always report the result of a bookmark save

Any key pressed before the storage worker replied to m x bumped the
bookmark revision, so the save returned without its feedback, failures
included. A save is never canceled, so it now skips the revision and
folder checks a pending jump needs and always reports its result.

* test(10xer): name the pending bookmark jump tests after their behaviour

* test(10xer): port the letter bookmark GUI checks to QA scenarios

The end-to-end suite the PR added test_letter_bookmarks.py to was
removed in favour of the QA scenarios. Its three cases become:

- letter-bookmarks-save-replace-and-survive-restart: m saves the
  listed folder rather than the selected child in every view, ' jumps,
  saving again replaces a bookmark, and it survives a restart;
- letter-bookmarks-read-latin-letters-and-cancel: on US and Russian
  layouts Escape and a digit cancel, and m z and ' z read the Latin
  letter;
- letter-bookmark-failed-jump-keeps-folder: a bookmark whose folder or
  parent was removed reports it is unavailable and keeps the folder and
  selection.

* style(10xer): format the letter bookmark port

* fix(10xer): keep a pending bookmark jump through outside listing changes

A file monitor or operation batch that moved the cursor or selection, such as an outside deletion of the focused item, published FocusChanged or SelectionSetChanged and silently canceled a pending ' jump. Only events the user caused cancel it now; changes published under focus_follows_external_change or focus_follows_background_load leave it pending, and the folder check at completion still applies.

* refactor(10xer): drop the unreachable chooser check from bookmark completion

The file chooser refuses m and ' while the listing has focus, and only the focused listing arms the bookmark chords, so complete_bookmark never runs in a chooser. chooser_refuses_commands_its_request_does_not_allow covers the refusal.

* fix(10xer): accept only file URIs as letter bookmark targets

local_directory took any URI GIO could give a path, so a remote URI mounted through a gvfs FUSE mount read as a local folder. It now parses the URI with g_filename_from_uri, which accepts only file: URIs, and refuses a file URI naming another host. The remote-target test registers a GIO URI scheme that resolves to a FUSE-style path, so it fails if the GIO path lookup returns.

* test(10xer): drop duplicate deleted-bookmark jump tests

Every probe result other than Ok takes the same unavailable branch, so a deleted only child, a deleted folder whose parent still has siblings and a deleted parent exercise one path. letter_bookmarks_keep_the_listing_when_the_saved_directory_disappears and letter_bookmark_only_child_deletion_stays_put go; letter_bookmark_parent_deletion_stays_put owns the case and also checks the selection, navigation generation and chord. Saving by keys stays covered by letter_bookmarks_save_jump_and_replace_across_windows_and_views.

* test(10xer): check that m mutes a focused media preview, not a bookmark

m saves a letter bookmark from the listing but mutes a focused 10xer media preview, and nothing checked the preview side. The volume table now presses m on the focused timeline and asserts it mutes and arms no chord; handing m to the listing from the preview fails both checks.

* docs(10xer): note that ' bookmarks need rebinding on dead-key layouts

On a layout where ' is a dead key, such as us(intl), the press reaches Strata as dead_acute, which has no character and so neither matches bookmark_go nor falls back to a Latin key; the letter after it runs its own 10xer command. Document the limitation in the letter bookmark section and the layout rules, and point to rebinding bookmark_go.

* test(qa): trim the letter bookmark scenarios to their unique runs

- letter-bookmarks-save-replace-and-survive-restart runs in Columns only: saving the listed folder, replacing and the restart do not depend on the view mode.
- letter-bookmarks-read-latin-letters-and-cancel becomes letter-bookmarks-read-latin-letters-on-russian-layout: its US run and the Escape and m 1 cancels duplicate letter_bookmarks_cancel_and_leave_default_mode_and_text_fields_unchanged, so only the real XKB Russian fallback for m z and ' z remains.
- letter-bookmark-failed-jump-keeps-folder drops its only-child variant, which takes the same unavailable branch as the removed-parent one.

Each scenario gains a quality rating.

* style(10xer): format the remote bookmark URI test

* fix(10xer): stop claiming background loads keep a pending bookmark jump

Loads and rescans publish an unflagged SelectionSetChanged before the FocusChanged that focus_follows_background_load marks, so that check never kept a jump pending. Drop it, say that only outside edits to the listing are ignored and that loads and rescans still cancel the jump without navigating, and document that changing the selection yourself cancels it.

* test(10xer): assert the remote bookmark test registers its URI scheme

---------

Co-authored-by: William Feht <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

6 participants