Swipe left and right to go to the previous or next track should animate/slide and allow for the gesture to be cancelled

Bug #1482545 reported by Kugi Eusebio
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu Music App
In Progress
Medium
Andrew Hayzen

Bug Description

I think the feature to swipe left or right to go the the previous or next track has been there since the early days of the development.
However, it is prone to accident swipe especially when switching app. Aside from that in the same page, the previous and next buttons already exists so it is just a duplicate not really a shortcut or easier way to navigate songs.

Related branches

Revision history for this message
Jim Hodapp (jhodapp) wrote :

Even though I think it's a pretty cool feature, I actually agree with this for exactly the reason you said. It's very easy to accidentally go to the next song when using the right edge gesture.

Revision history for this message
Victor Thompson (vthompson) wrote :

I would be opposed to removing the feature from the app.

One option is to make it so that the action can not be triggered within, say 10GU of either edge of the screen. There are other actions, however, like the list item actions that are prone to the same user error--so I'm not convinced that this is the solution.

Eventually, I'd like to see an animation while the gesture is underway--I think this might help a little bit as well.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

My plan for this with the new mediahub API (as you can easily tell what the next and previous tracks are). Is to have the previous, current and next covers in a horizontal slideable listview. This would mean as you slide one way the cover of the next track would be shown. Also as it would use the listviews dragging and locking it would require you to drag the item probably about 50% across to confirm the action, I have some early prototypes somewhere on my laptop...

I feel this would cover all of the raise points and bring us inline with what other apps do.

Andrew Hayzen (ahayzen)
Changed in music-app:
status: New → Triaged
importance: Undecided → Medium
summary: - Swipe left and right to go to the previous or next track is unnecessary
+ Swipe left and right to go to the previous or next track should
+ animate/slide and allow for the gesture to be cancelled
Revision history for this message
Jim Hodapp (jhodapp) wrote :

Any progress on this fix? This would be a nice to have and I am intrigued by your concept Andrew.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

So I've created a first prototype, which is where the next/previous track is 'pulled' in from the sides as an overlay and the current track remains static. In the video of prototype attached, you can see the current track as the blue portion (with the current index) and then the previous trigger as the red portion and the next trigger as the green portion (each colour would infact be the album art).

My other idea is to have the | previous | current | next | all on a 'slider' so instead of 'pulling' in the next track, you will slide the next track away and the next one will slide in. (I'm going to attempt to build this next).

Changed in music-app:
assignee: nobody → Andrew Hayzen (ahayzen)
status: Triaged → In Progress
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

And I've created the sliding prototype, note that the colours cycle for each index to make the transitions more obvious. The difference to the 'pull' prototype is the the whole 'view' slides across rather than the new track being 'pulled' in like an overlay.

Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Managed to improve the animations in the slide prototype :-)

Revision history for this message
Daniel McGuire (danielmcguire) wrote :

I honestly think that anything that scrolls through horizontally should use the scrolling method you’ve demonstrated. I think the gallery app could use it too.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.