Skip to content

Reveal the directory when the file is not there yet - #836

Merged
SimonCropp merged 1 commit into
mainfrom
fix-reveal-missing-target
Aug 23, 2026
Merged

Reveal the directory when the file is not there yet#836
SimonCropp merged 1 commit into
mainfrom
fix-reveal-missing-target

Conversation

@SimonCropp

Copy link
Copy Markdown
Member

Revealing a pending move points at the target, which for a snapshot being written
for the first time does not exist. Nothing checked, so explorer was asked to select
a path that is not there - which opens the default folder, Documents, nothing to do
with the review - and open -R errored. Linux happened to be fine, having only ever
opened the directory.

The directory is shown instead, which is where the file is about to be written, and
a path whose directory is missing too opens nothing.

The decision is its own function so it can be tested: everything around it starts a
process.

Revealing a pending move points at the target, which for a snapshot being written
for the first time does not exist. Nothing checked, so explorer was asked to select
a path that is not there - which opens the default folder, Documents, nothing to do
with the review - and open -R errored. Linux happened to be fine, having only ever
opened the directory.

The directory is shown instead, which is where the file is about to be written, and
a path whose directory is missing too opens nothing.

The decision is its own function so it can be tested: everything around it starts a
process.
@SimonCropp SimonCropp added this to the 20.0.0 milestone Aug 23, 2026
@SimonCropp
SimonCropp merged commit ea80780 into main Aug 23, 2026
10 checks passed
@SimonCropp
SimonCropp deleted the fix-reveal-missing-target branch August 23, 2026 07:36
This was referenced Aug 26, 2026
This was referenced Aug 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant