Closed Bug 1398362 Opened 7 years ago Closed 7 years ago

(Photon) Image/logo size in onboarding screen is incorrect on API 16 & 17

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
normal

Tracking

(fennec+, firefox55 unaffected, firefox56 unaffected, firefox57+ fixed, firefox58 fixed)

VERIFIED FIXED
Firefox 58
Tracking Status
fennec + ---
firefox55 --- unaffected
firefox56 --- unaffected
firefox57 + fixed
firefox58 --- fixed

People

(Reporter: Grisha, Assigned: cnevinchen)

Details

(Whiteboard: [FNC][SPT58.3][INT])

Attachments

(5 files)

I don't have an API16 device, but I see this behaviour in the emulator. See screenshot.

Other screens appear to be correct.
Flagging for triage, and marking as 57 blocker.
tracking-fennec: --- → ?
[triage0913] + as P1. btw the logo needs to be updated anyway once 57 become beta, per 1399378.
tracking-fennec: ? → +
This was described as "57 blocker" over 2 weeks ago.  Is anyone looking at this?
Flags: needinfo?(wehuang)
(Sorry for late, Julien)

Jingwei, would you help on this by Oct. 11? 

Maybe this is fixed already by https://bugzilla.mozilla.org/show_bug.cgi?id=1399378? Thanks.
Flags: needinfo?(wehuang) → needinfo?(topwu.tw)
The icon is reported to be missing in a couple of places still in bug 1399378 and bug 1388679. 

