-
Notifications
You must be signed in to change notification settings - Fork 17k
Labels
36-x-y37-x-ybug 🪲bug/regression ↩️A new version of Electron broke somethingA new version of Electron broke somethinghas-repro-gistIssue can be reproduced with code at https://gist.github.com/Issue can be reproduced with code at https://gist.github.com/platform/macOSstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature
Description
Preflight Checklist
- I have read the Contributing Guidelines for this project.
- I agree to follow the Code of Conduct that this project adheres to.
- I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
36.7.1, 36.2.0, 37.2.3
What operating system(s) are you using?
macOS
Operating System Version
macOS Sequoia 15.5
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
36.1.0, 35.2.2
Does the issue also appear in Chromium / Google Chrome?
Yes
Expected Behavior
When calling showOpenDialog() with the option filters: [{ name: "Applications", extensions: ["app"] }], I expect that only app files can be selected.
Actual Behavior
in Electron 36.0.0, the above filter is not applied and it's possible to select anything
Starting from Electron 36.2.0, the above filters is ignored, nothing is passing it, not able to select anything
Testcase Gist URL
https://gist.github.com/al-polushkin/6c104ef3d60119a37fca32e51ef7caff
Additional Information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
36-x-y37-x-ybug 🪲bug/regression ↩️A new version of Electron broke somethingA new version of Electron broke somethinghas-repro-gistIssue can be reproduced with code at https://gist.github.com/Issue can be reproduced with code at https://gist.github.com/platform/macOSstatus/confirmedA maintainer reproduced the bug or agreed with the featureA maintainer reproduced the bug or agreed with the feature