Skip to content

macOS: Audacity 4.0.2 binds 100+ unnecessary extensions and overrides default file associations #12935

Backlog

Description

@shirakaze114

Bug description

Installing Audacity 4.app (org.audacityteam.audacity4 v4.0.2) on macOS causes LaunchServices to silently take over default file associations for over 120 non-Audacity formats—including video files (.mp4, .mkv, .m4v, .flv), audio files (.flac, .ogg, .opus, .aac), subtitle files (.srt, .vtt), and unrelated files (.mm Objective-C++ source, .raw camera RAW images, .ts, .cgi)

Steps to reproduce

  1. Install Audacity 4.app (version 4.0.2) into /Applications on macOS (without having previously pinned custom LSHandlers for .mp4, .mkv, .flac, etc., and with a media player such as IINA installed).
  2. Let LaunchServices register the application bundle (e.g., open Finder in /Applications or launch Audacity once).
  3. Double-click an .mp4, .mkv, .flac, .ogg, .srt, .mm, or .raw file in Finder, or inspect its default handler via "Get Info" / NSWorkspace.shared.urlForApplication(toOpen:).

Expected behavior

  • Audacity should only claim CFBundleTypeRole = Editor for its own native project formats (.aup4, .aup3, .aup, .aup4unsaved).
  • Imported/exported media formats (Audio File, FFmpeg Media File) and Label File (.txt, .srt, .vtt) should use CFBundleTypeRole = Viewer (or None) so Audacity appears in "Open With" without hijacking default handlers from media players (such as IINA) or code/text editors.
  • Unrelated/ambiguous extensions (.mm, .raw, .cgi, .sdp, .gif, .txt) should be omitted from CFBundleDocumentTypes.

Actual behavior

Over 120 extensions immediately switch their default application to /Applications/Audacity 4.app (e.g. .mp4, .mkv (io.iina.mkv), .m4v, .flv, .ts, .flac, .ogg, .opus, .aac, .srt, .vtt, .mm, .raw), so double-clicking them in Finder launches Audacity 4.0.2 instead of IINA, VS Code, or Preview.

Audacity Version

Audacity 4.0.2

Operating system

macOS

Additional context

My agent inspecting /Applications/Audacity 4.app/Contents/Info.plist, told me that CFBundleDocumentTypes declares 138 extensions across Audacity File, Audio File, FFmpeg Media File, and Label File, and sets CFBundleTypeRole = Editor on all of them (with LSItemContentTypes omitted):

  • Audio File (Role: Editor): aif, aiff, au, avr, caf, flac, flc, htk, iff, ircam, mat, mp2, mp3, mpa, mpc, oga, ogg, opus, paf, pvf, raw, rf64, sd2, sds, sf, snd, sv16, svx, svx8, voc, w64, wav, wv, wve, xi
  • FFmpeg Media File (Role: Editor): includes mp4, mkv, m4v, m4a, flv, gif, ts, mov, avi, aac, ac3, dts, wma, wmv, mm, cgi, sdp, ...
  • Label File (Role: Editor): srt, txt, vtt

macOS LaunchServices ranks Editor above Viewer (which players like IINA properly declare in their Info.plist) whenever no explicit user override exists in LSHandlers, Audacity 4.0.2 overrides default handlers even for io.iina.mkv and io.iina.ape.

Related issues:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Fields

    Priority

    None yet

    Effort

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions