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

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
Paul L
Posts: 1788
Joined: Mon Mar 11, 2013 7:37 pm
Operating System: Please select

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

Post by Paul L » Sat Apr 06, 2013 2:38 am

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.

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

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

Post by steve » Sat Apr 06, 2013 2:56 am

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.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

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

Post by Gale Andrews » Sat Apr 06, 2013 6:43 am

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
________________________________________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: Append-Record and stop-and-set-cursor confuse Undo

Post by Paul L » Sun Apr 21, 2013 5:17 pm

But you don't dispute that the undo behavior is a bug, Gale?

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

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

Post by steve » Sun Apr 21, 2013 11:31 pm

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
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

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

Post by Paul L » Mon Apr 22, 2013 12:10 am

Agreed then.

Post Reply