Merge lp:~michael-sheldon/ubuntu-keyboard/increase-magnification into lp:ubuntu-keyboard

Proposed by Michael Sheldon
Status: Merged
Approved by: Bill Filler
Approved revision: 173
Merged at revision: 172
Proposed branch: lp:~michael-sheldon/ubuntu-keyboard/increase-magnification
Merge into: lp:ubuntu-keyboard
Diff against target: 178 lines (+66/-65)
4 files modified
qml/keys/Magnifier.qml (+1/-1)
qml/keys/key_constants.js (+1/-0)
qml/languages/Keyboard_numbers.qml (+32/-32)
qml/languages/Keyboard_telephone.qml (+32/-32)
To merge this branch: bzr merge lp:~michael-sheldon/ubuntu-keyboard/increase-magnification
Reviewer Review Type Date Requested Status
Bill Filler (community) Approve
PS Jenkins bot continuous-integration Approve
Review via email: mp+221215@code.launchpad.net

Commit message

Disable magnification on the dial pad and number pad layouts, remove transparency from magnifier background.

Description of the change

Disable magnification on the dial pad and number pad layouts, remove transparency from magnifier background.

To post a comment you must log in.
Revision history for this message
Michael Sheldon (michael-sheldon) wrote :

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

 * No

Is your branch in sync with latest trunk (e.g. bzr pull lp:trunk -> no changes)

 * Yes

Did you perform an exploratory manual test run of your code change and any related functionality on device or emulator?

 * Yes

Did you successfully run all tests found in your component's Test Plan (https://wiki.ubuntu.com/Process/Merges/TestPlan/ubuntu-keyboard) on device or emulator?

 * Yes

If you changed the UI, was the change specified/approved by design?

 * Increases magnifier size, discussed in Malta design meeting

If you changed the packaging (debian), did you subscribe a core-dev to this MP?

 * No change

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
171. By Michael Sheldon

Merge from trunk

172. By Michael Sheldon

Update popover images with non-transparent backgrounds

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

Works well, but did notice a couple of issues with the increased magnifier size
- the magnifiers get cut off when pressing p or q keys (on the sides). I think we'd need to do something like iphone does where it uses a slighty different image and skews it toward the middle so it doesn't look truncated. Or maybe something else that is easy..
- are all of the keys aligned vertically in the same way inside the magnifer? For example press "f" and the "g" key. The "f" looks higher than the "g" key looks. They should all be consistent vertically aligned from the top of the magnifier I think.

Revision history for this message
Bill Filler (bfiller) :
review: Needs Fixing
173. By Michael Sheldon

Restore original magnifier size

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Approve (continuous-integration)
Revision history for this message
Bill Filler (bfiller) wrote :

there is a nasty black border partially drawn around the top of the magnifier/popover that is especially noticeable against a white background (open browser and clear all text from the URL field then press on top rows of keys). this should be eliminated

review: Needs Fixing
Revision history for this message
Bill Filler (bfiller) wrote :

