Bugzilla – Bug 1537
Some commands may be incorrectly enabled by "Select all on none" Preference
Last modified: 2018-08-20 11:51:43 UTC
Commands including: * Export Selection * Trim * Split * Split New * Split Delete should (according to the code), be disabled when there is no audio track selection. This (according to the code) should not be overridden by the preference "Select all if none selected". If the cursor is in a label track (only), with no time selection, the "Select all when none selected" setting incorrectly overrides the designed behaviour. The original purpose of the "Select all if none" behaviour was to mitigate complaints from new users that were confused by greyed out menus when no audio was selected. Subject to discussion, my preferred solution would be to not implement the "Select all..." behaviour for any Edit or File commands, but rather to devise a non-intrusive means to educate users about the use of audio selections. As a less radical solution, the logic errors controlling the behaviour needs to be corrected.
Fixed with https://github.com/audacity/audacity/commit/b5ccd5b The behaviour now matches the code description, and the behaviour of Edit button should now match the behaviour of their Menu counterparts (residual from bug 1536).
(In reply to Steve Daulton from comment #1) Testing on audacity-win-rccbee2b-2.1.3-alpha-31-oct-16 and on Mac Sierra ccbee2 31Oct16 Th commands that Steve lists in his original bug report are now properly grayed-out and inoperable when there is no selction made even if the prefernce for "Select all ..." is set to "on". However Edit>Remove Special>Silence Audio is not grayed it - both it and its shortcut Ctrl+L/Ctrl+L work to silence the entire audio - but I think this is proabably expected behavior. Looks to be fixed.
(In reply to Peter Sampson from comment #2) > Th commands that Steve lists in his original bug report are now properly > grayed-out and inoperable when there is no selction made even if the > prefernce for "Select all ..." is set to "on". Steve did not mean to suggest that Split should be disabled when there is no time selection, so as before, Split is still enabled as long as a track is selected (click in the background to disable it).