Merge lp:~ahayzen/music-app/show-toolbar-on-play into lp:music-app/trusty

Proposed by Andrew Hayzen
Status: Merged
Approved by: Victor Thompson
Approved revision: 177
Merged at revision: 176
Proposed branch: lp:~ahayzen/music-app/show-toolbar-on-play
Merge into: lp:music-app/trusty
Diff against target: 41 lines (+6/-0)
2 files modified
MusicStart.qml (+2/-0)
music-app.qml (+4/-0)
To merge this branch: bzr merge lp:~ahayzen/music-app/show-toolbar-on-play
Reviewer Review Type Date Requested Status
Victor Thompson Approve
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Review via email: mp+190809@code.launchpad.net

Commit message

* Show toolbar when a track is clicked

Description of the change

* Show toolbar when a track is clicked

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
Victor Thompson (vthompson) wrote :

Good idea. There are more places we make the now playing view visible. I think we should also popup the toolbar in those cases as well.

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

Such as?

And this branch is just fixing the bug Lisette reported.

Any other places that aren't in the design spec should probably be done in a separate branch as they will need to be discussed with design.

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

The Recently Played and Genres lists need to be fixed so this is consistent.

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

Ah ok, forgot they don't use trackClicked()

177. By Andrew Hayzen

* Fix for selecting Recently Played or Genre

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
Victor Thompson (vthompson) wrote :

Looks good.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'MusicStart.qml'
2--- MusicStart.qml 2013-10-11 02:28:39 +0000
3+++ MusicStart.qml 2013-10-12 19:15:27 +0000
4@@ -131,6 +131,7 @@
5 player.source = Qt.resolvedUrl(file)
6 player.play()
7 nowPlaying.visible = true
8+ musicToolbar.showToolbar()
9 }
10 }
11 }
12@@ -202,6 +203,7 @@
13 player.source = Qt.resolvedUrl(file)
14 player.play()
15 nowPlaying.visible = true
16+ musicToolbar.showToolbar();
17 }
18 }
19 UbuntuShape { // Background so can see text in current state
20
21=== modified file 'music-app.qml'
22--- music-app.qml 2013-10-12 16:46:31 +0000
23+++ music-app.qml 2013-10-12 19:15:27 +0000
24@@ -408,6 +408,8 @@
25 // Show the Now Playing page and make sure the track is visible
26 nowPlaying.visible = true;
27 nowPlaying.ensureVisibleIndex = index;
28+
29+ musicToolbar.showToolbar();
30 }
31
32 return
33@@ -442,6 +444,8 @@
34 // Show the Now Playing page and make sure the track is visible
35 nowPlaying.visible = true;
36 nowPlaying.ensureVisibleIndex = index;
37+
38+ musicToolbar.showToolbar();
39 }
40
41 return file

Subscribers

People subscribed via source and target branches

to status/vote changes: