After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 709465 - Music progress slider (scale widget) bounces around before zeroing when next song is played
Music progress slider (scale widget) bounces around before zeroing when next ...
Status: RESOLVED FIXED
Product: gnome-music
Classification: Applications
Component: general
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-music-maint
gnome-music-maint
Depends on:
Blocks:
 
 
Reported: 2013-10-05 11:10 UTC by Ryan Lerch
Modified: 2013-10-14 11:20 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screencast showing the slider moving around when changing songs (187.27 KB, video/ogg)
2013-10-05 11:11 UTC, Ryan Lerch
  Details
proposed patch to reset the progressScale to 0 when a song is loaded (472 bytes, patch)
2013-10-05 11:13 UTC, Ryan Lerch
none Details | Review

Description Ryan Lerch 2013-10-05 11:10:34 UTC
while similar, but different to #709386, this bug presents when changing songs either by pressing the "Next" button, or letting the next song in the queue play naturally.

When the next song is played, the progress slider (scale widget) typically bounces either forwards or backwards on the scale before zeroing out, and playing the next song. (see attached screencast for a demo of the behaviour)

From what i can gather, this is occurring because the scale of the scale is being set to the next song to be played, while the value presented is still the point in the previously playing song.

The attached patch proposes that the value of the progressScale be reset to zero as soon as any song is loaded. This should catch both cases of clicking next and letting the next song play from the queue.
Comment 1 Ryan Lerch 2013-10-05 11:11:39 UTC
Created attachment 256537 [details]
screencast showing the slider moving around when changing songs
Comment 2 Ryan Lerch 2013-10-05 11:13:52 UTC
Created attachment 256538 [details] [review]
proposed patch to reset the progressScale to 0 when a song is loaded
Comment 3 Vadim Rutkovsky 2013-10-14 11:20:57 UTC
Thanks for the patch!

Committed as da3cca5 to gnome-3-10 (3.10.1)
Committed as 795744f to master (3.11)