Skip to content

Open audio files - #10556

Merged
grliszas14 merged 8 commits into
audacity:masterfrom
grliszas14:open_audio_files
Mar 27, 2026
Merged

grliszas14 merged 8 commits into
audacity:masterfrom
grliszas14:open_audio_files

Conversation

@grliszas14

@grliszas14 grliszas14 commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

Resolves: #10265
Resolves: #10513

  • I signed CLA
  • 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

QA:

  • Autobot test cases have been run
  • If there's no currently opened project, Open action will open a project/audio file in the same app window
  • If there is a project opened, then Open action will spawn another app window and open project/file in the new one
  • File->Open/Import interactive dialog: check available extensions to select (check if the extension list isn’t too long)

  • Open/Import dialog should allow to select multiple files
  • If you select both audacity project and media file(s) (e.x. mp3) to Open, the media file should be silently dropped
  • No more „score” string in the UI

{
std::string allExt = "*.aup3 *.aup4";
std::vector<std::string> supportedExtensions = importer()->supportedExtensions();

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

importer()->supportedExtensions() includes aup3, which results in "Importable audio and media files" to match aup3 projects

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch :D fixed

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about the current solution. Importer only includes aup3, and does not include aup4. So maybe aup3 is not needed there at all, since we never import project files.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, removed it from supported extensions directly in Importer::GetFileTypes

@grliszas14
grliszas14 force-pushed the open_audio_files branch 2 times, most recently from 97fc8f8 to 88c4c0b Compare March 19, 2026 09:18
@grliszas14
grliszas14 force-pushed the open_audio_files branch 7 times, most recently from 8adf0b2 to f567341 Compare March 20, 2026 11:47
@grliszas14
grliszas14 merged commit 75ecf7c into audacity:master Mar 27, 2026
8 checks passed
@grliszas14
grliszas14 deleted the open_audio_files branch March 27, 2026 12:41
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.

Remove/change all the mentions of the score(s) across Audacity The 'Open' command for Audacity 4 doesn't open audio files (AU3 does)

2 participants