Skip to content

Operations dialog and focus polish from the 1.2.0 QA sweep #2017

Closed

Description

@wmfeht

Summary

Smaller file-operation problems found by the 1.2.0 release-candidate QA sweep.

Items

  • Inline rename, Tab commit onto an existing name (List): "Unable to rename item / “gamma.txt” already exists" shows. After Escape, focus lands on the next item, not on the old-name row as on the Enter path. The editor does not reopen. (feat(rename): move the inline rename to the neighbouring item on Tab #1961)
  • A relative-path rename across filesystems (for example ../../dev/shm/x/g.txt from a tmpfs folder, feat(browser): name and rename items with relative paths #1512) is refused safely, but the dialog says only "An unexpected system error occurred" (EXDEV).
  • The TAR symlink-escape refusal reads "There are too many levels of symbolic links. Extracted entries remain in “symout”." It is safe, but the text is a raw errno.
  • The paste conflict dialog offers Replace for a file over a folder, then fails with "A file and a folder cannot safely replace one another". The rest of the paste completes. Related: fix(operations): make replacement transfers failure-safe #25.
  • Undo granularity for new items is inconsistent. New Folder or New File with a typed plain name records two entries: the first Ctrl+Z reverts the name, and the second trashes the item. A path name (feat(browser): name and rename items with relative paths #1512) trashes in one step. The plain-name behaviour is pre-existing.
  • SaveFiles "Replace existing files?" lists every requested name (notes.txt, new-file.txt), although only notes.txt exists.
  • Permanent delete of an open folder in Columns: for about one frame after the parent row disappears, the child column stays visible, with "This directory is empty" in a focus ring. During a slower delete, the parent row was gone while the child column still listed surviving subfolders. The end state is correct.
  • When a compression finishes while a delete confirmation is open, the completion selects the new archive underneath. Escape on the confirmation then puts focus on the archive, not the row the confirmation was about. The modal itself keeps focus (fix(keyboard): preserve focus across dialogs, tabs, and drags #1900 holds).
  • After cancelling a single-folder permanent delete (fix(delete): show progress while one large folder is deleted #1935), closing "Operation cancelled" puts focus on the first row of the child column, not on the folder row the operation acted on. The first Down then selects that row without moving.

Environment

  • Version: main @ 2970e7a (built from source; reports 1.1.1), 1.2.0 release-candidate QA sweep
  • Environment: Arch Linux (Omarchy). Reproduced in the repository's pinned QA container with scripts/qa-drive.sh (private Xvfb X11 display, private HOME).

Notes

Related: #1512, #1935, #1961, #25.

Metadata

Metadata

Assignees

Labels

P3bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions