Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 2141 - Tabbing between labels now only works if the label track is selected
Tabbing between labels now only works if the label track is selected
Status: CLOSED FIXED
Product: Audacity
Classification: Unclassified
Component: User Interface
2.3.3
Per OS All
: P1 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2019-06-28 10:03 UTC by Peter Sampson
Modified: 2019-07-09 11:14 UTC (History)
7 users (show)

See Also:
Steps To Reproduce:
1) get audio track 2) add a couple of labels (focus is on label track, but track is not selected) 3) use Tab - it works 4) Select the audio track 5) use tab 6) Observe it fails to work rotating labels (expected behavior) 7) use down arrow to shift focus (but not selection) to label track 8) use tab 9) Observe it fails to work (THIS is the regression bug - it works on 2.3.2 and earlier) 10) either Select the label track, or just click in it 11) Tab now works
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2019-07-09 00:00:00
petersampsonaudacity: Regression-
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+
stevethefiddle: Test‑OK‑Lin+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Sampson 2019-06-28 10:03:18 UTC
David wrote by email
>In released versions of Audacity you can tab between labels regardless of
>whether the track is selected. Currently you can only do this if the track 
>is selected.

This is a regression on 2.3.2 - maked as P1 as users are unlikely to "discover" the workaround
Comment 1 Peter Sampson 2019-06-28 10:24:25 UTC
I have just tested this on various old versions of Audacity 2,3,2 2.3.0, 2.2.0 and 2.0.6 - and all cases the label track has to be focused for the tab to take effect.

I suspect that this may be down to the fact that it is quite possible to have multiple label tracks and Audacity needs to know which on eto tab in

So this looks like NOTABUG to me - but I'd like confirmation from other QA folk
Comment 2 Peter Sampson 2019-06-28 10:41:03 UTC
I note that it state in the Manual:

>When focus is on a label track as indicated by the yellow focus border:
>TAB opens the next label for editing and places the editing cursor or selection
>to correspond with that label
>Shift + TAB opens the previous label for editing and places the editing cursor
>or selection to correspond with that label.
Comment 3 Paul L 2019-06-28 11:15:51 UTC
I disagree that this is not-a-bug, because it is possible for a label track to be focused but not selected, and in that case TAB does not work, as manual says it should.
Comment 4 Paul L 2019-06-28 11:18:16 UTC
You can make the track focused but not selected by using arrow keys, and using ctrl+click on the TCP.
Comment 5 David Bailes 2019-06-28 11:51:59 UTC
(In reply to Peter Sampson from comment #1)
> I have just tested this on various old versions of Audacity 2,3,2 2.3.0,
> 2.2.0 and 2.0.6 - and all cases the label track has to be focused for the
> tab to take effect.

It has to be focused, but not necessarily selected.
The focused item is the item which normally interacts with keyboard input. (There are exceptions.)

> 
> I suspect that this may be down to the fact that it is quite possible to
> have multiple label tracks and Audacity needs to know which on eto tab in
> 
> So this looks like NOTABUG to me - but I'd like confirmation from other QA
> folk

I don't understand how you've got to your conclusion. You haven't mentioned whether or not the track is selected.
Comment 6 Peter Sampson 2019-06-28 12:08:47 UTC
(In reply to David Bailes from comment #5)
>I don't understand how you've got to your conclusion. 
>You haven't mentioned whether or not the track is selected.

If the label track is selected it gains focus - you can shift focus from a selected label track with the up down arrow keys,.

As the Manual says - a label track has to be focused (for the tabbing to work)

And as you, David, state
>It has to be focused, but not necessarily selected.


AHHH - but now I see what you mean (apologies for the confusion)
1) get audio track
2) add a couple of labels (focus is on label track, but track is not selected
3) use Tab - it works
4) Select the audio track
5) use tab
6) Observe it fails to work

7) use down arrow to sfft focus (but not selection) t label track
8) use tab
9) Observe it fails to work (THIS is the regression bug - it works on 2.3.2 and earlier)

10) either Select the label track, or just click in it
11) Tab now works
Comment 7 Paul L 2019-06-28 19:20:36 UTC
A fix at https://github.com/audacity/audacity/commit/bdcb55467f725ad6e138a54da7e76244d3cc81eb

so that when a label track is focused, you can tab among the labels; whether or not the track is selected.

But this will not "fix" the steps to reproduce as currently stated:

"1) get some audio
2) add some labels
3) shift focus to audio track
4) use Tab to try to tab between labels
5) Observe: the tab does nothing"
Comment 8 Peter Sampson 2019-06-29 09:48:16 UTC
Updated the Steps to reproduce
Comment 9 Peter Sampson 2019-06-29 09:49:59 UTC
(In reply to Paul L from comment #7)
Testing on W10 with audacity-2.3.3-alpha-277-bdcb55467f725ad6e138a54da7e76244d3cc81eb

At Step 8 this now works properly

And Step 10 continues to work properly
Comment 10 Peter Sampson 2019-06-30 11:30:05 UTC
Testing on macOS 10.14.5 Mojave with alpha 2.3.3 jc002 of 30Jun19


As with Windows:

At Step 8 this now works properly

And Step 10 continues to work properly
Comment 11 Steve Daulton 2019-07-09 11:14:07 UTC
Works for me. Closing as FIXED.