ScratchTools icon indicating copy to clipboard operation
ScratchTools copied to clipboard

Pause audio causes a lot of bugs

Open GarboMuffin opened this issue 3 years ago • 0 comments

Describe the bug

https://user-images.githubusercontent.com/33787854/210686956-c6944aab-670e-4639-a028-1dbaf2a16eae.mp4

Some bugs, roughly in order of the video:

  • If you pause, a selection range is created that goes beyond the edge of the sound editor
  • New selections made while paused are ignored. If the selection entirely precedes the paused time, the play button does nothing at all. If there is a partial overlap, pressing the play button cuts the selection.
  • After pressing the cancel button in this state, even after the sound ends, the editor still thinks that the sound is running (see the play button)
  • If you pause right at the end, it's possible for the entire page to be given a horizontal scroll bar because the selection it creates is way too big
  • The play button started acting really weird at the end in ways that are hard to put words to

Browser Chromium on Linux

Note: I unsubscribed from this issue, so if you want a reply, make sure to @ me

GarboMuffin avatar Jan 05 '23 02:01 GarboMuffin