Page 1 of 1

Append-Record and stop-and-set-cursor confuse Undo

Posted: Sat Apr 06, 2013 2:38 am
by Paul L
Append-record. Stop with spacebar. Append-record. Stop with spacebar. Undo twice. Behaves as expected.

Now do the same except stopping recordings with stop-and-set-cursor (default ctrl-a) instead. Does the wrong thing: (1) unintended clip boundary is introduced between recordings and (2) first undo does nothing, second undo deletes second recording, first recording can't be undone.

Re: Append-Record and stop-and-set-cursor confuse Undo

Posted: Sat Apr 06, 2013 2:56 am
by steve
That's not good. A simpler way to reproduce the problem:
1) Start recording.
2) Stop playback with stop-and-set-cursor (default: shift+A)
3) Undo record - the recording is not undone.

Re: Append-Record and stop-and-set-cursor confuse Undo

Posted: Sat Apr 06, 2013 6:43 am
by Gale Andrews
Thanks, Paul. I added a bug report http://bugzilla.audacityteam.org/show_bug.cgi?id=632 .
Paul L wrote:Append-record. Stop with spacebar. Append-record. Stop with spacebar. Undo twice. Behaves as expected.

Now do the same except stopping recordings with stop-and-set-cursor (default ctrl-a) instead. Does the wrong thing: (1) unintended clip boundary is introduced between recordings
I have not yet added a bug report, nor researched it, but I suspect it's a design decision. I think it's defensible that append recording at the end of a track creates a split line if the cursor is at the end of a track when append recording starts. It's probably reasonable (as also happens now) that if you use either SPACE or SHIFT + A to stop the append record, click after the end of the track then append record that a split line is drawn where the recording last stopped.

If so, you could argue that stopping with SPACE, then K to move to the end of the track then append record should add a split line, but it doesn't. I don't think it would be unreasonable if append record added a split line even if the cursor was not at the end of the track when recording started.


Gale

Re: Append-Record and stop-and-set-cursor confuse Undo

Posted: Sun Apr 21, 2013 5:17 pm
by Paul L
But you don't dispute that the undo behavior is a bug, Gale?

Re: Append-Record and stop-and-set-cursor confuse Undo

Posted: Sun Apr 21, 2013 11:31 pm
by steve
Paul L wrote:But you don't dispute that the undo behavior is a bug, Gale?
Are you referring to this: http://bugzilla.audacityteam.org/show_bug.cgi?id=632

Re: Append-Record and stop-and-set-cursor confuse Undo

Posted: Mon Apr 22, 2013 12:10 am
by Paul L
Agreed then.