Ioana, maybe you can help here to check over where we expect the logo to appear in Fennec?
Flags: needinfo?(chiorean.ioana)
Summary: "Welcome" screen in the onboarding doesn't have an imagine on API16 → "Welcome" screen in the onboarding doesn't have an image/logo on API16
The attachment is the screenshot of current Nightly on API 16 emulator, we should already fix this issue. Ioana, please help confirm it on real devices, thanks.
Flags: needinfo?(topwu.tw)
Hi Wesly, Grisha, is there a fix for this in the works? It is tracked as a recent regression in 57 and a fix for this would meet the beta57 uplift bar.
Flags: needinfo?(wehuang)
Flags: needinfo?(gkruglov)
Since we have other bugs also addressing the logo icon (fixed around the end of Sep., while this issue is reported on Sep. 8th) I believe this bug is now fixed by one of them already (as checked by comment#6), so no further patch is planned for this bug currently.
Flags: needinfo?(wehuang)
Flags: needinfo?(gkruglov)
(In reply to Wesly Huang (Fennec Frontend/Firefox EPM) from comment #8)
> Since we have other bugs also addressing the logo icon (fixed around the end
> of Sep., while this issue is reported on Sep. 8th) I believe this bug is now
> fixed by one of them already (as checked by comment#6), so no further patch
> is planned for this bug currently.

That doesn't seem to address 57?
Flags: needinfo?(wehuang)
Good point Julien, my bad. Though the two bugs[1][2] dressing the logo are both uplifted to 57 Beta already, it's good to be 100% sure.

@Grisha, since Jingwei left Mozilla last week, would you kindly help check this in the emulator again, if you don't have such device? Thanks.

@Ioana, will be good if you have an actual device (with API 16, JB) to check as well, thanks!


[1] bug 1399378
[2] bug 1388679

(In reply to Julien Cristau [:jcristau] from comment #9)
> (In reply to Wesly Huang (Fennec Frontend/Firefox EPM) from comment #8)
> > Since we have other bugs also addressing the logo icon (fixed around the end
> > of Sep., while this issue is reported on Sep. 8th) I believe this bug is now
> > fixed by one of them already (as checked by comment#6), so no further patch
> > is planned for this bug currently.
> 
> That doesn't seem to address 57?
Flags: needinfo?(wehuang) → needinfo?(gkruglov)
I've checked on an API16 emulator. I see the image, on-boarding looks fine.
Flags: needinfo?(gkruglov)
Sorry, Grisha, I should be more specific and just to be sure that we've addressed the concern, you were testing on "57 Beta", right?

Thanks Grisha!(In reply to :Grisha Kruglov from comment #11)
> I've checked on an API16 emulator. I see the image, on-boarding looks fine.
Flags: needinfo?(gkruglov)
Nevin, though not reported by you I think you'll be able to help get the same environment (API 16 emulator with 57 Beta) to test it? Would you help?
Flags: needinfo?(cnevinchen)
Attached image firstrun.png
I think the problem is solved here. The logo is diplayed on API 16.
However I found an additional slightly(?) issue.

Since we are using adjustViewBounds[1] in firstrun page, there's a difference between API 17- and 18+[2]. The result will make firstrun_welcome.png (the logo) smaller in API 17-. See attachment for example.

[1] http://searchfox.org/mozilla-central/rev/d30462037ffea383e74c42542c820cf65b2b144e/mobile/android/app/src/main/res/layout/firstrun_basepanel_checkable_fragment.xml#27
[2] https://developer.android.com/reference/android/widget/ImageView.html#setAdjustViewBounds(boolean)
Flags: needinfo?(cnevinchen)
Thanks Nevin for the quick check! 

Considering the impact (only in the onboarding tour) and the Android user distribution on different versions[1] (Joe maybe you have the numbers for Fennec users?) I personally don't think this is a blocker for 57 (nor 58), but will let UX and Product to make the final say. Thanks.

[1] https://developer.android.com/about/dashboards/index.html
Flags: needinfo?(jcheng)
Flags: needinfo?(gkruglov)
Flags: needinfo?(chuang)
Hi Nevin,
As offline discussion, please replace the image size as big as the one of other onboarding page to see if we could solve this problem. Thanks!
Flags: needinfo?(chuang) → needinfo?(cnevinchen)
Since the logo did appears but with the wrong size, I'll update the summary.
Assignee: nobody → cnevinchen
Flags: needinfo?(cnevinchen)
Summary: "Welcome" screen in the onboarding doesn't have an image/logo on API16 → (Photon) Image/logo size in onboarding screen is incorrect on API 16 & 17
Attached image firstrun_fixed.png
After this patch, it will look like this:
It looks better! thank you, Nevin!
Comment on attachment 8921342 [details]
Bug 1398362 - Change the image with correct size.

https://reviewboard.mozilla.org/r/192362/#review197526
Attachment #8921342 - Flags: review?(max) → review+
Comment on attachment 8921342 [details]
Bug 1398362 - Change the image with correct size.

https://reviewboard.mozilla.org/r/192362/#review197536
Attachment #8921342 - Flags: review+
Pushed by nechen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/238d4670044e
Change the image with correct size. r=maliu
Comment on attachment 8921342 [details]
Bug 1398362 - Change the image with correct size.


Approval Request Comment
[Feature/Bug causing the regression]: Android has different implementations in different api level
[User impact if declined]: user will see a small logo
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: no
[Needs manual test from QE? If yes, steps to reproduce]: no
[List of other uplifts needed for the feature/fix]:no
[Is the change risky?]:no
[Why is the change risky/not risky?]: Just change icon
[String changes made/needed]:no
Attachment #8921342 - Flags: approval-mozilla-beta?
Hi Ritu:

Per offline discussion with the team we agreed this is not a 57 hard blocker, but will be good to include if there is going to have another 57 beta (beta 12 maybe?), and Nevin just made the uplift request (the fix is to update the logo file so considered low risk). 

Sorry for the inconvenience and please feel free to let me know shall you have any concern/question. Thanks.
Flags: needinfo?(jcheng) → needinfo?(rkothari)
Thanks for the note Wesly. Fixing this is a good idea and low risk, let's take it.
Flags: needinfo?(rkothari)
Attachment #8921342 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
https://hg.mozilla.org/mozilla-central/rev/238d4670044e
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Whiteboard: [FNC][SPT58.3][INT]
Flags: needinfo?(chiorean.ioana) → needinfo?(ioana.chiorean)
Verified Fixed on LG D722 with Android 4.4.2 with all channels - Release 57.0. Beta 58.0b3 and Nightly 59.
Status: RESOLVED → VERIFIED
Flags: needinfo?(ioana.chiorean)
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: