Repository navigation
fix: polish the grouped P3 items from the 1.2.0 release-candidate QA sweep - #2030
Merged
l0gicgate merged 162 commits intoNov 2, 2026
Merged
Conversation
Back restores every column with no cursor. Pressing Left into an ancestor column then left its cursor empty, and F2, Delete, copy, cut and duplicate fell back to the folder the *parent* column has open, so they renamed or trashed the root column's folder instead of the focused row. - Left gives a parent column without a cursor the folder it has open, as descending into that folder would have left it. A parent still loading takes it once listed, through its own load target with no fallback, so a folder gone or hidden meanwhile leaves no cursor rather than one on an unrelated entry. Any cursor placed meanwhile, reveal or failed load cancels it; relocation rebases it and a kept listing clears it. The lgse#1437 preferred entry and its fallback are unchanged. - The "folder you entered" fallback for rename, delete and copy/cut applies only when the active column is the deepest one. - focus_parent, focus_child, select and the cursor moves share one place_committed_cursor helper (formerly focus_only). Fixes lgse#1993
Renaming a Ctrl+F filter result left focus and selection on whichever result took over its row, so the next Delete trashed a neighbour. When a rename completes, the stale-result prune finds the old path gone before the search index lists the new one, drops the result, and the results fall back to the result now in its slot (List, Icons) or to no selection (Columns). In Columns, rename labels were also looked up through the directory listing instead of the result rows, so the optimistic and restored names landed on the wrong row. Results now record a rename when it starts, from the inline editor (Enter or Tab) or the 10xer rename prompt. The prune keeps the renamed result in place under its new path while the view would show it, and the first update that lists the new path carries the selection, anchor and focus over to it; Columns also moves its cursor there. A rename to a path in another folder is recorded as a move: the result is dropped, not kept as a phantom, and no remaining result takes its selection, as the listing does. Failed and abandoned renames forget only their own record, so a newer rename's record survives. Columns rename labels resolve through the results, the directory reveal leaves result rows alone, and the Columns listing-focus fallback over results reuses focus_results_on_cursor, so focus returns to a refused result after its error dialog. Fixes lgse#1994
…rrows Plain Home, End, Page Up and Page Down move the cursor, selection and anchor in the model, but in List and Icons GTK's own Shift range origin stayed at the last arrow position, so a following native Shift+Home, Shift+End or Shift+arrow extended from there. Move that origin to the model's anchor after these moves, as restores and Ctrl+click already do. Columns passed Shift+Home and Shift+End to its GTK list, whose origin its model-driven arrows never set, so they selected only the edge item. Extend to the first or last item from the model's anchor there, as its Shift+arrows and Shift+page keys do. In List and Icons, plain arrows and their h j k l letters moved GTK's cursor while the model kept its old anchor, so Shift+Page Up/Down and Shift+click extended from an earlier item. The dispatcher now runs GTK's arrow binding for both and anchors the model at the cursor when the move replaced the selection, not when GTK keeps a range at an edge. It also cancels a pending click-to-rename, which the browser's own key handler no longer sees once the dispatcher stops the key; an unmoved letter is still stopped so it is never typed. Fixes lgse#1995
With keyboard focus inside a rendered document, PDF, table or archive preview, Delete moved the previewed file to Trash, Shift+Delete asked to delete it permanently, Ctrl+D duplicated it, F2/Ctrl+R started renaming it and Ctrl+Alt+N moved it into a new folder. The guards only exempted text widgets (lgse#670), so any other preview widget let the default-map file commands act on the selection behind it. Check whether focus is anywhere inside the preview drawer, whatever widget it renders, for these commands, as the clipboard keys already did. The 10xer map is unchanged: its preview keys hand focus back to the listing before a file command runs. Fixes lgse#1996
… cost Answer the window dispatcher's preview-focus check with PreviewDrawer::owns_focus. The slot, overlay, revealer and resize grip that the old check also accepted are never focusable, so the result is unchanged. Describe what the check tests rather than overclaiming, and leave the new scenario's cost out until it is measured. Refs lgse#1996
The folder picker stripped "~/" and joined the remainder onto home, so a remainder starting with "/" (as in "~//x") replaced home with the filesystem root. Go, copy to and move to then searched and acted outside home. Trim leading slashes from the remainder so repeated slashes after "~" collapse as in POSIX paths. Fixes lgse#1997
Also name the jump-key test helper after what it does, so it no longer shares a name with the video-clip helper. Refs lgse#1993
The rail sync showed every section heading toggle whenever the sidebar rebuilt or left the icon rail, including the empty Pinned section that should appear only while files are dragged over the sidebar. The first-paint rebuild therefore showed an empty PINNED heading at startup. The rail sync now reapplies the empty section's drag visibility, which also keeps its heading hidden in the rail during a drag. Fixes lgse#2000
In Columns, Tab after renaming a folder whose child column was open renamed it but opened no editor on the next item. When the rename landed, relocating the open child column truncated the columns from that depth, and the truncation cancelled every inline rename, including the editor Tab had just opened in the retained parent column. The cursor mirror was blocked by that editor, so the child column and breadcrumb kept showing the renamed folder. Truncating columns now cancels only a rename inside the columns it closes, and Tab mirrors the child column to the item the rename moves to at once, without a preview, before its editor opens. Fixes lgse#2002
…result In Columns with Ctrl+F results showing, dismissing the Shift+Delete confirmation (Escape or a backdrop click) left focus on the wrong result, so the next arrow and Delete acted on a file the user did not pick. The confirmation returns focus through the window's listing fallback, focus_rebuilt_active_column. It scrolled to the browser's directory cursor mapped through the column's listing, then focused the list, but the results replace those rows and keep their own cursor, so the directory position landed on an unrelated result row (the top one when the cursor was on the first file). 0530b01 (lgse#1994) already made that fallback focus the results on their cursor; this adds the regression scenario for the delete confirmation in Columns, Icons and List, both dismissals and the next arrow key, a mutation that removes that branch, and documents the behaviour. Fixes lgse#1998
…a drag Also clarify when sync_empty_pinned_section runs. Refs lgse#2000
The breadcrumb and the Ctrl+L text followed the deepest column on every ColumnAdded event and were never resynced on a view switch. After Columns mirrored a child folder beside the focused column, switching to List or Icons showed the active (parent) folder while the location bar still named the child, so Ctrl+L then Enter entered the child unasked. The location bar now follows one mode-aware rule: the deepest column in Columns, the active folder in Icons and List. A view switch, an added column and relocated columns all sync through it. Fixes lgse#1999
Previous/next audio and video built their sequence from file names and dropped only files whose metadata probe had answered "not media". List and Columns never run that probe, so text named like a video (fake.mp4, notes.h264) was counted and stepped to; its text preview then dropped the player and stranded media stepping. Icons only agreed because it probes visible cards. A file now joins the sequence when its probe found media or, until the probe reaches it, when its leading bytes back the media name: the same check the preview makes before choosing a player. Bytes are read off the GTK thread and cached per file; unread files stay out until they answer, and the shown player's position and previous/next buttons refresh when they do. The shown file always anchors its sequence. Fixes lgse#2003
The window and chooser key handlers run in the capture phase, so they claimed the context-menu key and opened the pane's context menu before the focused Back button's own key controller could list its history. Both now leave the key to a focused Back button that has a history menu. Cover the keyboard paths in the back-history-dropdown QA scenario and in the window and chooser keyboard dispatch tests. Fixes lgse#2001
… show With a pane filter query active and focus on the results, the search results stage yielded every key except the arrows, clipboard keys and Delete straight to GTK, so the window's Undo and Redo handlers never ran and Ctrl+Z after Move to Trash did nothing. Undo and Redo replay the operation history rather than act on a selection, so the results no longer claim them. Ctrl+Z with focus in the filter field stays text editing. Fixes lgse#2005
…ancestor Inotify watches the open folder itself, not its path, so a rename of one of its ancestors reached no monitor: the pane kept the old path, new files were queried there and dropped, deletions still applied, and F5 fell back to the nearest existing ancestor of the stale path. - After each batch of changes, the local directory monitor looks its folder up at its path off the main thread and reports the folder's removal when it is gone, which feeds the existing departure check. - find_by_identity now takes the departed folder and searches its nearest existing ancestor: the folders in it when the parent remains, else the same path below each of them, so a folder carried along by a renamed ancestor is found by its identity. The browser follows the renamed ancestor, which rebases search indexes and open columns. - A deeper column's own removal report, which its parent column's monitor otherwise covers, now also checks that the first column of the watched chain is still where it was, since no open monitor sees a rename above it. A deleted ancestor still deletes the open folder, whose monitor reports it as before; the lookup then finds nothing and the nearest existing ancestor is restored. Fixes lgse#2004
Rename the open folder's parent from outside in Columns, Icons and List, write a file into the folder, and expect it listed without a refresh; F5 then reloads the folder at its new path. Refs lgse#2004
Move the mapped Back button lookup and the per-widget key press into test_support::widgets, used by the window and chooser regressions, and document that Menu and Shift+F10 on a focused Back button list the back history. Refs lgse#2001
…rename Both paths now open or close the child column through one helper, the cursor alone previewing a file. Adds a columns test that closing a column to the right keeps a rename in the parent column, rates the Tab-past-open-folder scenario, and qualifies the Tab rename docs for filtered columns and mirroring turned off. Refs lgse#2002
The unresponsive-GVfs probe ran after PreferenceManager::shared(), whose folder-view watch creates a file monitor through g_file_new_for_path and so GIO's default VFS. With a gvfsd that never answers, that call blocked for the 25 s D-Bus activation timeout before the 2 s probe could run, and the window appeared after about 27 s. Run the probe right after logging starts, before anything asks GIO for its default VFS, and assert in debug builds that GIO has not loaded its modules when the probe runs, so every QA launch catches a regression of this order. Fixes lgse#2006
Esc, a failed submit and the mount paths refilled the location entry from the active column, so in Columns with a mirrored child the entry reverted to the parent while the breadcrumbs named the child, and the next Ctrl+L prefilled the parent. The entry now restores from the same displayed folder the breadcrumbs follow. Truncated columns sync through that rule too, replacing the last caller of the active-column variant. Fixes lgse#1999
Assert that the isolated launch ran exactly one test, explain a failed GIO check, and loosen the volume-monitor wording now that more start-up work follows the probe. Refs lgse#2006
Review follow-up for the content check behind media stepping: - The answer cache is trimmed only at the start of a walk, and never forgets the listing being walked; in-flight files are not cached at all. Past the cap, a walk no longer wipes its own answers and re-reads them forever. - One cancellable reader per preview reads outward from the shown file in growing chunks (the nearest file on each side first) and refreshes the position after each chunk that answered. It stops when the preview closes, stops showing a player, or starts reading for another shown file. - Reads run as background work through each folder's mount lane, so a stalled mount skips them instead of parking workers. - A failed read is no answer: it is not cached as media and is asked again when the shown file changes. The metadata probe keeps trusting the name when a read fails. - The docs no longer claim remote locations and route files are checked by content. Refs lgse#2003
… folder The right-click hierarchy menu read the active column, so in Columns with a mirrored child it marked the parent as current and left the child out while the bar named the child. It now uses the same displayed folder as the bar. Fixes lgse#1999
Second review follow-up for the content check behind media stepping: - A background request is skipped whenever another request is on the same mount, not only when it has stalled. Reads now wait 100 ms and try again while the mount still answers, and give up only once it stalls, times out or fails, so a folder load or the previous reader no longer leaves real videos out of the count. - Each read follows symbolic links through Progress::reach, so a dead link target trips only that file's path. - Answers live in the preview that walks the listing and are trimmed to it on every walk, so one window can no longer forget another's answers. The global cache and its size cap are gone. - Reads stop as soon as the preview drops its player, not only after the next chunk that answers. Refs lgse#2003
Review follow-up for the renamed-ancestor fix. - The look a native monitor takes at its folder's path after each batch now runs as background work on the mount's lane, so it is skipped while the lane is busy or stalled instead of parking a GLib worker on a server that stopped answering. - The search for a departed folder by its identity runs as an interactive request on the lane and never looks into a mount point, which cannot be renamed and could hang or trigger an automount. - start_watch takes the identity the folder's load recorded, so the monitor also reports its folder gone when the old path holds another folder that the mount's identity rule proves different, as after `mv b b2 && mkdir -p b/c`. Mounts that renumber folders prove nothing, so only existence counts there. No extra stat is needed. - The monitor keeps its pending look and aborts it when it is dropped. Refs lgse#2004
List the post-batch look and the identity search among the lane's requests, describe them under Folder monitors, note the renumbering-mount limitation, and re-wrap the keyboard-navigation paragraph. Refs lgse#2004
…lete starts Leaving the open folder for its row in the parent ran before the browser knew whether the deletion would start, so a deletion refused while a transfer's cancellation was still pending moved the cursor anyway. The browser now says whether an operation requested now would start, from the same check its start uses, and the cursor moves only then. Refs lgse#2017
Selecting by location shows hidden files when a requested item is hidden, which a cancelled confirmation's cursor restore must never do. It now selects among the items shown only, through a selector that shares the ranking and selection with the revealing one. Refs lgse#2017
Rewrap the lines the operations polish left long, correct the Columns Delete note, which still said nothing is deleted when nothing is selected, to name the open folder and the cursor's move to its row, and give the cancelled-deletion focus test its own comment. Refs lgse#2017
click-modes, clipboard, keep-both, keyboard-navigation, location-entry, new-entry-collision, rename-click-away and view-switching stopped applying after their code moved into browser and operations submodules. Rebase each onto the current code with the same defect, so its scenario keeps a mutation check. rename-error-dialog is regenerated on another branch of the stack and is left as it is. Refs lgse#2019
…ir contract An aim kept inside a left_bound box is never scrolled, as documented. Only type lends a keycode to a character the layout lacks; a key chord naming an unknown keysym still fails clearly. qa-drive refuses a preference key that is not a bare TOML key, so seeding writes the keys exactly as tests/qa.rs does. Refs lgse#2019
Routing SFTP, FTP, WebDAV, AFP and NFS mounts to the network-share row (lgse#2016) moved them off the drive release, which takes every registered window and tab off the device first and brings them back if it stays mounted. The share row's Disconnect only unmounted, so every browser on the share was left on an unmounted location, as SMB already was. Share the release's leave step and its return of unmoved browsers, and make Disconnect leave the share in every window and tab, unmount it, and return them when GIO still lists the share after a failed or cancelled unmount. The release keeps its own mountinfo check, since a GVfs share is not a native mount point. Refs lgse#2016
Keep tabs/tests.rs under 1,500 lines: the missing-target test and its tab-label helper join the deleted-directory test that shares them. Refs lgse#2016
…narios A plain click on a file now ends the open path at its column (a6fb30c), so two scenarios that clicked a root file with a deeper column open lost that column. new-folder-collision-dialog checks that the kept folder's column is still open before it clicks readme.md, and empty-column-clears-other-columns extends the root selection with Ctrl+clicks, which leave the archive column open for the empty-column click. Refs lgse#2016
…a time Cancelling GVfs's own "busy" dialog reports FailedHandled, which still showed "Unable to disconnect"; use the release's quiet-error rule. Guard each share row so a second Disconnect does nothing while the first runs, and note why the mounted check after a failed unmount may briefly lag the volume monitor. Refs lgse#2016
GIO sets an activation root only for cdda discs and proxy volumes, never for an fstab volume, so the mount-point fallback never ran and a phone's row was described by its raw URI.
…ssertions The notice test passed on main because both devices were named Pixel; renaming the activated device after the menu was built catches the regression. The removed assertions repeated a helper's two lines, read private tab state, or checked a display name unrelated to input parsing.
Contributor
|
Review pass on this PR: merged Fixed
Verified locally
Not changed, for the author's judgement
No screenshots: the only visible change is the device-row accessible description. |
This was referenced Nov 2, 2026
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.
Description
Stacked on #2027, which is stacked on #2026 and #2025. Merge those first; until then this diff also shows their commits.
Works through the grouped P3 polish issues from the 1.2.0 release-candidate QA sweep. Each issue was fixed and reviewed on its own branch with one commit per checklist item, then merged here. A post-merge review found two problems in the combination, and both are fixed:
#2012 Accessibility gaps (all 6 items)
#2015 Drive dialogs and udiskie (all 8 items)
--unlock-volumeusage errors reach the invoking terminal throughg_application_command_line_printerr. That is one FFI call with a fixed"%s"format, listed indocs/unsafe-code.md.#2016 Browser polish (11 of 14 items)
network:,network://,trash:andrecent:open their roots..264,.h265and.hevcare recognised as raw video. Properties agrees with the preview, and the files get the video icon.interface_fontloads as Default..tbz,.tbz2,.txzand.tzstget the archive icon.Deferred:
#2017 Operations dialogs and focus (8 of 9 items)
Deferred:
#2018 Remote polish (all 6 items)
?query#fragment, which made GVfs look up the wrong mount.?or#is typed as%3For%23.#2019 Test-suite gaps (7 of 8 items)
rename-enter,quick-previewand eight more patches broken by the stacked PRs are regenerated. Each is caught by its scenario, and all 22 apply.abandoned_group_naming_keeps_a_later_rename_separatewaits forTransferFinished.restart --prefparses and rewritessettings.toml, so multi-line arrays and nested tables work. Bad values are refused before the app stops.typehandles non-ASCII text on X11.Deferred:
camera-formats-preview-sandboxvariants. This needslibheifadded totests/container/Dockerfileand a rebuilt base image.New strings are translated in all 13 languages. Native-speaker review is welcome.
Not verified locally:
scripts/code-health.shdid not run, becauseCS_ACCESS_TOKENwas not set. Reviewers checked the limits by hand.new-folder-with-selection-groups/columnsat line 34, which also fails onmain, as noted in fix: keep keyboard file commands on the item the user chose #2025 and fix: resolve the individual P3 bugs from the 1.2.0 release-candidate QA sweep #2027).Visual evidence
N/A. Visual changes (breadcrumb popover, Retry button style, Integrations columns) are described above and were checked locally with screenshots.
How to test
alpha.txtto an existinggamma.txtwith Tab, then press Escape. Create a folder, type a name, press Enter, then press Ctrl+Z once.sftp://host/path?x=1#y, and stop the SFTP server before submitting the password../scripts/qa-mutation.sh rename-commits-on-enter space-previews-filtered-result, and./scripts/qa-drive.sh restart --pref 'keymap={…}'.Expected result:
alpha.txtstays focused and no editor reopens. One Ctrl+Z trashes the new folder.Related issue
Closes #2012
Closes #2015
Closes #2018
Refs #2016
Refs #2017
Refs #2019