Merge lp:~fboucault/ubuntu-ui-toolkit/better_visual_feedback into lp:ubuntu-ui-toolkit/staging
- better_visual_feedback
- Merge into staging
Status: | Merged |
---|---|
Approved by: | Zoltan Balogh |
Approved revision: | 1186 |
Merged at revision: | 1194 |
Proposed branch: | lp:~fboucault/ubuntu-ui-toolkit/better_visual_feedback |
Merge into: | lp:ubuntu-ui-toolkit/staging |
Diff against target: |
135 lines (+45/-9) 4 files modified
modules/Ubuntu/Components/ListItems/Empty.qml (+1/-1) modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml (+6/-0) modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml (+37/-3) modules/Ubuntu/Components/Themes/Ambiance/Palette.qml (+1/-5) |
To merge this branch: | bzr merge lp:~fboucault/ubuntu-ui-toolkit/better_visual_feedback |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot | continuous-integration | Approve | |
Tim Peeters | Approve | ||
Cris Dywan | Approve | ||
Victor Thompson (community) | Approve | ||
Review via email: mp+230121@code.launchpad.net |
Commit message
Visual feedback upon press for Header.
Better visual feedback upon press for List Items.
Description of the change
PS Jenkins bot (ps-jenkins) wrote : | # |
Victor Thompson (vthompson) wrote : | # |
LGTM. Fixes the issue seen in the overflow tab drawer for the Music app, Clock app, and others using a darker theme in the header.
Cris Dywan (kalikiana) wrote : | # |
Looks fine to me (sorry about the delay, I apparently didn't hit "Save Comment" :-P)
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1185
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild:
http://
Tim Peeters (tpeeters) wrote : | # |
I'm not sure why this failed :s
********* Start testing of components *********
Config: Using QtTest library 5.3.0, Qt 5.3.0
PASS : components:
PASS : components:
** (process:20548): CRITICAL **: Unable to get session bus: Cannot spawn a message bus without a machine-id: Unable to load /var/lib/
PASS : components:
PASS : components:
PASS : components:
QWARN : components:
QWARN : components:
QWARN : components:
QWARN : components:
Totals: 5 passed, 0 failed, 0 skipped
********* Finished testing of components *********
Error: 4 warnings in tst_header_
tst_header_
PS Jenkins bot (ps-jenkins) wrote : | # |
PASSED: Continuous integration, rev:1186
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
FAILURE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
FAILURE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Tim Peeters (tpeeters) wrote : | # |
looks good
weird jenkins failure, happroving again...
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Continuous integration, rev:1186
http://
Executed test runs:
UNSTABLE: http://
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
Click here to trigger a rebuild:
http://
PS Jenkins bot (ps-jenkins) wrote : | # |
FAILED: Autolanding.
More details in the following jenkins job:
http://
Executed test runs:
UNSTABLE: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
UNSTABLE: http://
SUCCESS: http://
deb: http://
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
deb: http://
PS Jenkins bot (ps-jenkins) : | # |
Preview Diff
1 | === modified file 'modules/Ubuntu/Components/ListItems/Empty.qml' |
2 | --- modules/Ubuntu/Components/ListItems/Empty.qml 2014-07-30 14:51:01 +0000 |
3 | +++ modules/Ubuntu/Components/ListItems/Empty.qml 2014-08-13 13:49:46 +0000 |
4 | @@ -302,7 +302,7 @@ |
5 | top: parent.top |
6 | } |
7 | height: emptyListItem.height - bottomDividerLine.height |
8 | - color: Qt.rgba(0, 0, 0, 0.05) |
9 | + color: Theme.palette.selected.background |
10 | } |
11 | |
12 | ThinDivider { |
13 | |
14 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml' |
15 | --- modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml 2014-07-31 14:38:10 +0000 |
16 | +++ modules/Ubuntu/Components/Themes/Ambiance/PageHeadButton.qml 2014-08-13 13:49:46 +0000 |
17 | @@ -28,6 +28,12 @@ |
18 | |
19 | property alias color: icon.color |
20 | |
21 | + Rectangle { |
22 | + visible: button.pressed |
23 | + anchors.fill: parent |
24 | + color: Theme.palette.selected.background |
25 | + } |
26 | + |
27 | Icon { |
28 | id: icon |
29 | anchors { |
30 | |
31 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml' |
32 | --- modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml 2014-08-04 16:21:55 +0000 |
33 | +++ modules/Ubuntu/Components/Themes/Ambiance/PageHeadStyle.qml 2014-08-13 13:49:46 +0000 |
34 | @@ -71,6 +71,17 @@ |
35 | property bool selected: index === separator.sections.selectedIndex |
36 | onClicked: separator.sections.selectedIndex = index; |
37 | |
38 | + Rectangle { |
39 | + visible: parent.pressed |
40 | + anchors { |
41 | + left: parent.left |
42 | + right: parent.right |
43 | + top: parent.top |
44 | + } |
45 | + height: parent.height - bottomDividerLine.height |
46 | + color: Theme.palette.selected.background |
47 | + } |
48 | + |
49 | Label { |
50 | id: label |
51 | text: modelData |
52 | @@ -84,6 +95,7 @@ |
53 | |
54 | // vertical divider line |
55 | Rectangle { |
56 | + id: bottomDividerLine |
57 | anchors { |
58 | verticalCenter: parent.verticalCenter |
59 | right: parent.right |
60 | @@ -186,6 +198,17 @@ |
61 | implicitHeight: units.gu(6) + bottomDividerLine.height |
62 | width: parent ? parent.width : units.gu(31) |
63 | |
64 | + Rectangle { |
65 | + visible: parent.pressed |
66 | + anchors { |
67 | + left: parent.left |
68 | + right: parent.right |
69 | + top: parent.top |
70 | + } |
71 | + height: parent.height - bottomDividerLine.height |
72 | + color: Theme.palette.selected.background |
73 | + } |
74 | + |
75 | Label { |
76 | anchors { |
77 | verticalCenter: parent.verticalCenter |
78 | @@ -196,7 +219,7 @@ |
79 | fontSize: "medium" |
80 | elide: Text.ElideRight |
81 | text: tab.title // FIXME: only "title" doesn't work with i18n.tr(). Why not? |
82 | - color: '#5d5d5d' |
83 | + color: Theme.palette.selected.backgroundText |
84 | } |
85 | |
86 | ListItem.ThinDivider { |
87 | @@ -359,10 +382,21 @@ |
88 | implicitHeight: units.gu(6) + bottomDividerLine.height |
89 | width: parent ? parent.width : units.gu(31) |
90 | |
91 | + Rectangle { |
92 | + visible: parent.pressed |
93 | + anchors { |
94 | + left: parent.left |
95 | + right: parent.right |
96 | + top: parent.top |
97 | + } |
98 | + height: parent.height - bottomDividerLine.height |
99 | + color: Theme.palette.selected.background |
100 | + } |
101 | + |
102 | Icon { |
103 | id: actionIcon |
104 | name: action.iconName |
105 | - color: '#5d5d5d' |
106 | + color: Theme.palette.selected.backgroundText |
107 | anchors { |
108 | verticalCenter: parent.verticalCenter |
109 | verticalCenterOffset: units.dp(-1) |
110 | @@ -383,7 +417,7 @@ |
111 | fontSize: "small" |
112 | elide: Text.ElideRight |
113 | text: action.text |
114 | - color: '#5d5d5d' |
115 | + color: Theme.palette.selected.backgroundText |
116 | } |
117 | |
118 | ListItem.ThinDivider { |
119 | |
120 | === modified file 'modules/Ubuntu/Components/Themes/Ambiance/Palette.qml' |
121 | --- modules/Ubuntu/Components/Themes/Ambiance/Palette.qml 2014-07-25 11:27:58 +0000 |
122 | +++ modules/Ubuntu/Components/Themes/Ambiance/Palette.qml 2014-08-13 13:49:46 +0000 |
123 | @@ -32,11 +32,7 @@ |
124 | fieldText: UbuntuColors.darkGrey |
125 | } |
126 | selected: PaletteValues { |
127 | - /* FIXME: 'background' does not come from design |
128 | - it is used solely in the list items for the selection highlight |
129 | - that will go away with the new design. |
130 | - */ |
131 | - background: "#B2E6E6E6" |
132 | + background: Qt.rgba(0, 0, 0, 0.05) |
133 | backgroundText: UbuntuColors.darkGrey |
134 | selection: Qt.rgba(UbuntuColors.blue.r, UbuntuColors.blue.g, UbuntuColors.blue.b, 0.2) |
135 | foreground: UbuntuColors.orange |
FAILED: Continuous integration, rev:1184 jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/759/ jenkins. qa.ubuntu. com/job/ generic- deb-autopilot- utopic- touch/3255/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- utopic/ 2548/console jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- utopic- amd64-ci/ 591/console jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- utopic- armhf-ci/ 591/console jenkins. qa.ubuntu. com/job/ ubuntu- sdk-team- ubuntu- ui-toolkit- staging- utopic- i386-ci/ 591/console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- armhf/4500/ console jenkins. qa.ubuntu. com/job/ generic- mediumtests- builder- utopic- amd64/2819/ console
http://
Executed test runs:
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
FAILURE: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/ubuntu- sdk-team- ubuntu- ui-toolkit- staging- ci/759/ rebuild
http://