Skip to content

Feature: Add Skip and Skip All buttons to File In Use dialog#18540

Open
codenano077 wants to merge 2 commits into
files-community:mainfrom
codenano077:main
Open

Feature: Add Skip and Skip All buttons to File In Use dialog#18540
codenano077 wants to merge 2 commits into
files-community:mainfrom
codenano077:main

Conversation

@codenano077
Copy link
Copy Markdown

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  1. Opened Files Dev app
  2. Locked a file using PowerShell: $file = [System.IO.File]::Open("D:\testlock.txt", "OpenOrCreate", "ReadWrite", "None")
  3. Navigated to the locked file in Files Dev
  4. Attempted to delete the locked file
  5. Confirmed that Retry, Skip, and Skip All buttons appear correctly in the File In Use dialog
  6. Clicked Skip to verify it skips the current file
  7. Clicked Skip All to verify it skips all locked files

@yair100
Copy link
Copy Markdown
Member

yair100 commented Jun 3, 2026

Can you please share screenshot? Also, can you confirm if the skip option only shows when deleting multiple items?

@codenano077
Copy link
Copy Markdown
Author

Here's a screenshot of the dialog with the new buttons:
Screenshot 2026-06-04 152323
Screenshot 2026-06-04 152337

Regarding your question — the Skip and Skip All buttons currently show for both single and multiple file deletions. However, I think it makes more sense to only show Skip and Skip All when deleting multiple files, since skipping a single locked file is essentially the same as cancelling. Would you like me to update the behavior so Skip only appears when multiple files are being deleted?

@yair100
Copy link
Copy Markdown
Member

yair100 commented Jun 4, 2026

Would you like me to update the behavior so Skip only appears when multiple files are being deleted?

Yes, that would be great.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: Add skip button when deleting multiple files that are in use by another application

2 participants