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

[filesystem] Fixed file dialog opening folder #4868

Merged

Conversation

federicobozzini
Copy link
Contributor

A file dialog is opened in the folder used as a parameter.

Fixes #4862

Signed-off-by: Federico Bozzini <federico.bozzini@gmail.com>
Copy link
Member

@vince-fugnitto vince-fugnitto left a comment

Choose a reason for hiding this comment

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

@vince-fugnitto
Copy link
Member

Sorry, I see you already updated the Electron version as well 😄

@akosyakov
Copy link
Member

akosyakov commented Apr 12, 2019

Open File menu action should still show the parent directory. We should fix this client, also check whether it makes sense for other existing clients.

@federicobozzini
Copy link
Contributor Author

Open File menu action should still show the parent directory. We should fix this client, also check whether it makes sense for other existing clients.

Should we? The current behaviour seems different than what I would expect.

At the moment if I click Open File instead of the getting the dialog open in the workspace root, I see it gets opened in the parent folder.

@akosyakov
Copy link
Member

As far as I know it was done on purpose: #332 cc @svenefftinge

@federicobozzini please sign your commits and ECA: https://accounts.eclipse.org/users/akosyakov/eca

Signed-off-by: Federico Bozzini <federico.bozzini@gmail.com>
@svenefftinge
Copy link
Contributor

Should we? The current behaviour seems different than what I would expect.

I did it like that because you probably want to switch to a sibling workspace as this is how many devs organize multiple workspaces locally.

@federicobozzini
Copy link
Contributor Author

Is this PR accepted? Can it be merged?

@akosyakov akosyakov merged commit 8b3cdca into eclipse-theia:master Jul 3, 2019
@federicobozzini federicobozzini deleted the file-dialog-folder-fix branch January 3, 2020 16:04
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.

[filesystem] File dialog seems to use wrong folder when opened
4 participants