Skip to content

fix: polish the grouped P3 items from the 1.2.0 release-candidate QA sweep - #2030

Merged
l0gicgate merged 162 commits into
lgse:mainfrom
wmfeht:fix/2012-release-candidate-qa-sweep-polish
Nov 2, 2026
Merged

l0gicgate merged 162 commits into
lgse:mainfrom
wmfeht:fix/2012-release-candidate-qa-sweep-polish

Conversation

@wmfeht

@wmfeht wmfeht commented Nov 2, 2026 •

Copy link
Copy Markdown
Collaborator

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:

  • Disconnect on SFTP, FTP, WebDAV, AFP and NFS shares skipped the new "every window leaves the device" rule.
  • Two QA scenarios relied on the old Columns file-click behaviour.

#2012 Accessibility gaps (all 6 items)

  • Focus after dialogs: after a dialog closes, or when Settings or Properties opens, focus lands on a named control, never an unnamed container. A disabled opener hands focus to the nearest named control, and a modal layer is never treated as an opener. Settings opens on its current page's navigation entry, and Properties on its first control.
  • Release channel row: the channel choice and its toggle are insensitive, also for assistive technology, while automatic update checks are off.
  • Link names: links inside labels (update status, release notes) are named after their text.
  • Palette: both palette modes set the field's accessible name together with its placeholder.
  • Theme editor: each color cell is named once, after its field.
  • Device rows: the description is the mount path, else the fstab mount point, else the device path.

#2015 Drive dialogs and udiskie (all 8 items)

  • Properties focus: Properties opens on Set label or Close, never Eject or Format.
  • Release labels: the footer's release button uses the same label as the row (Unmount or Eject).
  • Saved labels: the saved Strata label is used in the Properties subtitle, the release overlay and its notice.
  • Usage errors: --unlock-volume usage errors reach the invoking terminal through g_application_command_line_printerr. That is one FFI call with a fixed "%s" format, listed in docs/unsafe-code.md.
  • Restart warning: Settings keeps the udiskie restart warning visible.
  • udiskie restore:
    • Uninstall writes the original config back byte for byte when the settings are unchanged, and the JSON ends with a newline.
    • A config folder that Strata created is removed if it's empty.
  • Unmount and eject: every window, tab and file chooser inside a device leaves it on unmount or eject, and returns if the release fails while the device is still mounted. Network-share Disconnect follows the same rule.
  • Filesystem type: an unmounted fstab volume shows the filesystem type fstab declares.

#2016 Browser polish (11 of 14 items)

  • Breadcrumb menu: the hierarchy popover has no arrow and opens below the crumb bar.
  • Pending tab labels: a tab waiting on, or failing to open, a location is labelled after that location, not "Home".
  • Retry button:
    • Unreadable folders offer Retry in List and Icons too.
    • Retry and "Open as Administrator" use the themed secondary-button style.
  • Network shares: every GVfs network share gets the network row and Disconnect.
  • Virtual roots: network:, network://, trash: and recent: open their roots.
  • Columns clicks: a plain click on a file in Columns closes deeper columns even when it doesn't preview.
  • Search ties: equal-score search results are ordered by name, and the 100 kept are the first by that order.
  • Raw video: .264, .h265 and .hevc are recognised as raw video. Properties agrees with the preview, and the files get the video icon.
  • Interface font: a blank interface_font loads as Default.
  • Archive icons: .tbz, .tbz2, .txz and .tzst get the archive icon.

Deferred:

  • Returning to Columns with an empty selection reopens the child column. This needs a decision on whether the cursor or the selection opens child columns.
  • The grouped List first-entry cursor after Ctrl+L. A proper fix changes how the automatic cursor is picked, which is too risky for a polish batch.
  • Ctrl+K subvolume roots. This waits on the Decide global search's local-mount inclusion policy (follow-up to #532) #533 decision.

#2017 Operations dialogs and focus (8 of 9 items)

  • Tab rename onto an existing name: a refused Tab rename reselects its own row.
  • Clearer error messages: cross-filesystem renames (EXDEV) and archive symlink-escape refusals get specific messages.
  • File and folder conflicts: the paste conflict prompt doesn't offer Replace for a file meeting a folder, and "Apply to All" with Replace leaves those items to their own prompt.
  • New items: naming a new file or folder with a plain name is part of the creation's undo step, so one Ctrl+Z trashes it.
  • SaveFiles replace prompt: it lists only the names that exist.
  • Delete confirmations: a cancelled delete confirmation gives back the cursor a finished compression took meanwhile.
  • Deleting the open folder: deleting the open folder from its column moves the cursor to its row in the parent first, so closing "Operation cancelled" focuses it.

Deferred:

  • The one-frame child-column flash during a permanent delete. It couldn't be reproduced, and the end state is correct.
  • Follow-up: the undo/redo replay conflict prompt can still offer Replace for a file meeting a folder. Fixing it needs its existence check to report the item's kind.

#2018 Remote polish (all 6 items)

#2019 Test-suite gaps (7 of 8 items)

Deferred:

  • Real AVIF/HEIC in the camera-formats-preview-sandbox variants. This needs libheif added to tests/container/Dockerfile and a rebuilt base image.

New strings are translated in all 13 languages. Native-speaker review is welcome.

