Import file dialog unresponsive in 2.4.1

Hi forum,

First time poster, long time user of audacity here!

Since the upgrade to 2.4.1 on Arch Linux / sway window manager the import file dialog has become very sluggish and unresponsive. Occasionally it takes more than a minute from I click Import until I can click on files. The file dialog opens up, but it takes a long time before it populates with files. In the meantime I can click around as much as I want, but with zero effect. Downgrading to 2.4.0 seems to solve the issue. Please let me know what I can do to track down the cause of the issue! I installed it from the community repo.

We have heard of multiple problems in recent Audacity builds, causing a variety of problems.
The main issues are:

  • Building with the wrong version of wxWidgets (Should be wx3.1)
  • Building with the wrong version of GTK (should be GTK2)
  • Building with automake (should build with cmake)
  • Running in a Wayland session (Audacity does not yet support Wayland - log into an Xorg session instead).

We are trying to address our side of this by improving our documentation, and using more checks during building to ensure that the build environment is correct. The current development code makes it difficult to get the first three issues wrong, so hopefully good builds of the next Audacity release will be available in due course.

For now, if Audacity 2.4.0 is working for you, I’d suggest that you use that version until Audacity 3.0.0 is available.

Thanks for the quick answer! Good to know that audacity is not (yet) friendly with wayland.

FYI, If I do try to run it in sway with

GDK_BACKEND=X11 audacity

I get this:

18:26:14: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1013,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8).
18:26:14: Error: Unable to initialize GTK+, is DISPLAY set properly?

Will stick with the downgraded version for now and look forward to 3.0! A bit of gui love wouldn’t hurt. Most of my dropdown menus are entirely out of whack with the rest of the theme :wink:

WxWidgets uses the operating systems “widgets” whenever possible, which means that some parts of the interface take their visual appearance from the Desktop theme rather than the Audacity theme. Because of this, a dark Audacity theme combined with a light Desktop theme can look weird. For best visual appearance, the Audacity theme should be selected that works best with your Desktop theme (or vice versa).

Example: Audacity (2.4.2) dark theme with Ubuntu “Ambiant-MATE-Dark” theme: