Vista-style folder picker for Export Multiple

This read-only archive contains discussions from the Adding Feature forum.
New feature request may be posted to the Adding Feature forum.
Technical support is available via the Help forum.
Locked
Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Vista-style folder picker for Export Multiple

Post by Edgar » Tue Dec 18, 2012 7:37 am

In my never-ending endeavor to drag Audacity out of the dark ages…
em.png
em.png (141.37 KiB) Viewed 2822 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.

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

Re: Vista-style folder picker for Export Multiple

Post by steve » Tue Dec 18, 2012 2:50 pm

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"?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Vista-style folder picker for Export Multiple

Post by Edgar » Tue Dec 18, 2012 4:54 pm

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 2807 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.

Edgar
Forum Crew
Posts: 2043
Joined: Thu Sep 03, 2009 9:13 pm
Operating System: Windows 10

Re: Vista-style folder picker for Export Multiple

Post by Edgar » Tue Dec 18, 2012 4:55 pm

Note--I'm not complaining (here) about the poor grammar in the current version <grin>!

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

Re: Vista-style folder picker for Export Multiple

Post by steve » Tue Dec 18, 2012 5:48 pm

Edgar wrote:The standard version:

:shock:

On Linux it is a full-featured browser window.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked