Merge lp:~aacid/unity8/simple_message_trigger_activate into lp:unity8

Proposed by Albert Astals Cid
Status: Merged
Approved by: Nick Dedekind
Approved revision: 2281
Merged at revision: 2417
Proposed branch: lp:~aacid/unity8/simple_message_trigger_activate
Merge into: lp:unity8
Diff against target: 28 lines (+2/-5)
2 files modified
qml/Panel/Indicators/MessageMenuItemFactory.qml (+1/-5)
tests/qmltests/Panel/Indicators/tst_MessageMenuItemFactory.qml (+1/-0)
To merge this branch: bzr merge lp:~aacid/unity8/simple_message_trigger_activate
Reviewer Review Type Date Requested Status
Nick Dedekind (community) Approve
Unity8 CI Bot continuous-integration Needs Fixing
Review via email: mp+289625@code.launchpad.net

Commit message

Activate on click for SimpleMessages

Description of the change

 * Are there any related MPs required for this MP to build/function as expected?
No

 * Did you perform an exploratory manual test run of your code change and any related functionality?
Yes

 * Did you make sure that your branch does not contain spurious tags?
Yes

 * If you changed the packaging (debian), did you subscribe the ubuntu-unity team to this MP?
N/A

 * If you changed the UI, has there been a design review?
N/A

To post a comment you must log in.
Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

Spec shows there is no longer an expanded state for notification center list items. They'll need reworking.

review: Needs Fixing
Revision history for this message
Albert Astals Cid (aacid) wrote :

Work in progress until we clarify with UX if they want to remove the "complex" notifications altogether since they seem to be missing from the new spec.

Revision history for this message
Unity8 CI Bot (unity8-ci-bot) wrote :

FAILED: Continuous integration, rev:2281
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/777/
Executed test runs:
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=vivid+overlay,testname=qmluitests.sh/429
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=amd64,release=xenial,testname=qmluitests.sh/429
    FAILURE: https://unity8-jenkins.ubuntu.com/job/test-0-autopkgtest/label=phone-armhf,release=vivid+overlay,testname=autopilot.sh/429/console
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-0-fetch/1018
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=vivid+overlay/1034
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-1-sourcepkg/release=xenial/1034
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/1032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=vivid+overlay/1032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial/1032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=amd64,release=xenial/1032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/1032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=vivid+overlay/1032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial/1032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=armhf,release=xenial/1032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/1032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=vivid+overlay/1032/artifact/output/*zip*/output.zip
    SUCCESS: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial/1032
        deb: https://unity8-jenkins.ubuntu.com/job/build-2-binpkg/arch=i386,release=xenial/1032/artifact/output/*zip*/output.zip

Click here to trigger a rebuild:
https://unity8-jenkins.ubuntu.com/job/lp-unity8-ci/777/rebuild

review: Needs Fixing (continuous-integration)
Revision history for this message
Nick Dedekind (nick-dedekind) wrote :

Ok. Looks fine.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'qml/Panel/Indicators/MessageMenuItemFactory.qml'
2--- qml/Panel/Indicators/MessageMenuItemFactory.qml 2015-10-26 09:59:50 +0000
3+++ qml/Panel/Indicators/MessageMenuItemFactory.qml 2016-03-21 10:53:15 +0000
4@@ -123,11 +123,7 @@
5 menuModel.activate(menuIndex, false);
6 }
7 onTriggered: {
8- if (selected) {
9- menuDeselected();
10- } else {
11- menuSelected();
12- }
13+ menuModel.activate(menuIndex, true);
14 }
15 }
16 }
17
18=== modified file 'tests/qmltests/Panel/Indicators/tst_MessageMenuItemFactory.qml'
19--- tests/qmltests/Panel/Indicators/tst_MessageMenuItemFactory.qml 2015-10-26 09:59:50 +0000
20+++ tests/qmltests/Panel/Indicators/tst_MessageMenuItemFactory.qml 2016-03-21 10:53:15 +0000
21@@ -30,6 +30,7 @@
22 id: factory
23 menuModel: UnityMenuModel {}
24 menuIndex: 0
25+ width: parent.width
26 }
27
28 UT.UnityTestCase {

Subscribers

People subscribed via source and target branches