-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
electron: fix 'save as...' cwd #9135
Conversation
41118c0
to
f4282bf
Compare
The following commit fixes the `defaultPath` when performing a `save as...` in `electron`. Previously, the `defaultPath` was incorrect leading the dialog to always open where the application started. With these changes, the dialog will open at the current location where the `save as...` is performed. Signed-off-by: vince-fugnitto <vincent.fugnitto@ericsson.com>
f4282bf
to
b84db5a
Compare
Are you sure about this? Without your changes, it seems to me that it is a "random" folder; in fact, I see the last valid folder always whenever I open the native
I can confirm this. It works as expected 👍 Thank you! The PR title is electron: fix 'save as...' cwd. Why the change in |
At least for me on Linux whenever I performed a
I can remove the
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have verified the changeset with the electron app; it worked as expected.
Thank you for the fix, @vince-fugnitto!
No need to remove it. Thanks! |
What it does
Fixes #9133
The following commit fixes the
defaultPath
when performing asave as...
inelectron
. Previously, thedefaultPath
was incorrect leading the dialog to always open where the application started. With these changes, the dialog will open at the current location where thesave as...
is performed.How to test
save as...
Review checklist
Reminder for reviewers
Signed-off-by: vince-fugnitto vincent.fugnitto@ericsson.com