Works other than issue noted above, but turns out that is an existing issue not related to this change.

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/styles/ubuntu/images/keyboard_popover.png'
2Binary files data/styles/ubuntu/images/keyboard_popover.png 2013-08-13 15:33:41 +0000 and data/styles/ubuntu/images/keyboard_popover.png 2014-06-06 14:05:26 +0000 differ
3=== modified file 'qml/images/popover@27.png'
4Binary files qml/images/popover@27.png 2013-09-30 08:56:44 +0000 and qml/images/popover@27.png 2014-06-06 14:05:26 +0000 differ
5=== modified file 'qml/keys/Magnifier.qml'
6--- qml/keys/Magnifier.qml 2013-10-08 10:36:32 +0000
7+++ qml/keys/Magnifier.qml 2014-06-06 14:05:26 +0000
8@@ -59,7 +59,7 @@
9 anchors.centerIn: parent
10
11 font.family: UI.fontFamily
12- font.pixelSize: units.gu( UI.fontSize )
13+ font.pixelSize: units.gu( UI.fontSizeMagnified )
14 font.bold: UI.fontBold
15 color: UI.fontColor
16 }
17
18=== modified file 'qml/keys/key_constants.js'
19--- qml/keys/key_constants.js 2014-03-03 16:21:35 +0000
20+++ qml/keys/key_constants.js 2014-06-06 14:05:26 +0000
21@@ -18,6 +18,7 @@
22
23 var keyMargins = 1.8; // dp
24 var fontSize = 2; // gu
25+var fontSizeMagnified = 2; // gu
26 var fontFamily = "Ubuntu Medium";
27 var fontColor = "#666666"
28 var fontBold = true
29
30=== modified file 'qml/languages/Keyboard_numbers.qml'
31--- qml/languages/Keyboard_numbers.qml 2013-09-11 15:45:50 +0000
32+++ qml/languages/Keyboard_numbers.qml 2014-06-06 14:05:26 +0000
33@@ -35,38 +35,38 @@
34 anchors.margins: 50;
35 spacing: 0
36
37- CharKey { label: "1"; }
38- CharKey { label: "2"; }
39- CharKey { label: "3"; }
40- }
41-
42- Row {
43- anchors.horizontalCenter: parent.horizontalCenter;
44- anchors.margins: 50;
45- spacing: 0
46-
47- CharKey { label: "4"; }
48- CharKey { label: "5"; }
49- CharKey { label: "6"; }
50- }
51-
52- Row {
53- anchors.horizontalCenter: parent.horizontalCenter;
54- anchors.margins: 50;
55- spacing: 0
56-
57- CharKey { label: "7"; }
58- CharKey { label: "8"; }
59- CharKey { label: "9"; }
60- }
61-
62- Row {
63- anchors.horizontalCenter: parent.horizontalCenter;
64- anchors.margins: 50;
65- spacing: 0
66-
67- CharKey { label: "."; extended: ["-", "."]}
68- CharKey { label: "0"; }
69+ CharKey { label: "1"; noMagnifier: true; }
70+ CharKey { label: "2"; noMagnifier: true; }
71+ CharKey { label: "3"; noMagnifier: true; }
72+ }
73+
74+ Row {
75+ anchors.horizontalCenter: parent.horizontalCenter;
76+ anchors.margins: 50;
77+ spacing: 0
78+
79+ CharKey { label: "4"; noMagnifier: true; }
80+ CharKey { label: "5"; noMagnifier: true; }
81+ CharKey { label: "6"; noMagnifier: true; }
82+ }
83+
84+ Row {
85+ anchors.horizontalCenter: parent.horizontalCenter;
86+ anchors.margins: 50;
87+ spacing: 0
88+
89+ CharKey { label: "7"; noMagnifier: true; }
90+ CharKey { label: "8"; noMagnifier: true; }
91+ CharKey { label: "9"; noMagnifier: true; }
92+ }
93+
94+ Row {
95+ anchors.horizontalCenter: parent.horizontalCenter;
96+ anchors.margins: 50;
97+ spacing: 0
98+
99+ CharKey { label: "."; extended: ["-", "."]; noMagnifier: true; }
100+ CharKey { label: "0"; noMagnifier: true; }
101 BackspaceKey { padding: 0; }
102 }
103 } // column
104
105=== modified file 'qml/languages/Keyboard_telephone.qml'
106--- qml/languages/Keyboard_telephone.qml 2013-09-11 09:53:33 +0000
107+++ qml/languages/Keyboard_telephone.qml 2014-06-06 14:05:26 +0000
108@@ -35,38 +35,38 @@
109 anchors.margins: 50;
110 spacing: 0
111
112- CharKey { label: "1"; }
113- CharKey { label: "2"; }
114- CharKey { label: "3"; }
115- }
116-
117- Row {
118- anchors.horizontalCenter: parent.horizontalCenter;
119- anchors.margins: 50;
120- spacing: 0
121-
122- CharKey { label: "4"; }
123- CharKey { label: "5"; }
124- CharKey { label: "6"; }
125- }
126-
127- Row {
128- anchors.horizontalCenter: parent.horizontalCenter;
129- anchors.margins: 50;
130- spacing: 0
131-
132- CharKey { label: "7"; }
133- CharKey { label: "8"; }
134- CharKey { label: "9"; }
135- }
136-
137- Row {
138- anchors.horizontalCenter: parent.horizontalCenter;
139- anchors.margins: 50;
140- spacing: 0
141-
142- CharKey { label: "+"; annotation: "+*#"; extended: ["*", "#", "(", ")"] }
143- CharKey { label: "0"; }
144+ CharKey { label: "1"; noMagnifier: true; }
145+ CharKey { label: "2"; noMagnifier: true; }
146+ CharKey { label: "3"; noMagnifier: true; }
147+ }
148+
149+ Row {
150+ anchors.horizontalCenter: parent.horizontalCenter;
151+ anchors.margins: 50;
152+ spacing: 0
153+
154+ CharKey { label: "4"; noMagnifier: true; }
155+ CharKey { label: "5"; noMagnifier: true; }
156+ CharKey { label: "6"; noMagnifier: true; }
157+ }
158+
159+ Row {
160+ anchors.horizontalCenter: parent.horizontalCenter;
161+ anchors.margins: 50;
162+ spacing: 0
163+
164+ CharKey { label: "7"; noMagnifier: true; }
165+ CharKey { label: "8"; noMagnifier: true; }
166+ CharKey { label: "9"; noMagnifier: true; }
167+ }
168+
169+ Row {
170+ anchors.horizontalCenter: parent.horizontalCenter;
171+ anchors.margins: 50;
172+ spacing: 0
173+
174+ CharKey { label: "+"; annotation: "+*#"; extended: ["*", "#", "(", ")"]; noMagnifier: true; }
175+ CharKey { label: "0"; noMagnifier: true; }
176 BackspaceKey { padding: 0; }
177 }
178 } // column

Subscribers

People subscribed via source and target branches