void-linux / void-linux/void-packages

Audacity 2.4.1_3 (maybe via wxWidgets-gtk3 and / or wxWidgets-common) stealing focus

Open
#46,442 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs-testing
Dominant language
Shell
Stars
3.4k
Forks
2.8k
Avg merge
2d 5h
Merged PRs (30d)
299

Description

Is this a new report?

Yes

System Info

Void 6.3.13_2 x86_64 GenuineIntel uptodate hold rrmDDFFFFFFFFF

Package(s) Affected

audacity-2.4.1_3.x86_64

Does a report exist for this bug with the project's home (upstream) and/or another distro?

I haven't found any in a quick web search.

Expected behaviour

When minimizing the window or just pulling another window to the front, audacity shouldn't push itself to the front after finishing some action but stay in the background / minimized.

Actual behaviour

With audacity-2.4.1_3 as opposed to audacity-2.4.1_2 the program is stealing the focus of whatever other window is in the forefront - or restoring the program window if it was minimized - whenever audacity is finished doing some task (saving a file, changing the volume etc.).
This is highly annoying behavior when working on some other program.

Downgrading audacity to 2.4.1_2 (and the dependencies it depends on: wxWidgets-gtk3 and wxWidgets-common) "solves" this issue.

Maybe the culprit is wxWidgets, but I don't know how to test that as the two revisions of audacity depend on a different version of wxWidgets, so I can't mix and match - unless maybe compiling them against the different wxWidgets packages (in my case I have 3.0.5.1_6 and 3.2.2.1_.1).

Steps to reproduce
  1. Open audacity
  2. Open some large audio file so it takes audacity some time to open the file. Alternatively, let audacity do any task on the opened audio file that takes a while to perform.
  3. While audacity is opening the file, minimize the program window or pull another program window to the front.
  4. Notice audacity stealing the focus of whatever other program you were pulling to the front while audacity was performing the task. Alternatively, if the audacity window was minimized, notice the window being restored when the task is completed.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the focus-stealing behavior with Audacity 2.4.1_3 and compare it with 2.4.1_2, including their wxWidgets-gtk3 and wxWidgets-common versions. Narrow down whether the regression is in Audacity or wxWidgets; done means long-running tasks no longer restore or foreground Audacity after another window is selected.

Written by the indexing model from the issue text.

Assessment

Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.