Page 1 of 1

Vista-style folder picker for Export Multiple

Posted: Tue Dec 18, 2012 7:37 am
by Edgar
In my never-ending endeavor to drag Audacity out of the dark ages…
em.png
em.png (141.37 KiB) Viewed 2823 times
For those of us on Windows Vista or newer we have new file and folder pickers; I have already replaced all Audacity's file pickers, so it was time to add a folder picker – the only place I know of at the moment where it would be used as in Export Multiple but there may be some places in Preferences. As with all the new style pickers the Windows UI design goal is to have the picker open automatically in the folder the user previously viewed. Audacity likes to open pickers based on entries in the CFG file. The code I am using will do it either way – the behavior is set in Preferences.

It was a surprisingly small amount of code to implement this behavior. If the user is operating an OS which does not support these picker dialogues the behavior reverts to the old style.

Re: Vista-style folder picker for Export Multiple

Posted: Tue Dec 18, 2012 2:50 pm
by steve
What does this add that the current folder picker does not have?
Is it that it is setting a default location for, and only for "Export Multiple"?

Re: Vista-style folder picker for Export Multiple

Posted: Tue Dec 18, 2012 4:54 pm
by Edgar
steve wrote:What does this add that the current folder picker does not have?
Is it that it is setting a default location for, and only for "Export Multiple"?
The standard version:
ofp.png
ofp.png (40 KiB) Viewed 2808 times
The "Vista" version has been the MS users' norm now for many years and we expect a dialog with much more class (very configurable by the user) and functionality. However, the fact that the OS stores the previous location keeps the user from having a "sticky" default, something the program must override if the developer desires.

The new dialog is also highly configurable by the developer but the new code requires some getting used to and has a learning curve.

Re: Vista-style folder picker for Export Multiple

Posted: Tue Dec 18, 2012 4:55 pm
by Edgar
Note--I'm not complaining (here) about the poor grammar in the current version <grin>!

Re: Vista-style folder picker for Export Multiple

Posted: Tue Dec 18, 2012 5:48 pm
by steve
Edgar wrote:The standard version:

:shock:

On Linux it is a full-featured browser window.