Feature request: use explorer.exe

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
RFB
Posts: 2
Joined: Sun Jul 21, 2019 11:03 pm
Operating System: Windows 10

Feature request: use explorer.exe

Post by RFB » Sun Jul 21, 2019 11:08 pm

(not to be confused with internet explorer, I'm referring to window's file navagation). Refer to the images below:
https://user-images.githubusercontent.c ... fc5e4c.png
Does audacity have an option to make use of “use new style dialog” (named after here: https://github.com/notepad-plus-plus/no ... ssues/5889 )

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Feature request: use explorer.exe

Post by steve » Sun Jul 21, 2019 11:20 pm

If this is for importing audio files, you can drag and drop audio files from File Explorer into an Audacity project.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

RFB
Posts: 2
Joined: Sun Jul 21, 2019 11:03 pm
Operating System: Windows 10

Re: Feature request: use explorer.exe

Post by RFB » Mon Jul 22, 2019 12:19 am

Some people don't really like opening the folder program and doing that when they could just do that on the program's file -> Open/Save. I mean, even notepad++ lets you change that if you don't like the program's default file navigation tool. I would like the navagation tool to apply to all “opens”/“load” and “saves”.

If audacity community team does not like this, maybe do what gimp did? https://user-images.githubusercontent.c ... fdb4f4.png

At least let the user enter the path in the address bar to instantly jump to a location.

steve
Site Admin
Posts: 81609
Joined: Sat Dec 01, 2007 11:43 am
Operating System: Linux *buntu

Re: Feature request: use explorer.exe

Post by steve » Mon Jul 22, 2019 9:20 am

Because Audacity is a cross-platform program, it uses a cross-platform toolkit (wxWidgets) to create platform specific controls (such as the file browser). I doubt that the Audacity developers will want to write a custom file dialog for Windows, given that the file dialogs created by wxWidgets work perfectly well on Windows, Mac and Linux. To get the enhancement that you're asking for, you could try to persuade the wxWidgets developers to implement it, then if they do, Audacity would get the enhancement.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

henric
Posts: 66
Joined: Sun Jan 17, 2016 9:12 pm
Operating System: Windows 10

Re: Feature request: use explorer.exe

Post by henric » Mon Jul 22, 2019 3:56 pm

Audacity has its own implementation of the file dialog, which is a customized version wxWidgets's wxFileDialog. And while wxWidgets does use the new Common Item Dialog when selecting directories (with wxDirDialog), for some reason it always uses the classic "Common File Dialog" for files (wxFileDialog).

To see this, go to Preferences and click "Choose..." for the Temporary Files Directory. The newer Common Item Dialog should appear.

To get the new dialog for files, the implementation in Audacity lib-src/FileDialog/win/FileDialogPrivate.* would need to be changed to use Common Item Dialog. Given that one can probably copy most of that from wxWidget's wxDirDialog, it should not be all that much work. However, one should probably first figure out why the wxWidgets implementation of wxFileDialog does not use the new Common Item Dialog (there might be a more compelling reason than, "nobody submitted a patch"). It might also be worthwhile to see if the upstream wxWidgets wxFileDialog is now extensible enough that Audacity doesn't need its own implementation.

Alumx
Posts: 1
Joined: Fri Jan 22, 2021 1:57 am
Operating System: Windows 10

Re: Feature request: use explorer.exe

Post by Alumx » Fri Jan 22, 2021 2:07 am

I was looking for a possible fix for this, damn
They really should update save file dialog to use Common Item Dialog instead
it becomes really grating when you need to jump between many directories and hard drives :(

Post Reply