Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 2622 - Track name overlay is opaque
Track name overlay is opaque
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: User Interface
2.4.0
All All
: P3 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2021-01-06 08:38 UTC by Steve Daulton
Modified: 2021-01-12 07:04 UTC (History)
3 users (show)

See Also:
Steps To Reproduce:
1. Enable "Show audio track name as overlay" in preferences. 2. Observe that the overlay is not translucent.
Release Note:
Track name overlay is opaque.
First Git SHA:
Group: ---
Workaround:
Closed: 2021-01-12 00:00:00
james.k.crook: Must‑Test‑All‑OS-
stevethefiddle: Regression+
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Daulton 2021-01-06 08:38:28 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.
Comment 1 Peter Sampson 2021-01-06 09:06:37 UTC
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
Comment 2 Peter Sampson 2021-01-06 09:12:13 UTC
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.
Comment 3 Steve Daulton 2021-01-06 09:17:16 UTC
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
Comment 4 Peter Sampson 2021-01-06 09:23:01 UTC
(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.
Comment 5 James Crook 2021-01-06 09:30:01 UTC
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.
Comment 6 James Crook 2021-01-06 11:02:00 UTC
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.
Comment 7 Peter Sampson 2021-01-12 06:58:53 UTC
(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
Comment 8 Peter Sampson 2021-01-12 07:04:02 UTC
(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