Bugzilla – Bug 2127
Track deletion while in Record/Pause state crashes Audacity
Last modified: 2019-07-09 11:19:39 UTC
If the user tries to delete a track when Audacity is in Record-Paused state after restarting a previous pause of the recording with a record rather than a pause then Audacity will crash. If the user tries the track deletion in Pause state after Step 2, the track is deleted. If the user uses the (more normal) "Pause" at step 3, then at syep 6 the track gets deleted, no crash. This is a regression on 2.2.2 Tested on W10 and Mac where it fails on both, so assume all platforms. --------------------------------------------------- This raises a few basic questions. 1) should Record be alllowed as a way of un-pausing a paused recording? 2) should active track deletion be allowed when the track is active in a paused state ? And note this affects playback as well as record. 3) should non-active track deletion be allowed when in a paused state ?
Alternative steps added. Note that "Tracks menu > Remove Tracks" prohibits deleting tracks during paused recording. For consistency, removing tracks with click to the track [X] should also be prohibited.
Fixed at https://github.com/audacity/audacity/commit/c50acea3282eb3106c81f36c372e1556dfed092e
Testing on W10 with audacity-2.3.3-alpha-280-6adb2abc98618ffaee43841bf229ec5b14e40ed6 At Step 6 there is now no crash and the track is deleted Question 1 from comment #0 >1) should Record be allowed as a way of un-pausing a paused recording? This is now longer the case - only Pause un-pauses a paused recording
Testing on macOS 10,14.5 with 2.3.3 alpha jc002 30Jun19 as with Windows At Step 6 there is now no crash and the track is deleted And only Pause un-pauses a paused recording - not a further press of Record
Testing on MacOS 10.13.6 with commit b2a2cf built July 4th. Confirm no crash, BUT recording can be restarted with out unpausing if using keyboard shortcuts. Is this intentional? I would think this would be ok, but it is inconsistent with the mouse activated functions.
Works for me. Closing as FIXED.