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

Remove 'All Files' filter if OpenFileDialogProps filters are configured #9558

Closed
wants to merge 1 commit into from

Conversation

scottaxcell
Copy link

@scottaxcell scottaxcell commented Jun 7, 2021

What it does

Fixes #9242

How to test

  1. Visit open-vsx.org and download an extension as a .vsix file.
  2. Open the extensions view.
  3. Select the _more_ menu item in the toolbar and execute the Install from VSIX... command.
  4. In the file dialog, confirm that the file extension filter only has one option of VSIX Extensions (*.vsix).

Review checklist

Reminder for reviewers

Signed-off-by: Scott Axcell [email protected]

Only use the default * filter when no filter has been specified in the SaveFileDialogProps props.

Signed-off-by: Scott Axcell <[email protected]>
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.

@scottaxcell thank you for the pull-request, I believe a fix for the filters has already been submitted? #9502 (which also fixes the electron use-case)

@vince-fugnitto vince-fugnitto added the dialogs issues related to dialogs label Jun 7, 2021
@scottaxcell
Copy link
Author

Thanks @vince-fugnitto, you're correct, sorry I missed the existing PR.

@scottaxcell scottaxcell closed this Jun 7, 2021
@scottaxcell scottaxcell deleted the theia-9242 branch June 7, 2021 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dialogs issues related to dialogs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[electron] File dialog filters do not work
2 participants