Skip to content

fix: use gio as default linux trash impl - #15399

Merged
codebytere merged 2 commits into
masterfrom
fix-default-trash-linux
Oct 26, 2018
Merged

codebytere merged 2 commits into
masterfrom
fix-default-trash-linux

Conversation

@codebytere

Copy link
Copy Markdown
Member

Description of Change

Resolves #15011.

Switches the default trash implementation away from gvfs-trash to gio trash now that gvfs-trash has ben largely deprecated and is no longer appropriate as the default.

/cc @ckerr @eli-schwartz

Checklist

  • PR description included and stakeholders cc'd
  • npm test passes
  • PR title follows semantic commit guidelines

Release Notes

Notes: fix default trash impl on linux to use gio

@codebytere
codebytere requested review from a team October 25, 2018 16:22
Comment thread docs/api/environment-variables.md Outdated

Don't use the global menu bar on Linux.

### `ELECTRON_DEFAULT_TRASH` _Linux_

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `ELECTRON_DEFAULT_TRASH` _Linux_
### `ELECTRON_TRASH` _Linux_

The environment variable is ELECTRON_TRASH, the C++ compiler macro used to define the default trash implementation is ELECTRON_DEFAULT_TRASH.

Otherwise looks good to me, thanks for working on this. :)

@codebytere codebytere Oct 25, 2018 •

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh whoops, thanks for catching this; fixed!

@codebytere
codebytere force-pushed the fix-default-trash-linux branch from 773642c to 0a308ab Compare October 25, 2018 16:48
* `trash-cli`
* `kioclient5`
* `kioclient`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@codebytere
codebytere merged commit bea4de9 into master Oct 26, 2018
@release-clerk

release-clerk Bot commented Oct 26, 2018

Copy link
Copy Markdown

Release Notes Persisted

fix default trash impl on linux to use gio

@trop

trop Bot commented Oct 26, 2018

Copy link
Copy Markdown
Contributor

We have automatically backported this PR to "3-0-x", please check out #15421

@trop trop Bot removed the target/3-0-x label Oct 26, 2018
@trop

trop Bot commented Oct 26, 2018

Copy link
Copy Markdown
Contributor

We have automatically backported this PR to "4-0-x", please check out #15422

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.

Electron uses old and deprecated trash implementation that is not available on recent gvfs versions.

3 participants