Page 1 of 1

Feature request: use explorer.exe

Posted: Sun Jul 21, 2019 11:08 pm
by RFB
(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 )

Re: Feature request: use explorer.exe

Posted: Sun Jul 21, 2019 11:20 pm
by steve
If this is for importing audio files, you can drag and drop audio files from File Explorer into an Audacity project.

Re: Feature request: use explorer.exe

Posted: Mon Jul 22, 2019 12:19 am
by RFB
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.

Re: Feature request: use explorer.exe

Posted: Mon Jul 22, 2019 9:20 am
by steve
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.

Re: Feature request: use explorer.exe

Posted: Mon Jul 22, 2019 3:56 pm
by henric
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.

Re: Feature request: use explorer.exe

Posted: Fri Jan 22, 2021 2:07 am
by Alumx
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 :(