codebytere

#49444: revert: use deprecated setAllowedFileTypes in macOS dialogs

Merged
Created: Jan 19, 2026, 2:57:40 AM
Merged: Jan 21, 2026, 6:08:05 AM
5 comments
Target: main

Description of Change

Closes #48191

Fixes some issues with file type recognition owing to the new UTType conformance-based matching. Chrome also tried to update this and ran into the same issues and fell back. See this comment for longer explanation. We should follow Chrome's lead here.

Checklist

Release Notes

Notes: Fixed an issue where some packages weren't correctly filtered on macOS in dialogs.

Backports

38-x-y
Merged
PR Number
#49471
Merged At
Jan 23, 2026, 10:25:38 AM
Released In
Not yet
Release Date
Not yet
39-x-y
Merged
PR Number
#49472
Merged At
Jan 21, 2026, 10:57:36 AM
Released In
Not yet
Release Date
Not yet
40-x-y
Merged
PR Number
#49473
Merged At
Jan 21, 2026, 9:39:40 AM
Released In
Not yet
Release Date
Not yet
41-x-y
Merged
PR Number
#49470
Merged At
Jan 21, 2026, 10:57:40 AM
Released In
v41.0.0-alpha.2
Release Date
Jan 22, 2026, 7:33:39 AM

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron