Rendering issue on track list [SOLVED]

Help for Audacity on GNU/Linux.
Forum rules
ImageThis forum is for Audacity on GNU/Linux.
Please state:
  • which version of Linux you are using,
  • the exact three-section version number of Audacity from Help menu > About Audacity,
  • whether you installed your distribution's release, PPA version, or compiled Audacity from source code.

Audacity 1.2.x and 1.3.x are obsolete and no longer supported. If you still have those versions, please upgrade (see 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.
Locked
toaster_bath00
Posts: 4
Joined: Mon Apr 06, 2020 4:31 am
Operating System: GNU/Linux other

Rendering issue on track list [SOLVED]

Post by toaster_bath00 » Mon Apr 06, 2020 4:54 am

I'm using Archlinux I3 gaps windows manager, Audacity v2.3.3 from Arch community repo.

Everything seems to work but track list is not rendering correctly.
By 'not rendering correctly' I mean, It does not redraw contents when it's supposed to, like when I scale tracks, I drag other window over there, etc.
I attached screen capture for reference.

Log output: https://pastebin.com/feQcnLnz

Thanks for working on this great software, I hope it gets fixed soon 8-)
Attachments
DeepinScreenshot_20200406133344.png
DeepinScreenshot_20200406133344.png (100.54 KiB) Viewed 579 times
DeepinScreenshot_20200406133955.png
DeepinScreenshot_20200406133955.png (87.63 KiB) Viewed 579 times

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

Re: Rendering issue on track list

Post by steve » Mon Apr 06, 2020 9:18 am

Are you using Wayland? If so, then as a test, try logging into an Xorg session.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

toaster_bath00
Posts: 4
Joined: Mon Apr 06, 2020 4:31 am
Operating System: GNU/Linux other

Re: Rendering issue on track list

Post by toaster_bath00 » Tue Apr 07, 2020 1:17 am

No, I'm using Xorg.

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

Re: Rendering issue on track list

Post by steve » Tue Apr 07, 2020 4:13 pm

This looks like it's an incompatibility between WxWidgets and i3 (see issues #539 and #2395 on https://github.com/i3/i3)

Which version of WxWidgets has Audacity been built with? Is it using gtk2 or gtk3?
The minimum required version for Audacity is wx3.0 the recommended version is wx3.1.1 with gtk2.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

toaster_bath00
Posts: 4
Joined: Mon Apr 06, 2020 4:31 am
Operating System: GNU/Linux other

Re: Rendering issue on track list

Post by toaster_bath00 » Wed Apr 08, 2020 5:19 am

I'm using Archlinux prebuilt binary so I can't tell exact version.
But from package dependency list (https://www.archlinux.org/packages/comm ... /audacity/)
It looks like it has been built with wxgtk3 and gtk3. I will try building development version with gtk2.

toaster_bath00
Posts: 4
Joined: Mon Apr 06, 2020 4:31 am
Operating System: GNU/Linux other

Re: Rendering issue on track list

Post by toaster_bath00 » Wed Apr 08, 2020 5:53 am

You are right, I built development version with wxgtk2, and it works fine.
What I did is installing wxgtk2 package and modifying PKGBUILD from AUR (https://aur.archlinux.org/packages/audacity-git/)

Code: Select all

build() {
  cd "$srcdir/$_pkgname"
  WX_CONFIG=wx-config-gtk3 ./configure --prefix=/usr --with-libsamplerate
  make
}
to

Code: Select all

build() {
  cd "$srcdir/$_pkgname"
  WX_CONFIG=wx-config ./configure --prefix=/usr --with-libsamplerate
  make
}
(just in case someone else bumps here for same issue)

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

Re: Rendering issue on track list [SOLVED]

Post by steve » Wed Apr 08, 2020 10:09 am

Thanks for getting back to us with this information.
I'll close this topic as "solved" so that it is easier for others to find.

Update: This issue has also been logged on the Audacity bug tracker.
9/10 questions are answered in the FREQUENTLY ASKED QUESTIONS (FAQ)

Locked