Bugzilla – Bug 1697
Modifying selection with Snap-To is wrong
Last modified: 2018-08-20 11:45:50 UTC
I anticipate a fix for this, which I broke, very soon. I make a formal bug report so that QA is sure to exercise the fix.
I elevated this to P1 - we *cannot* release like this, destroying people's carefully made selections. I confirm that it happens on both W10 and macOS Sierra 10.12.5
Peter please equip your Mac to play MIDI. Download SimpleSynth and run it in background: http://notahat.com/simplesynth/ And follow instructions such as here http://donyaquick.com/working-with-midi-on-mac-os-x/ to set up an IAC driver and make SimpleSynth listen to it. MIDI play then actually works by an inter-process communication between Audacity and SimpleSynth. The latter really generates the sound samples. Audacity only emits Midi events like note turn-ons and offs.
(In reply to Paul L from comment #2) Excuse me - but what does this comment have to do with this bug precisely ?
And please explain, Paul, why you reverted my QA elevation of this bug from P1 back to P2.
(In reply to Peter Sampson from comment #4) Sorry, I thought I was elevating it from P4 to P2. Perhaps our updates crossed. P1 it is.
Oh heck, that comment was pertinent to 1691, not this one. I am having a bad morning.
Fixed at https://github.com/audacity/audacity/commit/59dab5222b7923e90151be65887dd581f9552ddb
(In reply to Paul L from comment #7) Testing on W10 audacity-win-ra45f3bb-2.2.0-alpha-22-jul-17 and on macOS Sierra 10.12.5 Cliff's 21Jul17 build Now looking good on both platforms. Tested shrinking and expanding scconds-snapping existing selections. All worked as expected.
RESOLVED QUICKFIXED Works fine for me with both prior and nearest. Also checked that ESC works and restores selection to before the drag. Also reviewed code changes at comment #7.