2.4.1 label focus problem

Help for Audacity on macOS.
Forum rules
ImageThis forum is for Audacity on macOS 10.4 and later.
Please state which version of macOS you are using,
and the exact three-section version number of Audacity from "Audacity 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
Universalis
Posts: 5
Joined: Mon Mar 02, 2020 7:51 pm
Operating System: macOS 10.15 Catalina or later

2.4.1 label focus problem

Post by Universalis » Thu May 21, 2020 7:23 pm

As suggested, I am reporting it in this forum.

Mac OS 10.15.3
Audacity 2.4.1 (same problem is present in 2.4.0 but not in 2.3.x).

1. Start with Audacity NOT running.

2. Select a number of .wav or .aup files in Finder (I used 4), right-click, "Open With", "Audacity".

3. Audacity opens, and the files open as expected.

4. Click in the waveform of one of the opened files.

5. Command+B to create a label.

The label is created. It has a white background to show it has the keyboard focus.

EXPECTED BEHAVIOUR: Type the label name. The name appears. That is: keyboard focus is within the label.

OBSERVED BEHAVIOUR: Type the label name. Nothing happens. That is: despite appearances, keyboard focus is not within the label. While the label is in this "focused but not focused" state, the left and right arrows move the play head, the space bar starts and stops playback, and the letter B jumps back and plays a small amount of audio.

WORKING ROUND THE PROBLEM:

Option 1. Backspace. Assuming that you did not select a range within the track before pressing Command+B, an error message comes up: "Disallowed: You can only do this when playing and recording are stopped. (Pausing is not sufficient.)" – or "No Audio Selected: Select the audio for Delete key to use, then try again". Click on OK, and it becomes possible to type into the label.

Option 2. If a range was selected before pressing Command+B, backspacing won't help because it will delete the selection. In that case, use (for example) Effects > Normalize, and when the command window appears, cancel it. I suspect that displaying and dismissing any pop-up window would restore correct focus behaviour.

Option 3. Clicking on a different program (such as Safari) and then returning to Audacity also corrects the situation and gives focus to the label that looks as if it has focus. (I discovered this while composing this message).

NOTES:

This problem is almost 100% reliable. Observing it carefully now, I think that the file that comes up topmost when all the files were opened in step 2 sometimes works correctly, but all the other files do not. So it may in fact be 100% reliable for all the files except that one.

Once the problem has been got round, by whatever means, subsequent insertion and editing of labels is 100% reliable.

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

Re: 2.4.1 label focus problem

Post by steve » Thu May 21, 2020 7:50 pm

Thanks for the clear steps. I can reproduce the issue now.

I've moved this topic to the macOS forum as Audacity 2.4.1 is now the current release version.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

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

Re: 2.4.1 label focus problem

Post by steve » Thu May 21, 2020 8:10 pm

I've logged this issue on the Audacity bug tracker.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Post Reply