2.4.1 - Device Toolbar dropdown resizing issue

Hi,

I noticed an issue with the Device Toolbar dropdown boxes and resizing.

You can resize the boxes by dragging the right-edge of the last box. All good, no problems there.

On restarting Audacity, the underlying sizer remains at the adjusted size but the dropdown boxes aren’t adjusted to fit within it. You can see the outline of the sizing widget beyond the last dropdown box.

UPDATE: Clicking on the resizing bar, and moving it slightly, makes the dropdown boxes adjust to their new size. Just a missed initial redraw I suspect.

ATB,
Neil

Hi Neil,

we’ll be updating wxWidgets for the next 2.4.2 release anyway - so we’ll need a lot of checking if the toolbars anyway.

I’ll try to remember to keep a special eye out for this.

Peter.

Hi Peter,

To be honest, I feel I should have done some testing of the Alpha. I have magic fingers where testing of software is concerned and I tend to find things with little effort.

ATB,
Neil

And I can’t reproduce this on 2.4.1 on my Macbook Pro under 10.15.4 Catalina.

If you could post screenshots that could be helpful.

Peter.

Hi Peter.

For reference, the .debs from the ubuntuhandbook1 PPA are:

audacity-2.4.1-0build2~ubuntu18.04
audacity-data-2.4.1-0build2~ubuntu18.04
  1. Initial state of Device Toolbar with fresh .audacity-data folder:

  1. Device Toolbar resized to show content properly in dropdown boxes:

  1. Audacity restarted, sizer visible to right of shrunken dropdown boxes:

  1. Click and move sizer widget and dropdown boxes adjust their size:

I hope this helps.

ATB,
Neil

Hi Neil,

thanks for the screenshots - useful

I knew about no. 3 - but not no. 1

But I am not a Linuxer - I’m mainly a Windows bid with part-time Mac (and it’s different on both those)

But I will be keeping an eye on all this as we upgrade wxWidgets to 313

Peter.

Which version of wxWidgets does the ubuntuhandbook1 PPA use?
(look in “Help menu > About Audacity” in the “Build Information” tab, and scroll down to the “Core Libraries” section)

Hi Steve,

For my Linux Mint 19.3 (a derivative of Ubuntu 18.04 - Bionic) it’s wxwidgets-3.0.4. Specifically, it uses the packages from the distribution:

libwxbase3.0-0v5
libwxgtk3.0-gtk3-0v5

ATB,
Neil

gtk3 is not yet fully supported by Audacity. Currently the Audacity developers are using wx3.1 with gtk2.
I regularly test Audacity built with wx3.0 and gtk2 (both are available from the Ubuntu 18.04 repository) and that combination works.
I’ve also briefly tested with wx3.0 and gtk3. It basically worked for me, though I observed some cosmetic issues.

Audacity will soon be upgrading to wx3.1.3, and gtk3 support is likely to be soon.

It’s a difficult situation for both developers and package maintainers when there are multiple versions of libraries that are not fully compatible with each other. The Audacity documentation currently recommends using wx3.1.0 and gtk2, but package maintainers may choose to ignore that recommendation.

Update: It looks like both of those upgrades will be “very soon”.

Hi Steve,

Third-party packagers will likely try to use the wxWidgets version provided by the distribution for native packages. If Audacity gets ahead of the diatribution versions then Snaps (Ubuntu) and Flatpaks (Linux Mint) will become more popular as wxWidgets will be bundled and can follow the Audacity developers’ recommendations. I know you can install multiple versions of wxWidgets but it can get messy.

ATB,
Neil