Audacity 2.2.2 creates an empty folder under Documents

Help for Audacity on Windows.
Forum rules
ImageThis forum is for Audacity on Windows.
Please state which version of Windows you are using,
and the exact three-section version number of Audacity from "Help menu > About Audacity".


Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade at https://www.audacityteam.org/download/.
The old forums for those versions are now closed, but you can still read the archives of the 1.2.x and 1.3.x forums.
Post Reply
alan24
Posts: 3
Joined: Thu Nov 08, 2018 8:21 am
Operating System: Windows 10

Audacity 2.2.2 creates an empty folder under Documents

Post by alan24 » Thu Nov 08, 2018 8:28 am

Audacity 2.2.2 (on Windows 10) creates an empty folder C:\Users\<my username>\Documents\Audacity

At least I assume it was Audacity that did it, it was created while I was using Audacity.

This is not the temporary files directory defined under Preferences (that is C:\Users\<my username>\AppData\Local\Audacity\SessionData).

The folder under Documents seems to be useless, and it clutters up my Documents display in Windows/File Explorer.

Clearly I can delete it as soon as I stop using Audacity, but can I stop it being created?

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

Re: Audacity 2.2.2 creates an empty folder under Documents

Post by steve » Thu Nov 08, 2018 9:17 am

We have couple of bugs logged similar to this. It seems that on Windows, Audacity (wrongly) recreates folders that were previously used for reading or writing if they are missing.

There may be a workaround, but I'm not on Windows, so you will need to try these steps and let me know what happens.

1) Open the File menu in Audacity, and from the "Recent Files", select "Clear".
2) Exit Audacity.
3) Delete the offending folder under Documents.
4) Restart Audacity.

Is the "empty folder under Documents" recreated?

If it is, then continue:

5) Generate or record some sound (don't import)
6) Export the track to the "Music" folder
7) Save the project to the "Music" folder
8) Exit Audacity
9) Delete the offending folder under Documents.
10) Restart Audacity

Does that fix the problem?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

waxcylinder
Forum Staff
Posts: 14687
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: Audacity 2.2.2 creates an empty folder under Documents

Post by waxcylinder » Thu Nov 08, 2018 10:08 am

alan24 wrote:
Thu Nov 08, 2018 8:28 am
Audacity 2.2.2 (on Windows 10) creates an empty folder C:\Users\<my username>\Documents\Audacity
...
The folder under Documents seems to be useless, and it clutters up my Documents display in Windows/File Explorer.
Yes indeed. This is not a bug, it is a deliberate creation. It is intended as the default location for storing Audacity projects and audio files.

Before we did this we had far too many folk storing (by Audacity default) their projects & data in the system folder where the Audacity application is stored (not a good choice - and not available to users without privileges to write to that location).


The implementation on Mac is slightly different - there, there is no Audacity folder created. Rather Audacity users the users Documents folder itself as the default location. Personally I have never thought that ideal and this on my MacBook test engine I've created an Audacity directory manually in my Documents folder.


On my W10 production system I don't use the Documents\Audacity folder (except for QA testing) - preferring to create my own folder structure and taxonomy.

alan24 wrote:
Thu Nov 08, 2018 8:28 am
Clearly I can delete it as soon as I stop using Audacity ...
Yes indeed ;)

alan24 wrote:
Thu Nov 08, 2018 8:28 am
... but can I stop it being created?
No I don't think you can - unless that is you have programming skills and you modify that part of the Audacity code and build Audacity yourself, sorry.

WC
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

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

Re: Audacity 2.2.2 creates an empty folder under Documents

Post by steve » Thu Nov 08, 2018 10:32 am

waxcylinder wrote:
Thu Nov 08, 2018 10:08 am
Yes indeed. This is not a bug, it is a deliberate creation.
Well I never knew that :shock:
That does not happen on Linux or macOS, and I wouldn't have thought that would be the "correct" behaviour on Windows.

waxcylinder wrote:
Thu Nov 08, 2018 10:08 am
On my W10 production system I don't use the Documents\Audacity folder ... - preferring to create my own folder structure and taxonomy.
Surely that's the way it should be? (as it is on Linux and macOS).
Why the inconsistency on Windows? Is this a "normal for Windows" thing?
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

waxcylinder
Forum Staff
Posts: 14687
Joined: Tue Jul 31, 2007 11:03 am
Operating System: Windows 10

Re: Audacity 2.2.2 creates an empty folder under Documents

Post by waxcylinder » Thu Nov 08, 2018 11:42 am

steve wrote:
Thu Nov 08, 2018 10:32 am
waxcylinder wrote:
Thu Nov 08, 2018 10:08 am
Yes indeed. This is not a bug, it is a deliberate creation.
Well I never knew that :shock:
That does not happen on Linux or macOS, and I wouldn't have thought that would be the "correct" behaviour on Windows.
I just tested for certainty on Windows - and what happens is that if you do not yet have that Audacity folder Audacity will create it immediately the first time you attempt to save a project or export an audio file and will then offer that folder as the default location.

On Mac no such folder is created and the user's Documents folder is offered as the initial default location.

I, personally, prefer the Windows behavior - and indeed create such an Audacity folder for myself on my MacBook to avoid cluttering up my Documents folder there.

I have no idea why we didn't do the same on Mac and Linux when we changed this - we normally like consistency :?

steve wrote:
Thu Nov 08, 2018 10:32 am
waxcylinder wrote:
Thu Nov 08, 2018 10:08 am
On my W10 production system I don't use the Documents\Audacity folder ... - preferring to create my own folder structure and taxonomy.
Surely that's the way it should be? (as it is on Linux and macOS).
Why the inconsistency on Windows? Is this a "normal for Windows" thing?
It appears to be quite common on Windows.

Reaper, for example, creates and uses a folder called Reaper Media - and Nero creates and uses NeroVision - both in my Documents folder as the location to store my user-created data for those apps.
My folder structure.png
My folder structure.png (43.32 KiB) Viewed 370 times

Peter
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * FAQ * * * * * Tutorials * * * * * Audacity Manual * * * * *

alan24
Posts: 3
Joined: Thu Nov 08, 2018 8:21 am
Operating System: Windows 10

Re: Audacity 2.2.2 creates an empty folder under Documents

Post by alan24 » Sat May 09, 2020 11:48 am

My very belated thanks to steve and waxcylinder for very quick and clear responses. Unfortunately I gave myself a reminder to look for answers but the reminder didn't work; and I got distracted, only just came across my note on this during a mail tidy-up.

My objection to the Documents\Audacity folder was exactly that I "prefer[...] to create my own folder structure and taxonomy." In fact I put all my mp3 files under Music (W10 Explorer gives better column headings that way) but I still don't want a separate Music\Audacity folder there either: if I edit an acquired music track (usually I don't) then I take a copy first & put it somewhere else, then I export the amended mp3 back to the same location as the original file. Which suits my own particular use pattern.

Fortunately Audacity has now stopped creating Documents\Audacity :) And Export defaults to the same place as my last Export, which is fine. (The very first time, with no previous Export, defaulting to the user's Music folder would make sense to me)

Re your last comment: yes several other bits of software insist on creating their own folders under Documents, I can see that as well as Reaper and Nero you also have PowerDVD. I have had to give up on trying to delete CyberLink because it keeps on coming back, but it is an annoyance, cluttering up my main Documents folder list which is folders that make sense to *me*.

Post Reply