Auto scroll to the selection of wave after stopping playback
Posted: Thu Apr 11, 2019 11:45 pm
I discovered a minor bug that appears in recent versions. I didnt see such bug in older versions.
Let's say I have a 1 minute track and I have zoomed into track so that the visible part of the track is less than 1 minute - let's say only 10 second is visible within scrollpane for now. Assume that I have used the selection tool to click at somewhere in middle of track, say at the 3 second mark.
Now when I press spacebar to play from the 3 second mark. The playback line moves to the right and when it reaches beyond the visible part of the wave, the scrollbar scrolls itself to catch up the playback line. Now, after the wave scrollpane has scrolled, let's say I press spacebar to stop the playback. Up until this point, there is no problem.
If I now press spacebar to start playing again from the selection(3 second mark), the scrollbar SHOULD rewind itself so that the selection is exactly on the leftmost of the visible part before it starts to play. This is how the older versions behave.
But now with the newer versions, I see that when I press spacebar to start playing again from the selection(3 second mark), the scrollbar scrolls itself to an odd place. In a fraction of a second, the scrollbar shows where the selection is. After that fraction of second, the scrollbar already jumped to the next viewing position to catch up the playback line.
This annoying scrollbar jump is basically avoidable if the scrollbar has initially moved to the right place and shows the selection aligning to the leftmost of view.
Let's say I have a 1 minute track and I have zoomed into track so that the visible part of the track is less than 1 minute - let's say only 10 second is visible within scrollpane for now. Assume that I have used the selection tool to click at somewhere in middle of track, say at the 3 second mark.
Now when I press spacebar to play from the 3 second mark. The playback line moves to the right and when it reaches beyond the visible part of the wave, the scrollbar scrolls itself to catch up the playback line. Now, after the wave scrollpane has scrolled, let's say I press spacebar to stop the playback. Up until this point, there is no problem.
If I now press spacebar to start playing again from the selection(3 second mark), the scrollbar SHOULD rewind itself so that the selection is exactly on the leftmost of the visible part before it starts to play. This is how the older versions behave.
But now with the newer versions, I see that when I press spacebar to start playing again from the selection(3 second mark), the scrollbar scrolls itself to an odd place. In a fraction of a second, the scrollbar shows where the selection is. After that fraction of second, the scrollbar already jumped to the next viewing position to catch up the playback line.
This annoying scrollbar jump is basically avoidable if the scrollbar has initially moved to the right place and shows the selection aligning to the leftmost of view.