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

Audacity Bugzilla



Bug 83 - Selection bugs when zoomed in
Selection bugs when zoomed in
Status: RESOLVED FIXED
Product: Audacity
Classification: Unclassified
Component: Application Core
1.3.11
Per OS All
: P4 Repeatable
Assigned To: Default Assignee for New Bugs
http://audacity.238276.n2.nabble.com/...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-28 15:20 UTC by James Crook
Modified: 2018-08-20 11:45 UTC (History)
2 users (show)

See Also:
Steps To Reproduce:
1. zoom in to samples. 2. Select 4 samples. 3. Cut Different samples to the samples shown as selected are removed.
Release Note:
First Git SHA:
Group: ---
Workaround:
Closed: 2018-08-20 00:00:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Crook 2010-01-28 15:20:51 UTC
*  GA: may also be (partly) responsible for unpredictable behaviour dragging clips - see URL
Comment 1 Steve Daulton 2013-02-28 10:02:42 UTC
Updated Nabble ling from:
http://n2.nabble.com/Selection-bug-td2668675.html
To:
http://audacity.238276.n2.nabble.com/Selection-bug-td2668675.html

David Bailes wrote:
> 1. a sample is visually shown as selected in the track if it's
> included in the selected time range. I think this is correct.
> 2. a sample is included in the selection which is actually deleted etc
> if the time half a sample spacing after the sample is included in the
> selected time range.


It looks like this bug is fixed.

There may still appear to be a mismatch between the selection on the time line and the actual samples selected (depending on how you look at it), but the "on track" selection is consistently showing precisely which samples are selected.

An *apparent* mismatch is inevitable as there has to be a point in time that marks the end of one sample period and the start of the next. The point in time that is being used is the mid point between samples. 

Testing on Linux, Audacity seems to be consistently selecting from "after a mid-point" to "after a mid-point", which seems as good a method as any.
In other words, the bug is fixed if either case 1 or case 2 (as described by DB) is true, but not both. As far as I can see, Audacity currently adherers to case 2.

Unless anyone disagrees I think bug 83 can be "closed resolved".
Comment 2 James Crook 2017-08-04 11:54:04 UTC
Per comment #1 RESOLVED FIXED

The precise behaviour is that the range shown on screen includes the first sample and does not include the last.  One can argue that it would be more logical to show a selection between samples, i.e. offset the selection by 1/2 sample left.  I regard that as an enhancement request.  The actual bug is gone.

The Nabble discussion cited in comment 1 has additional points.  However they were not in the steps to reproduce, so they don't belong in this bug.