Closed Bug 991354 Opened 10 years ago Closed 10 years ago

[Camera][Madai] X in cancel button not centered. Pick activity UI

Categories

(Firefox OS Graveyard :: Gaia::Camera, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v1.4 verified, b2g-v2.0 verified)

VERIFIED FIXED
1.4 S5 (11apr)
Tracking Status
b2g-v1.4 --- verified
b2g-v2.0 --- verified

People

(Reporter: dmarcos, Assigned: justindarc)

References

Details

Attachments

(4 files, 1 obsolete file)

Attached image cancelButton.png
The x in the cancel button is not vertically centered (see attached image)
Blocks: 983405
Assignee: nobody → jdarcangelo
Attached file pull-request (master)
Attachment #8400960 - Flags: review?(dflanagan)
Attached image screenshot with patch applied (obsolete) —
Here's a screenshot of the cancel button with the patch applied.
Comment on attachment 8400961 [details]
screenshot with patch applied

Amy,
Could you review this screenshot and let me know if the "Cancel" button looks correct?
Attachment #8400961 - Flags: ui-review?(amlee)
Attached image Viewfinder_Cancel.svg
Hi, 

It doesn't look like the correct "x" is being used. I've attached the svg file of the correct x. Thanks
Wilson: What is the process for adding new glyphs to our icon font? I don't see a source file for it anywhere, but it is base64-encoded in our CSS. I'm assuming we use something to assemble it like Font Squirrel?
Flags: needinfo?(wilsonpage)
Comment on attachment 8400960 [details] [review]
pull-request (master)

Go ahead and land this one-line CSS patch if you want, but then you'll have to file a followup bug when you switch to using the new SVG image in the font. Or, just wait and include the updated font in this patch as well.
Attachment #8400960 - Flags: review?(dflanagan) → review+
I would rather wait and see if Wilson can include the glyph in our icon font before landing this since every other button in the app uses glyphs from the icon font and therefore this "Cancel" button wouldn't require special styling.
justindarc:

1. Go to icomoon.io/app
2. 'Import' app/camera/style/icomoon.json
3. Add new glyphs to the font by uploading SVG files via 'Import to set' option
4. Click the 'Font >' button at the bottom of the screen
5. Click 'preferences'
6. Tick 'Encode and embed...'
7. Click 'Download'
8. Copy over the WOFF url (not TTF)
9. Copy over the list of icon-* selectors (ignore the one that includes font-family)

We should probably dump that in the README. Maybe that could be bundled with this bug?
Flags: needinfo?(wilsonpage)
Amy: Please review this screenshot. I have replaced the "x" icon with the one you provided.
Attachment #8400961 - Attachment is obsolete: true
Attachment #8400961 - Flags: ui-review?(amlee)
Attachment #8401416 - Flags: ui-review?(amlee)
Comment on attachment 8401416 [details]
screenshot with patch applied

Look good! (p.s nice shot of "the dude")
Attachment #8401416 - Flags: ui-review?(amlee) → ui-review+
Landed to master:

https://github.com/mozilla-b2g/gaia/commit/6d15a4a019bd9029d37d0d23d77ed348443d67e0

Still needs uplifted to 1.4

Hema: Can you flag this as 1.4+? Thanks!
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(hkoka)
Resolution: --- → FIXED
Attachment #8400960 - Flags: approval-gaia-v1.4+
Flags: needinfo?(hkoka)
v1.4: https://github.com/mozilla-b2g/gaia/commit/9ddb20dc1b0ba651760866845b445952c575822a
Hardware: PowerPC → ARM
Target Milestone: --- → 1.4 S5 (11apr)
The bug is no longer reproduces on 1.4 and master build
The "X" icon is centered.

1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140411000202
Gaia: 6c50349f41d40ba175ea0fc0c2c2cbd739ba7170
Gecko: 28b419f0e857
Version: 30.0a2
Firmware Version: v1.2-device.cfg

1.5 Environmental Variables:
Device: Buri 1.5 Master
BuildID: 20140411040203
Gaia: 1368d716072adf308e1b435ac828f97545a045f1
Gecko: d8c1b10c3a3d
Version: 31.0a1
Firmware Version: v1.2-device.cfg
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: