Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: win11 electron unable to trash nested folders. #41678

Closed
3 tasks done
python-studio opened this issue Mar 23, 2024 · 3 comments
Closed
3 tasks done

[Bug]: win11 electron unable to trash nested folders. #41678

python-studio opened this issue Mar 23, 2024 · 3 comments
Labels
blocked/need-repro Needs a test case to reproduce the bug bug 🪲

Comments

@python-studio
Copy link

python-studio commented Mar 23, 2024

Preflight Checklist

Electron Version

28.2.0

What operating system are you using?

Windows

Operating System Version

windows11

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

file Structure:
folder a/folder b/file c

shell.trashItem('folder a')

I want this work.

Actual Behavior

file Structure:
folder a/folder b/file c

shell.trashItem('folder a') then it request administrator privileges and finally fail !!!!
main process fail log: [Error: Failed to perform delete operation]

but shell.trashItem('folder a\folder b') and shell.trashItem('folder a\folder b\file c') is ok!!!

Testcase Gist URL

No response

Additional Information

No response

@python-studio python-studio changed the title [Bug]: [Bug]: win11 electron unable to trash nested folders. Mar 23, 2024
@codebytere codebytere added the blocked/need-repro Needs a test case to reproduce the bug label Mar 24, 2024
@archanakush900

This comment was marked as off-topic.

@electron-issue-triage electron-issue-triage bot removed the blocked/need-repro Needs a test case to reproduce the bug label Mar 24, 2024
@codebytere codebytere added the blocked/need-repro Needs a test case to reproduce the bug label Mar 25, 2024
@electron electron deleted a comment from electron-issue-triage bot Mar 25, 2024
@electron-issue-triage
Copy link

Hello @python-studio. Thanks for reporting this and helping to make Electron better!

Would it be possible for you to make a standalone testcase with only the code necessary to reproduce the issue? For example, Electron Fiddle is a great tool for making small test cases and makes it easy to publish your test case to a gist that Electron maintainers can use.

Stand-alone test cases make fixing issues go more smoothly: it ensure everyone's looking at the same issue, it removes all unnecessary variables from the equation, and it can also provide the basis for automated regression tests.

Now adding the blocked/need-repro Needs a test case to reproduce the bug label for this reason. After you make a test case, please link to it in a followup comment. This issue will be closed in 10 days if the above is not addressed.

@electron-issue-triage
Copy link

Unfortunately, without a way to reproduce this issue, we're unable to continue investigation. This issue has been closed and will not be monitored further. If you're able to provide a minimal test case that reproduces this issue on a supported version of Electron please open a new issue and include instructions for reproducing the issue.

@electron-issue-triage electron-issue-triage bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked/need-repro Needs a test case to reproduce the bug bug 🪲
Projects
None yet
Development

No branches or pull requests

3 participants