Re: [Audacity-devel] DirManager fixes and project file verifier committed
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
From: Dominic M. <do...@au...> - 2004-08-06 23:00:08
|
On Aug 6, 2004, at 2:17 PM, Monty wrote: > On Fri, Aug 06, 2004 at 10:34:53AM -0700, CN wrote: >> A problem related to overwriting existing project (which I had >> reported a week ago) still exists. > > Yes, I made no attempt to fix that and hadn't planned to do anything > about it without Dominic chiming in. Dominic, do you desire a > straightforward fix that just cleans up around the already-existing > functionality? It won't be difficult to implement. We already allow > the overwrite (and the wiping out of the preexisting project, at least > usably). As far as I'm aware, it's not possible under any > circumstances that more than one project are holding blockfiles in the > same data subdir tree. I think Chacko is right, that the "expected" behavior of a "Save As..." operation is to overwrite what's already there, even though we haven't ever worried about this before. However, considering that this is a potentially time-consuming operation (to rm -rf a directory), potentially very destructive, and also rare, I think that perhaps an extra warning message is warranted: "Are you sure you want to delete the [X] MB of audio data belonging to the previous project titled [foo].aup?". The widgets/Warning.cpp code should be used and/or extended - it's intended to be a central implementation of warning or redundant-question type dialogs that have a "Don't ask me again!" checkbox or something like that. - Dominic |