Page 1 of 1
Incremental preference reset
Posted: Mon Nov 17, 2014 6:37 am
by Edgar
Is this something vaguely like what y'all envision:

- global.png (39.83 KiB) Viewed 984 times

- devices.png (42.98 KiB) Viewed 984 times
Source code file & two header files attached; I can help anyone figure out how to compile it on Windows; I could figure out how to do it using make which should probably work for all three platforms. Only the Global & Devices tabs are interesting. The button on the global panel actually works by deleting audacity.cfg. Nothing on the Devices tab is functional; none of the buttons on any of the rest of the tabs are functional.
Re: Incremental preference reset
Posted: Mon Nov 17, 2014 10:27 am
by waxcylinder
Ed, do I assume correctly that this is intended to be the external "sledgehammer" ?
If so then this is more of a "swiss army knife" than a "sledgehammer"
For my money the "sledgehammer" should just do the global reset - by deleting the .cfg file (after checking that Audacity is not running and giving suitable dire warnings).
The finessed, individual resets are best done imo on the Preferences panes. The Proposal in the Wiki calls for:
Two buttons within Audacity on each Preferences pane
a) reset audacity.cfg - a global Preferences reset
b) "Reset" or "Defaults" button to reset only Preferences shown on than pane
or, a new "Reset" Preferences pane (with partial or full wipe)
A method for both Mac and Windows including zip users to reset .cfg when Audacity won't launch/visibly crashes on launch.
Peter.
Re: Incremental preference reset
Posted: Mon Nov 17, 2014 5:53 pm
by Edgar
external