Not verified locally:

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

  1. Accessibility gaps from the 1.2.0 QA sweep #2012: with an AT-SPI inspector, open Settings with Ctrl+, then Keyboard → Reset all → Reset; open Properties with Alt+Enter; open the Ctrl+Shift+K palette; open the theme editor.
  2. Drive dialogs and udiskie integration polish from the 1.2.0 QA sweep #2015: open Properties on a non-removable volume and press Enter. Open a folder on a USB stick in two windows and unmount it from one.
  3. Browser polish from the 1.2.0 QA sweep #2016: turn single-click previews off. In Columns, open a folder, then click a file in the parent column. Right-click the crumb bar.
  4. Operations dialog and focus polish from the 1.2.0 QA sweep #2017: in List, rename alpha.txt to an existing gamma.txt with Tab, then press Escape. Create a folder, type a name, press Enter, then press Ctrl+Z once.
  5. Remote-location polish from the 1.2.0 QA sweep #2018: open sftp://host/path?x=1#y, and stop the SFTP server before submitting the password.
  6. test: stale mutation patches, flaky tests and coverage gaps found by the 1.2.0 QA sweep #2019: run ./scripts/qa-mutation.sh rename-commits-on-enter space-previews-filtered-result, and ./scripts/qa-drive.sh restart --pref 'keymap={…}'.

Expected result:

  1. Focus is always on a named control: the "General" navigation entry, "Default", "Close dialog". The palette field is named "Jump to a folder…", and each theme cell is named once.
  2. Enter closes Properties without unmounting. Both windows leave the stick.
  3. The deeper column closes. The hierarchy menu opens below the crumb bar without a black band.
  4. After Escape, alpha.txt stays focused and no editor reopens. One Ctrl+Z trashes the new folder.
  5. The folder lists. The password case shows the connection guidance, not the generic error.
  6. Both mutations are caught. qa-drive restarts with the nested preference.

Related issue

Closes #2012
Closes #2015
Closes #2018
Refs #2016
Refs #2017
Refs #2019

wmfeht and others added 30 commits November 1, 2026 23:49
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
wmfeht added 17 commits November 2, 2026 04:00
…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
@wmfeht wmfeht self-assigned this Nov 2, 2026
@github-actions github-actions Bot added the fix label Nov 2, 2026
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.
@l0gicgate

Copy link
Copy Markdown
Contributor

Review pass on this PR: merged main (5e8a942, the squash of #2027, so the diff is now this PR's own work only), reviewed the full diff against it, and pushed four follow-up commits.

Fixed

  • 9b484e9 fix(sidebar): the new volume-row description fell back to Volume::activation_root() for an unmounted volume. Neither GIO volume monitor Strata runs under sets one for an fstab volume (GVfs's UDisks2 monitor passes NULL, GUnixVolume has no implementation), so the "else the fstab mount point" step in Accessibility gaps from the 1.2.0 QA sweep #2012 item 6 never ran, while cdda discs and MTP/gphoto2 proxy volumes, which do have one, were described by a raw URI. The row now reads the mount path, else the device path. Please drop the fstab mount-point claim from the description; a real fstab lookup would need an off-thread read like the Properties filesystem type, and is better done as its own change.
  • 10d16a5 fix(qa-drive): prefs truncated settings.toml before writing, so a value that fails to encode (surrogate-escaped bytes from argv) left an empty file while qa-drive.sh reported it unchanged. It now writes a temporary file and renames it, and check refuses such a value before the app stops.
  • 7197b0d test: test_notice_names_the_device_as_the_menu_showed_it passed on main because both devices were named Pixel; it now renames the activated device after the menu is built and fails without the provider fix. Also removed assertions that echoed a two-line helper, read private tab state, or checked a display name unrelated to input parsing, and renamed network_share_mounts_take_the_disconnectable_network_row to say what it tests.
  • 97526b8 refactor: removed about forty labelling doc comments across the diff, corrected the Disconnect in_flight comment (a second click is ignored, not queued), and simplified TabWindow::relabel.

Verified locally

  • cargo fmt, cargo clippy --all-targets --all-features -D warnings, full scripts/test-headless.py run: 4722 passed, 0 failed, 699 ignored; the touched modules rerun after the edits (447 tests).
  • python3 scripts/integration_tests.py and the scripts/test_qa_drive.py suite pass; all 22 mutation patches apply.
  • Full ./scripts/qa.sh: 713 passed, 1 failed. The failure is new-folder-with-selection-groups/columns at line 34 (clicking the already-open grouped folder does not focus its column). It fails the same way in two isolated runs on origin/main in a separate worktree, so it predates this PR; the folder-click path is untouched here.
  • The CI spelling failure on the previous head (Caf, uncatalogued) and the zip advisory are both gone after the main merge.

Not changed, for the author's judgement

  • connect_device_changes short-circuits under cfg!(test), which puts test policy in production code and leaves the mount-change rebuild untested; a test-only constructor flag like local_only would keep it out.
  • qa::onscreen::clipping returns the innermost clipping scroller, so a row below the fold of a column the strip has scrolled away is not reached (the inner viewport does not intersect the window and scroll_onto_screen gives up). The auto-scroll wheel is also real input, so it cancels a pending new-entry editor before the click; I added a sentence to the QA reference about that.
  • type maps every non-Latin-1 character to a Unicode keysym, so Cyrillic under a ru layout is typed on a borrowed keycode rather than the layout's own key. Not a regression, but a future layout test would not exercise the layout.
  • A first udiskie install that fails after creating ~/.config/udiskie/ rolls the files back but leaves the folder, so a later uninstall never removes it.
  • The PR says two scenarios changed for the Columns click rule; four did (empty-column-clears-other-columns, context-menu-keeps-column-target, peek-click-reveals-column, new-folder-collision-dialog).

No screenshots: the only visible change is the device-row accessible description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

2 participants