You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
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
The text was updated successfully, but these errors were encountered:
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-reproNeeds 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.
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.
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
The text was updated successfully, but these errors were encountered: