Merge lp:~vthompson/music-app/fixes-1248993 into lp:music-app/trusty

Proposed by Victor Thompson
Status: Rejected
Rejected by: Victor Thompson
Proposed branch: lp:~vthompson/music-app/fixes-1248993
Merge into: lp:music-app/trusty
Diff against target: 15 lines (+1/-4)
1 file modified
MusicNowPlaying.qml (+1/-4)
To merge this branch: bzr merge lp:~vthompson/music-app/fixes-1248993
Reviewer Review Type Date Requested Status
Andrew Hayzen Needs Fixing
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+195306@code.launchpad.net

Commit message

Shift to the proper location when new tracks are added to the queue.

Description of the change

Shift to the proper location when new tracks are added to the queue.

This does potentially expose the bug where sometimes when tracks were added to the queue and the Now Playing screen was shown the previous tab's header would get stuck on the screen showing a white bar at the top of the screen preventing the user from being able to go back. I haven't been able to get this to happen, so I think that issue is OBE.

To post a comment you must log in.
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Andrew Hayzen (ahayzen) wrote :

Still appears to get shifted down by a very small amount, looks similar to the margin on trackContainer (units.gu(0.5)).

But it is better than before :)

review: Needs Fixing

Unmerged revisions

241. By Victor Thompson

Shift to the proper location when new tracks are added to the queue.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'MusicNowPlaying.qml'
2--- MusicNowPlaying.qml 2013-10-29 01:38:10 +0000
3+++ MusicNowPlaying.qml 2013-11-14 20:34:50 +0000
4@@ -80,10 +80,7 @@
5
6 // Then position the view at the current index
7 queuelist.positionViewAtIndex(queuelist.currentIndex, ListView.Beginning);
8- if (queuelist.contentY > 0)
9- {
10- queuelist.contentY -= header.height;
11- }
12+ queuelist.contentY -= header.height;
13
14 queuelist.scrollLock = false;
15 }

Subscribers

People subscribed via source and target branches

to status/vote changes: