Merge lp://qastaging/~gerboland/unity-2d/launcher-tweaks into lp://qastaging/unity-2d

Proposed by Gerry Boland
Status: Merged
Approved by: Albert Astals Cid
Approved revision: 932
Merged at revision: 936
Proposed branch: lp://qastaging/~gerboland/unity-2d/launcher-tweaks
Merge into: lp://qastaging/unity-2d
Diff against target: 73 lines (+18/-2)
2 files modified
shell/launcher/Launcher.qml (+17/-1)
shell/launcher/LauncherList.qml (+1/-1)
To merge this branch: bzr merge lp://qastaging/~gerboland/unity-2d/launcher-tweaks
Reviewer Review Type Date Requested Status
Albert Astals Cid (community) Approve
Xi Zhu (community) design Approve
Michał Sawicz Needs Information
Andrea Cimitan Pending
Lohith D Shivamurthy Pending
Review via email: mp+93798@code.qastaging.launchpad.net

Description of the change

[launcher] Pixel-perfection changes: add glow-less assets, position tiles 6 pixels from screen edge, add white 15% opaque line as launcher border, and move activity pip to border this line. Context menu arrow overlaps activity pip.

To post a comment you must log in.
Revision history for this message
Michał Sawicz (saviq) wrote :

Shouldn't we have a before / after screenshots here for design to sign off on?

review: Needs Information
Revision history for this message
Gerry Boland (gerboland) wrote :

Indeed I should have:
before: https://imgur.com/2OPel
after: https://imgur.com/wDIB0

Revision history for this message
Gerry Boland (gerboland) wrote :

And for the context menu:
before: https://imgur.com/a/ZZJQV
after: https://imgur.com/ga4az

Revision history for this message
Xi Zhu (xi.zhu) :
review: Approve (design)
929. By Gerry Boland

Merge trunk

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

In
 anchors.rightMargin: declarativeView.dashActive ? 0 : 1
should that 1 be border.width?

I find it confusing to have one Item Accessible.name: "borderWithDash" and id: border and then a different Item with Accessible.name: "border" and no id, woulnd't it be better to name the second one "borderWithoutDash" and not change the first one?

In the second "border" i think it'd be better if you bind all the other properties to the "first" border, so if something changes we just need to change one, i.e.

anchors.right: border.anchors.right
anchors.left: border.anchors.left
visible: !border.visible

930. By Gerry Boland

Use border.width instead of 1

931. By Gerry Boland

Border line & image share anchors

932. By Gerry Boland

Use better accessible name for border line

Revision history for this message
Gerry Boland (gerboland) wrote :

Ok, code-fixes made.

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

I'll be more of a pain yet, i think m_arrowY value in LauncherContextualMenu::show should be set to 7 and not 6, otherwise the pip and the menu arrow do not totally overlap (Yes this nagged me the first time i saw it visually)

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

Approving, the 7/6 thing is not something Gerry "broke" and actually while it looks better for me with a 7 it looks better for him with a 6, so future work

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.

Subscribers

People subscribed via source and target branches