In the preferences, I have the “Show Warnings/Prompts for->Saving projects” unchecked, yet every time I close a project, I am asked if I want to “Save changes before closing?”
(Obviously, either the preferences checkbox is not working - and hasn’t worked for a very long time - or the checkbox refers to something else… and yes, I just checked and is for the warning “you are saving an Audacity project file that only Audacity can open”.) How can I disable the “Save changes before closing?”
(yes, I am aware that this feature is to prevent accidental data loss, but I never, ever, ever want to save projects before closing - so it is extremely inefficient for me to click “no” a thousand times)
As Koz says, it isn’t a problem with the audacity.cfg file. The “Saving Projects” warning in Warnings Preferences is for when you choose File > Save Project.
The “Save Changes” warning is for when you have unsaved changes in a project, for example by importing an audio file then quitting. We can’t disable the “Save Changes” warning because users often delete their audio files after importing them into Audacity. They also often turn a preference on when they don’t intend to.
If your use case is importing an audio file, editing, exporting and then closing, probably we would entertain a preference to not warn in that case - you would have to have exported, then made no further changes.
Your precaution is to prevent the occasional absolute moron from losing data when he foolishly deleted his source audio, stupidly clicked on preferences he didn’t understand, and then closed without saving. I understand that preventing morons from doing utterly stupid things is a fine calling, but not at the expense of hassling regular users with annoying popups they can’t turn off.
Yes, I import audio files, edit and export. I’ve done it with thousands of files. Audacity is a wonderful program for that, but you can see how clicking “no” thousands of times can get annoying.
I have an idea… why not put a checkbox in the preferences to turn off the popup - and if a user turns it off, a popup warns the user that turning it off could result in lost data if he didn’t save (“understood” then allows users to keep it off). That should solve the problem of “users unintentionally turning it off when they didn’t intend to.”