Repository navigation
Allow selecting multiple files in interactive dialog - #32674
Merged
Merged
Conversation
grliszas14
force-pushed
the
open_multiple_files
branch
from
March 18, 2026 12:36
f92864d to
f9b2c42
Compare
Eism
reviewed
Mar 18, 2026
grliszas14
force-pushed
the
open_multiple_files
branch
from
March 18, 2026 14:08
f9b2c42 to
695578a
Compare
Eism
approved these changes
Mar 18, 2026
Collaborator
|
@zacjansheski please test that opening files works as expected (on each platform) |
Contributor
|
Opening file on Ubuntu does not work Seems to only be an issue on Ubuntu, Windows and Mac OS work fine Video shows opening a file on Master then attempting with this PR Screencast.from.2026-03-18.11-19-41.mp4 |
grliszas14
force-pushed
the
open_multiple_files
branch
from
March 19, 2026 08:14
695578a to
2cbfcf7
Compare
Contributor
Author
|
@Eism for a single-file mode (MuseScore case) fileUrls is undefined on Linux. Fixed it so onAccepted no longer assumes fileUrls exists. @zacjansheski please re-test, should be fine now |
grliszas14
force-pushed
the
open_multiple_files
branch
2 times, most recently
from
March 19, 2026 17:03
ea99153 to
dfd513d
Compare
Contributor
Author
|
Had to push additional tweak to make it work both in MuseScore and Audacity, ready to re-test |
Eism
reviewed
Mar 20, 2026
| @@ -42,7 +42,21 @@ QtPlatform.FileDialog { | |||
| } | |||
|
|
|||
| onAccepted: { | |||
| root.ret = { "errcode": 0, "value": root.currentFile.toString() } | |||
| if (root.fileMode === 1) { | |||
Collaborator
There was a problem hiding this comment.
you can use FileDialog.OpenFiles
grliszas14
force-pushed
the
open_multiple_files
branch
from
March 20, 2026 11:43
dfd513d to
473a03b
Compare
Contributor
|
Tested on MacOS Tahoe 26.2, Windows 11, Ubuntu 22.04.3. Approved |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves: audacity/audacity#10265
Added a function allowing to select multiple files in interactive dialog