Closed Bug 1147316 Opened 9 years ago Closed 9 years ago

[Nexus 5][Homescreen]On Home edit view, press and hold an app icon to smart collection app, the "+" icon is truncated.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 verified, b2g-master verified)

VERIFIED FIXED
2.2 S13 (29may)
Tracking Status
b2g-v2.2 --- verified
b2g-master --- verified

People

(Reporter: yue.xia, Assigned: cwiiis)

Details

(Keywords: polish, Whiteboard: [2.2-nexus-5-l][systemsfe])

Attachments

(9 files)

Attached file logcat_1507.txt
[1.Description]:
[Nexus 5][v2.2&v3.0][Homescreen]Long press an app on Home screen to enter edit view, press and hold an app icon to smart collection app, the "+" icon on top left of smart collection is truncated.
See attachment: logcat_1507.txt & Video1.MP4
Found at: 15:07

[2.Testing Steps]: 
1. Long press an app on Home screen to enter edit view.
2. Press and hold an app icon to smart collection app.

[3.Expected Result]: 
2. The "+" icon should not be truncated.

[4.Actual Result]: 
2. The "+" icon is truncated.

[5.Reproduction build]: 
Device: Nexus5 v2.2 (affected)
Build ID               20150324002504
Gaia Revision          014d38f7ad3912b8b33cb08ce7535a5dc5aced59
Gaia Date              2015-03-23 23:27:22
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/7a9f2a248e57
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.0
Firmware(Incremental)  eng.cltbld.20150324.041308
Firmware Date          Tue Mar 24 04:13:23 EDT 2015
Bootloader             HHZ12d

Device: Nexus5 v3.0 (affected)
Build ID               20150324160206
Gaia Revision          aebfbd998041e960cea0468533c0b5041b504850
Gaia Date              2015-03-24 17:08:51
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/264387e7e453
Gecko Version          39.0a1
Device Name            hammerhead
Firmware(Release)      5.0
Firmware(Incremental)  eng.cltbld.20150324.193526
Firmware Date          Tue Mar 24 19:35:42 EDT 2015
Bootloader             HHZ12d

Device: Flame 2.2 (unaffected)
Build ID               20150324002504
Gaia Revision          014d38f7ad3912b8b33cb08ce7535a5dc5aced59
Gaia Date              2015-03-23 23:27:22
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/7a9f2a248e57
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150324.041652
Firmware Date          Tue Mar 24 04:17:03 EDT 2015
Bootloader             L1TC000118D0

[6.Reproduction Frequency]: 
Always Recurrence,5/5

[7.TCID]: 
Free Test

[8.Note]:
This problem cannot be repro on Flame 2.2.
Attached video Video1.MP4
Chris, any idea whats going on or do we need the devices team to take a look here?
Flags: needinfo?(chrislord.net)
Looks like a style issue, or maybe a missing asset? I'll take a look.

Note, I don't actually have a Nexus 5 to run FxOS on (I have my personal one, but it's my Android backup phone for emergencies), but I wouldn't have thought I need one to diagnose this.
Assignee: nobody → chrislord.net
Status: NEW → ASSIGNED
Flags: needinfo?(chrislord.net)
Looks like we're missing some assets in gaia_grid:

add@3.375x.png
loading_spinner@2.25x.png
loading_spinner@3.375x.png
remove@3.375x.png

