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

fix: don't fallback to OpenFolderViaShell #21668

Merged
merged 1 commit into from Jan 13, 2020
Merged

fix: don't fallback to OpenFolderViaShell #21668

merged 1 commit into from Jan 13, 2020

Conversation

codebytere
Copy link
Member

@codebytere codebytere commented Jan 3, 2020

Description of Change

Closes #21663.

This fallback call breaks from Chromium's approach as seen here; it was added in this commit four years ago to account for shortcomings in Chromium's approach which i feel at this point is significantly more robust. This PR thus removes the fallback so that we do not cause unexpected end-user behavior with duplicate popups and lag.

cc @zcbenz

Checklist

Release Notes

Notes: Fixed an issue with potential duplicate error popups when calling shell.showItemInFolder on Windows

@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Jan 3, 2020
@miniak
Copy link
Contributor

miniak commented Jan 3, 2020

@codebytere there are still two other calls to ui::win::OpenFolderViaShell, is that ok?

@codebytere
Copy link
Member Author

@miniak i left those initially but you may be right; all three break from Chromium technically so i'd personally be ok with removing them all.

@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Jan 4, 2020
@zcbenz zcbenz merged commit 19ef7a0 into master Jan 13, 2020
@release-clerk
Copy link

release-clerk bot commented Jan 13, 2020

Release Notes Persisted

Fixed an issue with potential duplicate error popups when calling shell.showItemInFolder on Windows

@trop
Copy link
Contributor

trop bot commented Jan 13, 2020

I have automatically backported this PR to "8-x-y", please check out #21748

@trop trop bot removed the target/8-x-y label Jan 13, 2020
@trop
Copy link
Contributor

trop bot commented Jan 13, 2020

I have automatically backported this PR to "7-1-x", please check out #21749

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.

shell.showItemInFolder slow response and double error msg box when access is denied
3 participants