Skip to content

[Bug]: shell.trashItem() doesn't move file to trash when file is in OneDrive, instead it is moved to root of OneDrive #38541

Closed as not planned
@Shurikal

Description

@Shurikal

Preflight Checklist

Electron Version

25.0.1

What operating system are you using?

macOS

Operating System Version

macOS Ventura 13.3.1 (a)

What arch are you using?

arm64 (including Apple Silicon)

Last Known Working Electron version

No response

Expected Behavior

shell.trashItem should move Item to trash

Actual Behavior

shell.trashItem moves Item to root of OneDrive folder

Testcase Gist URL

No response

Additional Information

I tried to create the Electron Fiddle app, but it creates the file in the wrong place. I have an example app which shows the problem when it is run from inside a folder in the OneDrive.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions