Merge lp:~sladen/unity-2d/unity-2d-no-glow-lp933578 into lp:unity-2d

Proposed by Paul Sladen
Status: Superseded
Proposed branch: lp:~sladen/unity-2d/unity-2d-no-glow-lp933578
Merge into: lp:unity-2d
Diff against target: 126 lines (+2/-20)
8 files modified
shell/common/SearchEntry.qml (+0/-1)
shell/common/artwork/desktop_dash_background.sci (+2/-2)
shell/dash/CategoryHeader.qml (+0/-2)
shell/dash/FilterPane.qml (+0/-11)
shell/dash/LensButton.qml (+0/-1)
shell/dash/MultiRangeButton.qml (+0/-1)
shell/dash/Star.qml (+0/-1)
shell/dash/TickBox.qml (+0/-1)
To merge this branch: bzr merge lp:~sladen/unity-2d/unity-2d-no-glow-lp933578
Reviewer Review Type Date Requested Status
Paul Sladen (community) Needs Resubmitting
Michał Sawicz Needs Fixing
Gerry Boland Pending
Review via email: mp+94560@code.launchpad.net

This proposal has been superseded by a proposal from 2012-02-24.

Commit message

Unity 2D: No Glow assets + fixups for (LP: #933578)

Description of the change

No Glow assets + fixups for (LP: #933578)
This includes replacements assets for:
  Pips + arrows
  Dash search box and search box status icons
  Dash edge background (transparent)
  Dash edge background (non-transparent)
With associated code changes:
  Removal of blurRadius except for background itself
  Background tiling phase realignment for transparent background

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

Just removing "blurRadius" from DropShadows means the shadow will actually be there, and drawn, just that it won't blur. So you end up with a (expensive) copy of the text behind it.

Please completely remove the whole "effect: DropShadow {...}" properties to actually get rid of the shadows.

review: Needs Fixing
Revision history for this message
Michał Sawicz (saviq) wrote :

Please also provide a before and after images for design sign-off.

review: Needs Fixing
Revision history for this message
Michał Sawicz (saviq) wrote :

We need a way to indicate focus on the "Filter results", it was only being highlighted with the glow, now it's too easy to get "lost" in the dash when keyboard-navigating.

We have a similar issue with category headers that don't have "expand" links, so consistency here would probably make sense (not "it's broken" consistency, but a way to indicate focus on them).

review: Needs Fixing
Revision history for this message
Paul Sladen (sladen) wrote :

I believe in all of these locations hover/focus is indicated by colour:white && blurRadius. The colour: white is still there and continues to provide the primary highlight.

There is a design solution for replacing the white highlight with a full-width background grey highlight, and this is in Unity 3D. However, Gerry requested that the merge say on focus and be a minimal diff without other changes other than removing the glow from the assets and code.

Revision history for this message
Paul Sladen (sladen) wrote :

Before, After, and Delta screenshots attached to parent bug report.

review: Needs Resubmitting
Revision history for this message
Michał Sawicz (saviq) wrote :

> I believe in all of these locations hover/focus is indicated by colour:white
> && blurRadius. The colour: white is still there and continues to provide the
> primary highlight.

> There is a design solution for replacing the white highlight with a full-width
> background grey highlight, and this is in Unity 3D.

Except that the label I mentioned ("Filter results") is already white, so we lose
focus indication completely. Please leave that one instance of the glow in place,
we'll fix the whole approach to focus in dash in a separate MR.

> However, Gerry requested that the merge say on focus and be a minimal diff
> without other changes other than removing the glow from the assets and code.

That's ok, but just removing the blurRadius property doesn't make sense. The whole
"effect: DropShadow { ... }" component is responsible for just the glow, so to remove
the glow we need to remove the whole of it.

940. By Paul Sladen

Glow: Temporaily glow/blur on "Filter Results" button to provide state constrast
per https://code.launchpad.net/~sladen/unity-2d/unity-2d-no-glow-lp933578/+merge/94560/comments/204013

941. By Paul Sladen

Drop DropShadow and associate /* HACK */ per
https://code.launchpad.net/~sladen/unity-2d/unity-2d-no-glow-lp933578/+merge/94560/comments/204013

942. By Paul Sladen

Additionally remove the second "Ugly Hack" message per Saviq
although it is unclear where the associate hack is/was

943. By Paul Sladen

Self-revert; LensView: restore the separate namespace "moving" usage

944. By Paul Sladen

Merge to HEAD; manually resolve binary merge conflict:
  shell/launcher/artwork/launcher_pip_ltr.png

945. By Paul Sladen

Restore property moving && associated workaround warnings

Unmerged revisions

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'shell/common/SearchEntry.qml'
2--- shell/common/SearchEntry.qml 2012-02-15 13:26:26 +0000
3+++ shell/common/SearchEntry.qml 2012-02-24 14:58:01 +0000
4@@ -90,7 +90,6 @@
5 effect: DropShadow {
6 id: glow
7
8- blurRadius: 4
9 offset.x: 0
10 offset.y: 0
11 color: "white"
12
13=== modified file 'shell/common/artwork/desktop_dash_background.png'
14Binary files shell/common/artwork/desktop_dash_background.png 2012-01-30 17:23:42 +0000 and shell/common/artwork/desktop_dash_background.png 2012-02-24 14:58:01 +0000 differ
15=== modified file 'shell/common/artwork/desktop_dash_background.sci'
16--- shell/common/artwork/desktop_dash_background.sci 2012-01-30 17:23:42 +0000
17+++ shell/common/artwork/desktop_dash_background.sci 2012-02-24 14:58:01 +0000
18@@ -1,7 +1,7 @@
19 border.left: 0
20 border.top: 0
21-border.bottom: 45
22-border.right: 46
23+border.bottom: 43
24+border.right: 44
25 source: desktop_dash_background.png
26 horizontalTileRule: Repeat
27 verticalTileRule: Repeat
28
29=== modified file 'shell/common/artwork/desktop_dash_background_no_transparency.png'
30Binary files shell/common/artwork/desktop_dash_background_no_transparency.png 2012-01-30 17:23:42 +0000 and shell/common/artwork/desktop_dash_background_no_transparency.png 2012-02-24 14:58:01 +0000 differ
31=== modified file 'shell/common/artwork/search_background.png'
32Binary files shell/common/artwork/search_background.png 2012-02-01 23:52:38 +0000 and shell/common/artwork/search_background.png 2012-02-24 14:58:01 +0000 differ
33=== modified file 'shell/common/artwork/search_icon.png'
34Binary files shell/common/artwork/search_icon.png 2012-02-01 23:52:38 +0000 and shell/common/artwork/search_icon.png 2012-02-24 14:58:01 +0000 differ
35=== modified file 'shell/dash/CategoryHeader.qml'
36--- shell/dash/CategoryHeader.qml 2012-01-10 16:52:24 +0000
37+++ shell/dash/CategoryHeader.qml 2012-02-24 14:58:01 +0000
38@@ -37,7 +37,6 @@
39 Accessible.name: "%1 %2 %3".arg(title.text).arg(label.text).arg(folded ? u2d.tr("not expanded") : u2d.tr("expanded"))
40
41 effect: DropShadow {
42- blurRadius: 6
43 offset.x: 0
44 offset.y: 0
45 color: "white"
46@@ -82,7 +81,6 @@
47 Behavior on opacity {NumberAnimation { duration: 100 }}
48
49 effect: DropShadow {
50- blurRadius: 4
51 offset.x: 0
52 offset.y: 0
53 color: "white"
54
55=== modified file 'shell/dash/FilterPane.qml'
56--- shell/dash/FilterPane.qml 2012-01-10 17:31:32 +0000
57+++ shell/dash/FilterPane.qml 2012-02-24 14:58:01 +0000
58@@ -36,17 +36,6 @@
59 Accessible.name: title.text
60
61 effect: DropShadow {
62- blurRadius: {
63- switch (header.state) {
64- case "selected":
65- case "hovered":
66- return 4
67- case "pressed":
68- return 8
69- default:
70- return 0
71- }
72- }
73 offset.x: 0
74 offset.y: 0
75 color: "white"
76
77=== modified file 'shell/dash/LensButton.qml'
78--- shell/dash/LensButton.qml 2011-12-08 19:16:20 +0000
79+++ shell/dash/LensButton.qml 2012-02-24 14:58:01 +0000
80@@ -32,7 +32,6 @@
81 id: lensButton
82
83 effect: DropShadow {
84- blurRadius: 8
85 color: "white"
86 offset.x: 0
87 offset.y: 0
88
89=== modified file 'shell/dash/MultiRangeButton.qml'
90--- shell/dash/MultiRangeButton.qml 2011-11-29 17:45:27 +0000
91+++ shell/dash/MultiRangeButton.qml 2012-02-24 14:58:01 +0000
92@@ -44,7 +44,6 @@
93 elide: Text.ElideRight
94
95 effect: DropShadow {
96- blurRadius: 8
97 color: "white"
98 offset.x: 0
99 offset.y: 0
100
101=== modified file 'shell/dash/Star.qml'
102--- shell/dash/Star.qml 2011-11-25 15:44:18 +0000
103+++ shell/dash/Star.qml 2012-02-24 14:58:01 +0000
104@@ -30,7 +30,6 @@
105 height: childrenRect.height
106
107 effect: DropShadow {
108- blurRadius: 8
109 color: "white"
110 offset.x: 0
111 offset.y: 0
112
113=== modified file 'shell/dash/TickBox.qml'
114--- shell/dash/TickBox.qml 2012-01-10 16:52:24 +0000
115+++ shell/dash/TickBox.qml 2012-02-24 14:58:01 +0000
116@@ -34,7 +34,6 @@
117 height: childrenRect.height
118
119 effect: DropShadow {
120- blurRadius: 8
121 color: "white"
122 offset.x: 0
123 offset.y: 0
124
125=== modified file 'shell/launcher/artwork/launcher_pip_ltr.png'
126Binary files shell/launcher/artwork/launcher_pip_ltr.png 2011-11-11 10:19:14 +0000 and shell/launcher/artwork/launcher_pip_ltr.png 2012-02-24 14:58:01 +0000 differ

Subscribers

People subscribed via source and target branches