Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 1899 - Enh: Windows: previously deleted folders are unnecessarily re-created on next Save
Enh: Windows: previously deleted folders are unnecessarily re-created on next...
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Application Core
2.3.0
PC Windows (all)
: P3 Enhancement
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-07-08 05:54 UTC by Peter Sampson
Modified: 2019-04-04 09:15 UTC (History)
4 users (show)

See Also:
Steps To Reproduce:
1) clear the config folder 2) open Audacity 3) Record some audio 4) Save Project to Documents\Audacity\Project1\test.aup 5) Exit Audacity 6) Delete the Folder Documents\Audacity\Project1 7) Restart Audacity 8) Work on Project2 9) File > Save Project (to save Project2 as Project2) 10) Observe that the Save dialog offers Documents\Audacity\Project1 as the pathing 11) More importantly note that the unneeded unwanted folder Project1 has been created in Documents\Audacity
Release Note:
First Git SHA:
Group: Needs Discussion
Workaround:
Closed: 2019-04-04 00:00:00
petersampsonaudacity: Test‑OK‑Win+


Attachments
First pair of error messages at Step 9 (94.44 KB, image/png)
2019-04-03 09:57 UTC, Peter Sampson
Details
Third error message (56.85 KB, image/png)
2019-04-03 09:58 UTC, Peter Sampson
Details
Error message(s) from Comment #9 testing (62.30 KB, image/png)
2019-04-04 07:08 UTC, Peter Sampson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Sampson 2018-07-08 05:54:17 UTC
When a user has saved (and optionally exported it) to named folder - and then deletes the project folder as no longer needed. Then reopens Audacity to work on a new project, tries saving that new project to a newly named folder

then: 
a)the pathing that is offered is the previous (now deleted) project folder
b)the folder for that old deleted project is unnecessarily recreated in the folder structure.

a) is acceptable, but b) means that the user must the re-delete the old unwanted project folder.

It would be better that Audacity checks to see if that old remembered folder no longer exits and in than case then switches to the default Documents/Audacity.


This enhancement request relates to the following Forum posting: https://forum.audacityteam.org/viewtopic.php?f=20&t=100064


================================

It is unclear as to whether it is Audacity that is doing the "remembering" and folder restoration - or whether it is Windows trying to be helpful.

This does not occur on Mac where at Step 9 Audacity/Mac does not do the "remember" but instead offers the default Documents folder with a blnk project name
Comment 1 Peter Sampson 2018-07-08 06:46:03 UTC
Obviously if the older remembered folder does remain in existence then we should continue to offer that as the default location on Save (and Export) so as mot to create a regression and inconvenience existing usage and users,
Comment 2 Peter Sampson 2018-10-07 06:05:58 UTC
See also this recent Forum report:  https://forum.audacityteam.org/viewtopic.php?f=46&t=101673
Comment 3 Peter Sampson 2018-10-07 06:11:10 UTC
See also Bug #2007
Comment 4 Peter Sampson 2019-04-03 09:56:12 UTC
Testing on W10 with audacity-2.3.2-alpha-211-44fde0a90fcac30db3f03c002628be0e2475a1a0 wgere it is allegedly "fixed".

I think this is now worse than what we had before.

Sure it doesn't recreate the folder that was deleted at Step 6 - but this now creates a different set of issues.

At step 9 I now get two error messages (image to follow) with the first  overlaying the second.

Dismissing those two I get a different third message when I press the Save button(image to follow) - as a user expecting to save to the Documents\Audacity\Project1 folder that is apparently offered in the dialog

Th user then has to move up in the folder hierarchy to Documents\Audacity and then create a new folder. 

Confusion abounds.

I think this is far worse that the recreation of folder Project1 in Documents\Audacity
Comment 5 Peter Sampson 2019-04-03 09:57:18 UTC
Created attachment 812 [details]
First pair of error messages at Step 9

First pair of error messages at Step 9
Comment 6 Peter Sampson 2019-04-03 09:58:35 UTC
Created attachment 813 [details]
Third error message

So not one - but three error messages to confuse and alarm the user
Comment 7 Peter Sampson 2019-04-03 10:49:47 UTC
nd also now when I go to use Import > Audio I aslsoi get error messages re the Project1 folder.
Comment 9 Peter Sampson 2019-04-04 07:06:41 UTC
(In reply to James Crook from comment #8)
Testing on W10 with audacity-2.3.2-alpha-212-4e9b6582b661d7553e59d69432edbf85afa686c2

I still get an error message, in fact a pair of identical messages that overlay each other - both need to be dismissed.  Image to follow
Comment 10 Peter Sampson 2019-04-04 07:08:16 UTC
Created attachment 814 [details]
Error message(s) from Comment #9 testing

Error message(s) from Comment #9 testing - full context showing
Comment 11 Peter Sampson 2019-04-04 07:15:52 UTC
But if I try to Save again with no changes I still get the two messages to dismiss, but now the proffered folder is "Audacity"
Comment 12 Peter Sampson 2019-04-04 09:13:58 UTC
Retesting on W10 with James' latest build audacity-2.3.2-alpha-213-750014d65538a68b99ff815f94bdac4c1acf2a41


At step 9 I get offered the (default) pathing Documents\Audacity

And I tested that I can go ahead and Save there - or Save to a sub-folder

And *no* Project1 folder gets re-created in Documents\Audacity

So looks to be properly fixed