Merge lp:~nskaggs/music-app/prevent-incorrect-no-music-screen into lp:music-app/trusty

Proposed by Nicholas Skaggs
Status: Merged
Approved by: Nicholas Skaggs
Approved revision: 559
Merged at revision: 559
Proposed branch: lp:~nskaggs/music-app/prevent-incorrect-no-music-screen
Merge into: lp:music-app/trusty
Diff against target: 23 lines (+3/-1)
1 file modified
music-app.qml (+3/-1)
To merge this branch: bzr merge lp:~nskaggs/music-app/prevent-incorrect-no-music-screen
Reviewer Review Type Date Requested Status
Ubuntu Phone Apps Jenkins Bot continuous-integration Approve
Nicholas Skaggs (community) Approve
Andrew Hayzen Pending
Victor Thompson Pending
Review via email: mp+229944@code.launchpad.net

This proposal supersedes a proposal from 2014-07-31.

Commit message

Wait until model is populated before deciding there is no music. There was a new prototype to the Songs model added that provides a "filled" signal that we should listen to in order to determine the model is full.

Description of the change

Wait until model is populated before deciding there is no music. There was a new prototype to the Songs model added that provides a "filled" signal that we should listen to in order to determine the model is full.

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

Looks good so far, just wonder if onFilled would be better if it works? See inline diff comments.

review: Needs Information
Revision history for this message
Victor Thompson (vthompson) wrote : Posted in a previous version of this proposal

That should work and is more readable. I'll fix this tonight.

review: Needs Fixing
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) wrote : Posted in a previous version of this proposal
review: Needs Fixing (continuous-integration)
Revision history for this message
Victor Thompson (vthompson) : Posted in a previous version of this proposal
review: Abstain
Revision history for this message
Andrew Hayzen (ahayzen) wrote : Posted in a previous version of this proposal

LGTM

review: Approve
Revision history for this message
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) : Posted in a previous version of this proposal
review: Approve (continuous-integration)
Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

I'm unsure why we are seeing,

bzrlib.errors.UnknownErrorFromSmartServer: Server sent an unexpected error: ('error', 'GhostRevisionsHaveNoRevno', 'Could not determine revno for {<email address hidden>} because its ancestry shows a ghost at {<email address hidden>}')

so I recreated the branch and MP with hopefully a clean history this time.

Revision history for this message
Nicholas Skaggs (nskaggs) wrote :

Top approving based on previous top approval.

review: Approve
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
Ubuntu Phone Apps Jenkins Bot (ubuntu-phone-apps-jenkins-bot) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'music-app.qml'
--- music-app.qml 2014-08-07 01:56:33 +0000
+++ music-app.qml 2014-08-07 14:25:56 +0000
@@ -498,8 +498,10 @@
498 }498 }
499499
500 SongsModel {500 SongsModel {
501 property bool populated: false
501 id: allSongsModel502 id: allSongsModel
502 store: musicStore503 store: musicStore
504 onFilled: populated = true
503 }505 }
504506
505 SongsModel {507 SongsModel {
@@ -909,7 +911,7 @@
909 title: i18n.tr("Music")911 title: i18n.tr("Music")
910 visible: false912 visible: false
911913
912 property bool noMusic: allSongsModel.rowCount === 0 && loadedUI914 property bool noMusic: allSongsModel.rowCount === 0 && allSongsModel.populated && loadedUI
913915
914 onNoMusicChanged: {916 onNoMusicChanged: {
915 if (noMusic)917 if (noMusic)

Subscribers

People subscribed via source and target branches

to status/vote changes: