steve wrote:Gale Andrews wrote:You are suggesting a conditional behaviour for the Stop button rather than having it do one understood thing.
The behaviour is conditional whichever way you do it:
Current behaviour:
If playback is stopped while Paused (condition)
then stop and return cursor to previous play-from position.
Proposed behaviour:
If playback is stopped while Paused (condition)
then stop.
Programmer's perspective?
A user may only be looking at the buttons. If "Stop" only returns to the original cursor position and "Stop and Set Cursor" only sets the cursor at (roughly) the audio position, then each button has no conditional - it always does the same.
There is another possibility for Stop behaviour after Pause which Wavosaur shows. If you play, pause, then stop, it stops and sets cursor at the stop point (like you suggested). But if you play, pause, pause again (to resume play) then stop, it stops and sets cursor at the point where playback last paused. I'm not sure I like that either, for the same reasons, but either of those could perhaps be a specialised preference, only available if you use the audacity.cfg editor we talked about.
Or if we had a separate Stop and Set Cursor button, that could be one Transport Toolbar set and another set could be the current single Stop button layout, which behaves as Wavosaur's Stop button does (with no choice about the behaviour).
steve wrote:A "Stop and Set Cursor" would be a lot more convenient and discoverable than Shift+A.
When you examine it there weren't many other good choices that work on all keyboards and all OS'es.
CTRL and SPACE would have been good, except Mac uses it to open the "Spotlight" search in the Audacity Help menu.
steve wrote:What do you think it should look like? Could you make a mock-up?
I could see it being either the same yellow rectangle as now containing a black (?) downward-pointing arrow.
In that case, perhaps the current Stop would have a black (single) left-pointing arrow.
Or perhaps Stop and Set Cursor would be a yellow downward-pointing triangle. And Stop (if changed) would be a single left-pointing arrow.
steve wrote:Gale Andrews wrote:If the menu items are active when playing, what are you proposing should happen when user selects something they just heard then without clicking Pause or Stop, clicks.....
I don't see that to be the problem - the edit/process would be applied to the selected region.
I think that the "potential problem" is: What if the user has
not selected a region but selects an edit/effect during play. What should happen in that case?
Advanced users might have unchecked "Select All... if none selected" in Tracks Preferences in which case I assume that with the audio playing or paused and no selection, the menu items that depend on selection would remain greyed. I therefore assume that CTRL + I would in the absence of a selection be enabled and perform Stop, then split at the cursor.
With "Select All... if none" checked (as it is by default), then menu items that depend on selection would unless we changed it remain enabled when audio is busy and so after Stop, would select all the project audio if an effect or region edit was asked for.
I've known more than a few people thinking that selecting an effect during playback with no region present should pause (or stop), open the effect but still let them drag a selection starting at the place the audio stopped, and then apply the effect.
So in the absence of effects that let you select audio while they are open, there may be a fringe case. Choosing an effect or edit while the audio is busy but there is no selection would stop and set cursor at the stop position (like you suggested manual stop when paused should do), rather than stop, select all then open the effect. I doubt that should be more than an optional preference, though.
Gale