Skip to content

Electron windows v0.35.2 cannot use shell.moveItemToTrash #3656

Closed

Description

@25512345

Method shell.moveItemToTrash work for electron Mac OSX but in electron-v0.35.2-win32-ia32, this method cannot move item to recycle bin and always return false
// OS: Windows 7

Activity

  1. zcbenz commented on Dec 2, 2015

    @zcbenz
    Contributor

    I can confirm on Windows 7, seems to be a regression of #3337.

  2. oh-ren commented on Dec 2, 2015

    @oh-ren

    ... so it seems (if it's indeed a regression of #3337) this issue exists since v0.34.3 which is the base for Atom 1.3.0.
    Then (to accommodate Atom 1.3.0 at least) I reckon this should also be fixed in the 0.34.x branch?

    atom/atom#9909

  3. kevinsawicki commented on Dec 16, 2015

    @kevinsawicki
    Contributor
  4. tylergibson commented on Dec 24, 2015

    @tylergibson
    Contributor

    Thanks for the ping, Windows pre-8 check added with alternate flags. Tested on Windows 7 Enterprise N. Would much appreciate if someone can verify the check and alt flags works properly on Vista/8/8.1/10. I'll start verifying tomorrow across the OS matrix just to be sure.

  5. bpasero commented on Dec 29, 2015

    @bpasero
    Contributor

    @zcbenz would it be low effort to release v0.35.5 with a fix for this? this would give consumers a chance to benefit from this (imho severe) regression without jumping on 0.36.0 with the updated Chrome and node.js.

  6. zcbenz commented on Dec 31, 2015

    @zcbenz
    Contributor

    @bpasero Sure thing, I'll publish a new release today.

  7. bpasero commented on Dec 31, 2015

    @bpasero
    Contributor

    @zcbenz Thanks!

  8. oh-ren commented on Jan 8, 2016

    @oh-ren

    Wouldn't it also be worthwhile to do a 0.34 release with this fix (and perhaps other fixes)?
    Atom is still @ 0.34, and I guess the upcoming Atom 1.4 will also be based on 0.34?

    There's this: atom/atom/pull/9627, but I'm not sure how long that (still) may take, or if the Electron upgrade is targeted towards a certain Atom release (guess not?)

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions