Bugzilla – Bug 2622
Track name overlay is opaque
Last modified: 2021-01-12 07:04:18 UTC
This is a regression against Audacity 2.3.3. Reported on Windows, confirmed on Linux. Assumed "all". When "Show audio track name as overlay" is enabled, the overlay is opaque (rather than translucent), thus obscuring content in the track.
IIRC this was a deliberate change made by James to make the track name more legible in certain cases. As such it is new intended behavior rather than a regression
And AFAICT the change came after 2.2.2 where there an earlier we just had the displayed track name on the track as yellow test on on waveform with no box or border. Personally I much prefer it the way it is now - certainly much better on Spectrogramn views.
I've checked Audacity 2.3.2 and I'm definitely seeing translucent name overlay, as shown in the manual: https://manual.audacityteam.org/man/tracks_preferences.html#Display
(In reply to Steve Daulton from comment #3) Yes on rechecking you are right that from 2.2.3 through 2.3.2 we had transparency of the trackname. It changed in 2.4.0 to opaque - but as I said earlier my recollection is that that was a deliberate choice by the developer, James.
Confirming it's a bug and regression. The shield is supposed to be translucent when the track is normal height and go opaque as you reduce the height of the track to minimum. It's now opaque all the time. I think that's because of a change in wxWidgets, but I'd have to check whether that was the cause or whether it's some other cause. I think we did notice it before, close to a release, and decided to just let it through, but let's record it as a bug now.
DEVEL - FIX MADE https://github.com/audacity/audacity/commit/44b191ff426e57e98219fb70bef6a127245dacfd It wasn't a change in wxWidgets. It was a change in the size of rectangle passed into the draw function. Previously the rectangle passed in was for the whole track, and now it's for just the label. The code was therefore thinking that the track was at reduced height, and therefore using full opacity. Fixed now.
(In reply to James Crook from comment #6) Testing on W10 with Audacity 3.0.0 c13407d This looks to be fixed on Windows/ The label shield is now transparent when running over waveforms or spectrograms
(In reply to James Crook from comment #6) Testing on macOS 11.1 Big Sur with Audacity 3.0.0 c13407d This looks to be fixed on Mac as well The label shield is now transparent when running over waveforms or spectrograms