Eric, can you get us those (homescreen) assets, or can you needinfo someone who can?
Flags: needinfo?(epang)
A link to the directory tree, so you can see what I mean: https://github.com/mozilla-b2g/gaia/tree/master/shared/elements/gaia_grid/images
(In reply to Chris Lord [:cwiiis] from comment #4)
> Looks like we're missing some assets in gaia_grid:
> 
> add@3.375x.png
> loading_spinner@2.25x.png
> loading_spinner@3.375x.png
> remove@3.375x.png
> 
> Eric, can you get us those (homescreen) assets, or can you needinfo someone
> who can?

Redirecting to Peter.  Peter can you help Chris with these assets?  I can't seem to find the loading spinner. Thanks!
Flags: needinfo?(epang) → needinfo?(pla)
Whiteboard: [2.2-nexus-5-l] → [2.2-nexus-5-l][systemsfe]
Keywords: polish
Hi Chris,

I will get these missing images to you as soon as possible.  Tomorrow latest.
Hi Chris,

Here are the missing icons.  Let me know if this doesn't clear up the issue and you need further asssistance!

Thanks!
Flags: needinfo?(pla)
Comment on attachment 8588294 [details] [review]
[gaia] Cwiiis:bug1147316-missing-gaia-grid-icons > mozilla-b2g:master

I might not be around to add the checkin-needed keyword when you review this, if you could add that'd be much appreciated :)
Attachment #8588294 - Flags: review?(kgrandon)
Comment on attachment 8588294 [details] [review]
[gaia] Cwiiis:bug1147316-missing-gaia-grid-icons > mozilla-b2g:master

Hm, this is odd because I have a nexus5 and can't reproduce this. We need these assets regardless, so leaving an R+ for now. Thanks!
Attachment #8588294 - Flags: review?(kgrandon) → review+
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S10 (17apr)
Keywords: verifyme
(In reply to Autolander from comment #12)
> Pull request has landed in master:
> https://github.com/mozilla-b2g/gaia/commit/
> d99294d2f3084abc4457829a1d920a8045c25938

Hi Autolander,
Could you please tell me that it landed in N5 3.0 or Flame 3.0? I find this problem is fixed on Flame 3.0, but on N5 3.0 is failed.
Thanks!
Flags: needinfo?(bug.autolander)
Hi Kevin,

According to comment 13, Could you help to confirm whether the patch will land in N5 3.0&2.2/Flame 2.2 or not? thanks.
Flags: needinfo?(bug.autolander) → needinfo?(kgrandon)
(In reply to Norry.L.F from comment #14)
> Hi Kevin,
> 
> According to comment 13, Could you help to confirm whether the patch will
> land in N5 3.0&2.2/Flame 2.2 or not? thanks.

I don't know? I thought we were only really taking blocking issues at this point, so not really my call. If we have some partner launch at this resolution, we should consider it.
Flags: needinfo?(kgrandon)
Comment on attachment 8588294 [details] [review]
[gaia] Cwiiis:bug1147316-missing-gaia-grid-icons > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined: This bug, I guess - Homescreen can look weird on higher-DPI-than-Flame devices?
[Testing completed]: Don't have a device to reproduce the issue, but the assets were missing and that seems like too much of a coincidence for it not to be the cause.
[Risk to taking this patch] (and alternatives if risky): Zero risk. This patch literally just adds missing files. Even if it doesn't fix the issue, we should uplift this anyway, imho.
[String changes made]: None
Attachment #8588294 - Flags: approval-gaia-v2.2?
Hi Shine,

We only nightly for 3.0 master/central and device build, can you confirm you really verify on the correct device build? 

Could you provide the screenshot which you verified on N5 nightly build?
Flags: needinfo?(yue.xia)
Attached video N5_Nightly_video.mp4
Hi Josh,
I have verified this problem on N5_3.0 nightly build in comment 13, and this problem also can be reproduced on latest N5_3.0 nightly build.
Please see attachment: logcat_2334.txt & N5_Nightly_video.mp4
Rate: 5/5
Many thanks!

Device: N5_3.0 nightly
Build ID               20150506160205
Gaia Revision          426fe6450ab8da92bb473fef12ccb39c6c920dd0
Gaia Date              2015-05-06 08:40:16
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/5593ac626826
Gecko Version          40.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150506.192419
Firmware Date          Wed May  6 19:24:33 EDT 2015
Bootloader             HHZ12f
Flags: needinfo?(yue.xia)
Attached file logcat_2334.txt
Hi Chirs,
The issue seems not fixed yet on master per comment 18 from Shile. Could you please have a check again?
Thanks.
Flags: needinfo?(chrislord.net)
Hi Chris, 
Just soft reminder we are still waiting for your comment. Thanks!
I can replicate this on the Sony Xperia Z3C, reopening.
Status: RESOLVED → REOPENED
Flags: needinfo?(chrislord.net)
Resolution: FIXED → ---
Comment on attachment 8607025 [details] [review]
[gaia] Cwiiis:bug1147316-fix-cutoff-collection-icon > mozilla-b2g:master

background-image is of course a compound style rule, so setting background-image was overriding the prior rule's background-size.
Attachment #8607025 - Flags: review?(kgrandon)
Comment on attachment 8607025 [details] [review]
[gaia] Cwiiis:bug1147316-fix-cutoff-collection-icon > mozilla-b2g:master

LGTM.
Attachment #8607025 - Flags: review?(kgrandon) → review+
Status: REOPENED → RESOLVED
Closed: 9 years ago9 years ago
Resolution: --- → FIXED
Comment on attachment 8607025 [details] [review]
[gaia] Cwiiis:bug1147316-fix-cutoff-collection-icon > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):
[User impact] if declined: Hidpi devices will have an incorrectly sized 'add-to-collection' icon when hovering an icon over a collection.
[Testing completed]: Manual testing completed
[Risk to taking this patch] (and alternatives if risky): Zero risk
[String changes made]: None
Attachment #8607025 - Flags: approval-gaia-v2.2?
Hi Shine,
Please verify on master again.
Thanks!
Flags: needinfo?(yue.xia)
Attached image Verify_Pass_N5_3.0.png
Hi Josh,
This problem is verified pass on latest N5_3.0 nightly build.
Actual Result: The size of "+" icon is smaller than before and the "+" icon is displayed without truncation now.
Please see attachment: Verify_Pass_N5_3.0.png
Rate: 0/5

Device: N5_3.0 nightly build (Pass)
Build ID               20150519160202
Gaia Revision          97dc139f1a690224e98533a86526c4165eed1db5
Gaia Date              2015-05-19 04:43:38
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/4fb7ff694bf5
Gecko Version          41.0a1
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150519.191919
Firmware Date          Tue May 19 19:19:36 EDT 2015
Bootloader             HHZ12f

Thanks!
Flags: needinfo?(yue.xia)
QA Whiteboard: [MGSEI-Triage+]
Keywords: verifyme
Attachment #8588294 - Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
Attachment #8607025 - Flags: approval-gaia-v2.2? → approval-gaia-v2.2+
Keywords: verifyme
Approving and add verifyme for QA to verify on 2.2 after patch landed there
Flags: needinfo?(yue.xia)
Attached image Verify_Pass_N5_2.2.png
This problem is verified pass on latest N5_2.2 nightly build.
Actual Result: The size of "+" icon is smaller than before and the "+" icon is displayed without truncation now.
Please see attachment: Verify_Pass_N5_2.2.png
Rate: 0/5

Device: N5_2.2 nightly build (Pass)
Build ID               20150521162503
Gaia Revision          8099d4fbdcc659d3f6a75e98346a1214cca26802
Gaia Date              2015-05-21 14:39:42
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/fd7b06b22d00
Gecko Version          37.0
Device Name            hammerhead
Firmware(Release)      5.1
Firmware(Incremental)  eng.cltbld.20150521.195842
Firmware Date          Thu May 21 19:58:58 EDT 2015
Bootloader             HHZ12f

Thanks!
Flags: needinfo?(yue.xia)
Status: RESOLVED → VERIFIED
Keywords: verifyme
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: