Merge lp:~mzanetti/unity8/keep-appImage-aspect-ratio into lp:~unity-team/unity8/new-scopes

Proposed by Michael Zanetti
Status: Merged
Merged at revision: 690
Proposed branch: lp:~mzanetti/unity8/keep-appImage-aspect-ratio
Merge into: lp:~unity-team/unity8/new-scopes
Diff against target: 27 lines (+3/-5)
1 file modified
qml/Dash/Apps/RunningApplicationTile.qml (+3/-5)
To merge this branch: bzr merge lp:~mzanetti/unity8/keep-appImage-aspect-ratio
Reviewer Review Type Date Requested Status
PS Jenkins bot continuous-integration Pending
Unity Team Pending
Review via email: mp+207714@code.launchpad.net

This proposal supersedes a proposal from 2014-02-21.

Description of the change

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

https://code.launchpad.net/~mzanetti/unity-mir/expose-appimage-sourceSize/+merge/207626

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

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?

Yeah, I did.. But no, no design review. Seems quite obvious that this is wanted by design. In any case, we want it for MWC and afterwards this code will be dropped again in favor of the right edge rework.

To post a comment you must log in.
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote : Posted in a previous version of this proposal

FAILED: Continuous integration, rev:730
http://jenkins.qa.ubuntu.com/job/unity8-ci/2374/
Executed test runs:
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty/3390
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-trusty-touch/3044
    UNSTABLE: http://jenkins.qa.ubuntu.com/job/unity-phablet-qmluitests-trusty/1244
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-amd64-ci/895
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/899
        deb: http://jenkins.qa.ubuntu.com/job/unity8-trusty-armhf-ci/899/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/unity8-trusty-i386-ci/895
    SUCCESS: http://jenkins.qa.ubuntu.com/job/autopilot-testrunner-otto-trusty/2986
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3392
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-amd64/3392/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3046
        deb: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-builder-trusty-armhf/3046/artifact/work/output/*zip*/output.zip
    SUCCESS: http://jenkins.qa.ubuntu.com/job/generic-mediumtests-runner-mako/5441
    SUCCESS: http://s-jenkins.ubuntu-ci:8080/job/touch-flash-device/4176

Click here to trigger a rebuild:
http://s-jenkins.ubuntu-ci:8080/job/unity8-ci/2374/rebuild

review: Needs Fixing (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'qml/Dash/Apps/RunningApplicationTile.qml'
--- qml/Dash/Apps/RunningApplicationTile.qml 2014-02-18 18:09:43 +0000
+++ qml/Dash/Apps/RunningApplicationTile.qml 2014-02-21 17:26:50 +0000
@@ -63,11 +63,9 @@
63 horizontalCenter: parent.horizontalCenter63 horizontalCenter: parent.horizontalCenter
64 }64 }
6565
66 // FIXME: width and height should be defined according to the
67 // application window's aspect ratio.
68 width: (application.stage === ApplicationInfo.MainStage && __sideStageEnabled) ?
69 units.gu(22) : units.gu(11)
70 height: (__sideStageEnabled) ? units.gu(22) : units.gu(19)66 height: (__sideStageEnabled) ? units.gu(22) : units.gu(19)
67 width: applicationImage.width
68
71 radius: "medium"69 radius: "medium"
72 image: applicationImage70 image: applicationImage
73 }71 }
@@ -75,8 +73,8 @@
75 ApplicationImage {73 ApplicationImage {
76 id: applicationImage74 id: applicationImage
77 source: ApplicationManager.findApplication((application) ? application.appId : "")75 source: ApplicationManager.findApplication((application) ? application.appId : "")
78 width: shapedApplicationImage.width
79 height: shapedApplicationImage.height76 height: shapedApplicationImage.height
77 width: Math.min(height, height * sourceSize.width / sourceSize.height)
80 }78 }
8179
82 UbuntuShape {80 UbuntuShape {

Subscribers

People subscribed via source and target branches

to all changes: