Exporting makes the project dirty (2.1.3-alpha)

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity 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
cmac185
Posts: 286
Joined: Mon Jan 12, 2015 3:28 am
Operating System: macOS 10.15 Catalina or later

Exporting makes the project dirty (2.1.3-alpha)

Post by cmac185 » Sun Apr 17, 2016 11:02 pm

Running OSx 10.11.4 on MacBook Pro.

I've been noticing in version 2.1.3 alpha that there has been a change in the criteria for when the current project has changed so should be saved before closing.

I see this when I have applied an effect then saved the project under a new name then exported the audio. Closing the project causes a popup asking if I want to save changes before closing. To my thinking exporting the audio isn't a change to the project, but the popup makes me concerned that if I don't save at that point something important may get lost. Could someone help me understand what would not be saved if I elect not to save the project at this point?

Thanks.

Cliff
Last edited by Gale Andrews on Tue Apr 19, 2016 3:59 pm, edited 1 time in total.
Reason: Given more specific title

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

Re: Audacity 2.1.3 Alpha

Post by steve » Mon Apr 18, 2016 1:38 am

cmac185 wrote: Could someone help me understand what would not be saved if I elect not to save the project at this point?
"Probably" nothing, but the reason why the warning occurs is because exporting updates the projects metadata. IF you changed the metadata when you exported, then the metadata stored in the project would have changed, so closing the project without saving would lose the updated metadata. Audacity does not currently check whether the metadata has changed when you export, it just dumbly writes the metadata (which may be "empty metadata") to the exported file and that becomes the "new" metadata for the project.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

cmac185
Posts: 286
Joined: Mon Jan 12, 2015 3:28 am
Operating System: macOS 10.15 Catalina or later

Re: Audacity 2.1.3 Alpha

Post by cmac185 » Mon Apr 18, 2016 2:21 am

Thanks for the explanation.

As it is it's an irritation that I can live with, but I suspect I will not be the only one who will feel that way and not the only one that will wonder "WHY?".

It happens whether the metadata is viewed or not during the export process. At least if the Metadata was not viewed during the export process it would seem to me to be reasonable to just export the existing data so nothing need be written to the project and thus no need for the message. The best, of course, would be to check to see if the metadata had been changed before displaying the message, but of course that takes more code. Thanks for hearing me out.

Cliff

Gale Andrews
Quality Assurance
Posts: 41761
Joined: Fri Jul 27, 2007 12:02 am
Operating System: Windows 10

Re: Exporting makes the project dirty (2.1.3-alpha)

Post by Gale Andrews » Tue Apr 19, 2016 3:58 pm

cmac185 wrote:It happens whether the metadata is viewed or not during the export process.
I think that part is correct, because user may have changed the metadata before export.
cmac185 wrote:The best, of course, would be to check to see if the metadata had been changed before displaying the message, but of course that takes more code.
OK, I think it's worth logging on Bugzilla http://bugzilla.audacityteam.org/show_bug.cgi?id=1382. We'll see what happens.


Gale
________________________________________FOR INSTANT HELP: (Click on Link below)
* * * * * Tips * * * * * Tutorials * * * * * Quick Start Guide * * * * * Audacity Manual

Paul L
Posts: 1788
Joined: Mon Mar 11, 2013 7:37 pm
Operating System: Please select

Re: Exporting makes the project dirty (2.1.3-alpha)

Post by Paul L » Tue Apr 19, 2016 5:29 pm

Cliff, thank you for noticing this. I have noticed it too. When you did change tags, it used to be, that would not correctly undo and redo. Now that is fixed. But this other undesirable consequence happened. We mean to fix the fix then.

Post Reply