Skip to content

Allow dropping files onto the dock icon in macos - #12257

Merged
dozzzzer merged 1 commit into
audacity:masterfrom
kryksyh:drop_files_dock
Sep 28, 2026
Merged

dozzzzer merged 1 commit into
audacity:masterfrom
kryksyh:drop_files_dock

Conversation

@kryksyh

@kryksyh kryksyh commented Sep 22, 2026

Copy link
Copy Markdown
Member

Resolves: #11961

Adds supported file extensions

  • I signed CLA
  • This PR includes AI assistance
  • If the PR is AI-assisted, I have read, understood and complied with the guidelines for AI-assisted contributions
  • The title of the pull request describes an issue it addresses
  • If changes are extensive, then there is a sequence of easily reviewable commits
  • Each commit's message describes its purpose and effects
  • There are no behavior changes unnecessary for the stated purpose of the PR

Recommended:

  • Each commit compiles and runs on my machine without known undesirable changes of behavior

@coderabbitai

coderabbitai Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

Review in Change Stack →

Navigate logical layers of code changes, visualize relationships, and explore their blast radius.

Important

Review skipped

Review was skipped as selected files did not have any reviewable changes.

⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: f541ac00-69c0-4ce5-80d7-50d8a7c63ca0

📥 Commits

Reviewing files that changed from the base of the PR and between 6f01218 and 46e7ec8.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI (base), Organization UI (inherited)

Review profile: CHILL

Plan: Advanced

Run ID: 37892441-3222-4e57-a8d4-ddb5c9365d0b

📥 Commits

Reviewing files that changed from the base of the PR and between e77c729 and 6f01218.

📒 Files selected for processing (1)
  • buildscripts/packaging/MacOS/MacOSXBundleInfo.plist.in

Included review availability: Your plan provides up to 10 included reviews per hour; 9 remain after this review.


📝 Walkthrough

Walkthrough

The macOS bundle template adds four CFBundleDocumentTypes entries: Audio File, FFmpeg Media File, Audacity Project, and Label File. The entries register audio, media, project, subtitle, and text extensions. Each entry uses the Editor role and Alternate handler rank. The registered extensions include mp3, common FFmpeg formats, aup3, srt, txt, and vtt.

Priority: ➖ Normal

Estimated code review effort: 2 (Simple) | ~10 minutes

Severity of issue fixed: Medium

Merge Risk: ⚪ Minimal · up to 6f012

This restores macOS file-dropping support through bundle document registrations, with no evidenced current-head risk blocking merge.

🚥 Pre-merge checks | ✅ 4
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly describes the main change: enabling file drops onto the macOS Dock icon.
Description check ✅ Passed The description identifies the resolved issue, summarizes the change, and includes the required checklist. The short description is brief but relevant, and the unchecked recommended build-and-run item…
Linked Issues check ✅ Passed The change updates CFBundleDocumentTypes in MacOSXBundleInfo.plist.in [#11961]. It registers MP3 and other compatible audio extensions, plus FFmpeg media extensions, as Editor document types wit…
Out of Scope Changes check ✅ Passed All changes are in the macOS bundle document-type declarations. The added audio, media, Audacity project, and label extensions support opening files through the same Finder and Dock integration descri…

Warning

Linked repositories: Public OSS repositories can only analyze public repositories installed in this organization. No linked repositories were analyzed; skipped musescore/musescore.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@dozzzzer
dozzzzer merged commit bbf23ad into audacity:master Sep 28, 2026
8 of 10 checks passed
saintmatthieu pushed a commit that referenced this pull request Sep 28, 2026
Resolves: #11961

Adds supported file extensions

<!-- Use "x" to fill the checkboxes below like [x] -->

- [x] I signed [CLA](https://www.audacityteam.org/cla/)
- [ ] This PR includes AI assistance
- [ ] If the PR is AI-assisted, I have read, understood and complied
with the [guidelines for AI-assisted
contributions](https://github.com/audacity/audacity/blob/master/AI_POLICY.md)
- [x] The title of the pull request describes an issue it addresses
- [x] If changes are extensive, then there is a sequence of easily
reviewable commits
- [x] Each commit's message describes its purpose and effects
- [x] There are no behavior changes unnecessary for the stated purpose
of the PR

Recommended:
- [ ] Each commit compiles and runs on my machine without known
undesirable changes of behavior
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.

Drag and drop to app icon doesn't open file in Audacity 4

3 participants