Merge lp:~zsombi/ubuntu-ui-toolkit/fixAplColumnDivider into lp:ubuntu-ui-toolkit/staging

Proposed by Zsombor Egri
Status: Merged
Approved by: Tim Peeters
Approved revision: 1964
Merged at revision: 1975
Proposed branch: lp:~zsombi/ubuntu-ui-toolkit/fixAplColumnDivider
Merge into: lp:ubuntu-ui-toolkit/staging
Diff against target: 51 lines (+4/-6)
2 files modified
src/Ubuntu/Components/1.3/AdaptivePageLayout.qml (+4/-3)
src/Ubuntu/Components/plugin/uclistitem.cpp (+0/-3)
To merge this branch: bzr merge lp:~zsombi/ubuntu-ui-toolkit/fixAplColumnDivider
Reviewer Review Type Date Requested Status
ubuntu-sdk-build-bot continuous-integration Approve
Tim Peeters Approve
Review via email: mp+293058@code.launchpad.net

Commit message

AdaptivePageLayout vertical divider occludes with ListItem's visuals.

Description of the change

AdaptivePageLayout vertical divider occludes with ListItem's visuals.

To post a comment you must log in.
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Tim Peeters (tpeeters) wrote :

CI has failures on tst_adaptivepagelayout

http://pastebin.ubuntu.com/16093320/ shows the relevant part. It says 1 failure, but I don't see which one failed :s

1962. By Zsombor Egri

divider hides based on the column count

1963. By Zsombor Egri

staging sync

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Needs Fixing (continuous-integration)
1964. By Zsombor Egri

staging sync

Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
Tim Peeters (tpeeters) wrote :

Looks good. Thanks.

review: Approve
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)
Revision history for this message
ubuntu-sdk-build-bot (ubuntu-sdk-build-bot) wrote :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'src/Ubuntu/Components/1.3/AdaptivePageLayout.qml'
2--- src/Ubuntu/Components/1.3/AdaptivePageLayout.qml 2016-03-16 09:15:39 +0000
3+++ src/Ubuntu/Components/1.3/AdaptivePageLayout.qml 2016-05-10 07:10:08 +0000
4@@ -788,7 +788,7 @@
5 bottom: parent.bottom
6 left: parent.left
7 right: parent.right
8- rightMargin: dividerThickness
9+ rightMargin: dividerThickness + verticalDivider.width
10 }
11 Item {
12 id: hiddenItem
13@@ -806,6 +806,7 @@
14 left: parent.left
15 top: parent.top
16 right: parent.right
17+ rightMargin: dividerThickness + verticalDivider.width
18 }
19 height: body.headerHeight
20
21@@ -856,7 +857,7 @@
22 right: parent.right
23 rightMargin: dividerThickness
24 }
25- width: (column == (d.columns - 1)) || !pageWrapper ? 0 : units.dp(1)
26+ width: (column == (d.columns - 1)) ? 0 : units.dp(1)
27 color: theme.palette.normal.base
28 MouseArea {
29 id: resizerSensing
30@@ -923,7 +924,7 @@
31 wrapper.active = false;
32 subHeader.config = null;
33 pageWrapper = null;
34- wrapper.parent = hiddenPool;
35+ wrapper.parent = hiddenItem;
36 wrapper.pageHolder = null;
37 return wrapper;
38 }
39
40=== modified file 'src/Ubuntu/Components/plugin/uclistitem.cpp'
41--- src/Ubuntu/Components/plugin/uclistitem.cpp 2016-04-26 10:21:32 +0000
42+++ src/Ubuntu/Components/plugin/uclistitem.cpp 2016-05-10 07:10:08 +0000
43@@ -1140,9 +1140,6 @@
44 updateNode = true;
45 }
46 QRectF rect(boundingRect());
47- // FIXME: The 1dp margin is here so that part of the focus frame
48- // is not hidden by the APL divider. See bug #1575060.
49- rect -= QMarginsF(0, 0, UCUnits::instance()->dp(1), 0);
50 d->divider->setOpacity(paintFocus ? 0.0 : 1.0);
51 rectNode->setRect(rect);
52

Subscribers

People subscribed via source and target branches