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

Audacity Bugzilla



Bug 2389 - At some zoom levels the light-blue/white selection visual cue disappears
At some zoom levels the light-blue/white selection visual cue disappears
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: User Interface
2.4.0
Per OS All
: P2 RepeatableAll
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2020-04-12 08:20 UTC by Peter Sampson
Modified: 2020-04-22 04:46 UTC (History)
7 users (show)

See Also:
Steps To Reproduce:
1) generate Chirp 30 secs 2) select from 10-13 secs 3) Zoom out six times 4) Observe residual selection white/light-blue line 1 px wide 5) Zoom out once more 6) Observe no white/light-blue line to indicate the presence of a selection Your zoom levels may vary slightly to exhibit this
Release Note:
Group: User Interface At some zoom levels the light-blue/white selection visual cue disappears - this means that you can have a selection present with no indication in the waveform that there is such a selection.
First Git SHA:
Group: ---
Workaround:
Close observation of the Selection toolbar.
Closed: 2020-04-21 00:00:00
james.k.crook: Must‑Test‑All‑OS-
petersampsonaudacity: Test‑OK‑Win+
petersampsonaudacity: Test‑OK‑Mac+


Attachments
Short selection in Multi-view (223.88 KB, image/png)
2020-04-21 10:35 UTC, Peter Sampson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Sampson 2020-04-12 08:20:19 UTC
At some zoom levels the light-blue/white selection visual cue disappears - this means that the user can have a selection present with no indication in the waveform that there is such a selection.

The only visual cue is in the Selection toolbar but that's very easy note to notice.

Whatever the zoomed out level that should always remain a residual 1px or 2px light-blue/white line in the waveform.

Note that in Spectrogram view it would be a black line.
Comment 1 James Crook 2020-04-20 13:00:05 UTC
Please add a release note, or demote to P4.  This bug (actually it's a valuable enhancement request) is not going to be fixed for 2.4.0
Comment 2 James Crook 2020-04-21 09:02:13 UTC
I relented.

DEVEL - FIX MADE
https://github.com/audacity/audacity/commit/9ad06aeeb16b8d2f96f805433cf34a2a8197c488
Comment 3 Peter Sampson 2020-04-21 09:27:48 UTC
(In reply to James Crook from comment #2)
Tested on W10 and macOS 10.15.4 with Audacity 2.4.0 9ad06ae

This looks good on both platforms/

1) imported a 5 minute song
2) zoomed in to sample level
3) select a single sample
4) Zoom to fit
5) Observe selection thin white line shows
Comment 4 Peter Sampson 2020-04-21 09:33:51 UTC
restoring this to its original P2 status so it gets more prominence in Release Notes and What's New...
Comment 5 Peter Sampson 2020-04-21 09:49:12 UTC
There is a residual case where the white line becomes invisible still with a selection at the right hand border of a track

1) get a 3 minute song
2) zoom normal
3) select a second or so at the far end 3 mins
4) zoom to fit
5) Observe: thin white line still shows (and carefully observe thin black line end of track marker beside it).
6) Zoom out 2 or 3 times (YMMV) 
7) Observe: the thin white selection line disappears

My suspicion is that at these zoom levels the white line is hiding under the thin black line end of track marker.

8) Zoom in a few times and watch the white selection line reappear

This does not happen with a short selection at the beginning of the track - even if the track does not start at T=0

Are we bothered about this fringe case ?
Comment 6 James Crook 2020-04-21 09:58:20 UTC
Fringe case is rare enough we don't need to log it.
It is possible there are other cases like yellow snap markers etc.
The main problem is solved.

With sync-lock even quite long clock-sections may not be visible, but that is a different issue.  Just noting it, should we ever wish to revisit and prioritise the different kind of markings when things overlap.
Comment 7 Peter Sampson 2020-04-21 10:30:40 UTC
There is a further residual in that the thin residual selection line does not show in Spectrogam view (or the Spectrogram in Multi-view)

More of an issue as we now have Multi-view as a key new feature for 2.4.0.


Tested on all four themes and this is true with all of them - the line shows in waveform but not in spectrogram.
Comment 8 Peter Sampson 2020-04-21 10:35:02 UTC
Created attachment 963 [details]
Short selection in Multi-view

Here we see the white line for the short selection present in the waveform but not in the spectrogram.

In contrast if we make a longer selection (or if we zoom in) it will show in both the waveform and the spectrogram.
Comment 9 Peter Sampson 2020-04-22 04:46:11 UTC
(In reply to Peter Sampson from comment #8)
Testing on W10 and macOS 10.15.4 with eb92fc0

This residual has now been fixed with commit
https://github.com/audacity/audacity/commit/20ba353038edbd49a510dcdb72e0a88257eec79b

The line for the short selection is now present in the spectrogram (and multi-view) black of course rather than white plus a thin sliver of the actual spectral selection.