Skip to content

Closing the "File already exists" dialog doesn't cancel the move or copy #4354

Closed

Description

@AlexAndBear

Initial Checklist

  • I understand this is a bug report and questions should be posted in the Community Discussions
  • I searched issues and couldn’t find anything (or linked relevant results below)

Bug Description

The "File already exists" dialog can't cancel a move or copy. Closing it (Escape or the close button) acts like Skip: only the conflicting file is skipped and everything else is still transferred. A drop onto a folder or the breadcrumb starts the move without confirmation, so this dialog is the only chance to stop it.

Cause: conflictDialog.ts resolves every dialog to a strategy, and ResourceConflictModal.vue maps closing to ResolveStrategy.SKIP. There's no outcome that aborts the transfer.

Reproduction Steps

  1. Select several files, one of them named like a file in the target folder
  2. Drag them onto a breadcrumb folder (or use Move to, Copy to, Paste)
  3. Press Escape or the close button in the "File already exists" dialog

Expected Outcome

Closing the dialog cancels the whole transfer, nothing is moved or copied. Skip stays an explicit choice.

Actual Outcome

The conflicting file is skipped, all other files are moved.

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions