Card image gets cut off for some widths
Categories
(Firefox :: Messaging System, defect, P1)
Tracking
()
People
(Reporter: andreio, Assigned: emcminn)
References
Details
Attachments
(8 files, 1 obsolete file)
34.51 KB,
image/png
|
Details | |
42.16 KB,
image/png
|
Details | |
13.34 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
42.13 KB,
image/png
|
Details | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
24.87 KB,
image/png
|
Details |
I think we want the background-size to be cover
instead.
Comment 1•4 years ago
|
||
Comment 2•4 years ago
|
||
Comment on attachment 9136738 [details]
card.png
This issue is also reproduced for:
- Stay Alert to Data Branches
- Create and Store Strong Passwords
Comment 3•4 years ago
|
||
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Pushed by emcminn@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/06d53e1ac917 Fix for onboarding card image widths in smaller resolutions r=andreio
Comment 6•4 years ago
|
||
bugherder |
Comment 7•4 years ago
•
|
||
I have verified this issue using Firefox Nightly 76.0a1 (Build ID 20200401212659) on Windows 10x64, Mac OS 10.15 and Linux Ubuntu 18.04 and it is still reproducible in about:newtab page.
Please see attached screenshot.
Comment 8•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Updated•4 years ago
|
Assignee | ||
Comment 9•4 years ago
|
||
Comment 10•4 years ago
|
||
Pushed by emcminn@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3203a945e08f Added fix for card images to activity-stream.css r=andreio
Comment 11•4 years ago
|
||
bugherder |
Assignee | ||
Comment 12•4 years ago
|
||
Hi Valentina, would you mind verifying this for us again? The fix should now cover both about:welcome and about:newtab. We're going to request uplift once it's been verified. Thanks!
Comment 13•4 years ago
•
|
||
I have verified this using Firefox Nightly 77.0a1 (Build ID 20200407093520) on Windows 10 x64 and observed the following:
- about:welcome - Stay Alert to Data Breaches card image is not cut;
- about:newtab
- Stay Alert to Data Breaches card image is not cut;
- Instantly Send Yourself Tabs card image is not cut;
- Create and Store Strong Passwords card image is cut at full-screen browser dim (attaching a screenshot)
Comment 14•4 years ago
|
||
Based on the above comment I am changing the status to Verified.
Assignee | ||
Comment 15•4 years ago
|
||
So after some investigation by Andrei, we're going to re-write this patch a bit. Turns out the card image for Lockwise (create and store strong passwords) has slightly different dimensions than the others, which is causing this issue. We're going to go back to the spec and change how we're handling the image background/sizing to make sure that images of any size are placed correctly.
Assignee | ||
Comment 16•4 years ago
|
||
Assignee | ||
Comment 17•4 years ago
|
||
Updated•4 years ago
|
Comment 18•4 years ago
|
||
The patch landed in nightly and beta is affected.
:emcminn, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Comment 19•4 years ago
|
||
As I mentioned in comment 13, the "Lockwise" card is still cut.
- Create and Store Strong Passwords card image is cut at full-screen browser dim (attaching a screenshot)
Based in comment 15 and comment 13, I'll reopen this issue.
Updated•4 years ago
|
Assignee | ||
Comment 20•4 years ago
|
||
(In reply to Valentina Virlics [:vvalentina], Ecosystem QA from comment #19)
Created attachment 9140328 [details]
strng pass.pngAs I mentioned in comment 13, the "Lockwise" card is still cut.
- Create and Store Strong Passwords card image is cut at full-screen browser dim (attaching a screenshot)
Based in comment 15 and comment 13, I'll reopen this issue.
We have a new patch coming, just in review now :)
Comment 21•4 years ago
|
||
Pushed by emcminn@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cc092011bfe6 Background size and padding fix for Onboarding cards r=andreio
Assignee | ||
Comment 22•4 years ago
|
||
Hi again Valentina :P Hopefully this is the last time this needs verification. We're going to request uplift once it's been verified. Thanks!
Comment 23•4 years ago
|
||
bugherder |
Comment 24•4 years ago
|
||
I have verified that the issue is no longer reproducible on Firefox Nightly 77.0a1 Build ID 20200415215103 using Win 10, Linux Ubuntu 18.04 and Mac 10.15.
The "Create and Store Strong Passwords" card image is no longer cut.
Assignee | ||
Comment 25•4 years ago
|
||
Comment on attachment 9139533 [details]
Bug 1625913 - Background size and padding fix for Onboarding cards
Beta/Release Uplift Approval Request
- User impact if declined: Users will see incorrectly cut off card images at some screen widths.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Small CSS change that affects only the onboarding cards in about:newtab and about:welcome.
- String changes made/needed: none
Comment 26•4 years ago
|
||
Does the patch from comment 11 also need uplifting?
Assignee | ||
Comment 27•4 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #26)
Does the patch from comment 11 also need uplifting?
Nope, that one will actually now be obsolete.
Comment 28•4 years ago
|
||
Comment on attachment 9137830 [details]
Bug 1625913 - Added fix for card images to activity-stream.css
Right, but that patch won't graft cleanly if we don't take the other one first. I'm approving both under that assumption, but feel free to yell loudly if I'm misunderstanding.
Updated•4 years ago
|
Comment 29•4 years ago
|
||
bugherder uplift |
Assignee | ||
Comment 30•4 years ago
|
||
(In reply to Ryan VanderMeulen [:RyanVM] from comment #28)
Comment on attachment 9137830 [details]
Bug 1625913 - Added fix for card images to activity-stream.cssRight, but that patch won't graft cleanly if we don't take the other one first. I'm approving both under that assumption, but feel free to yell loudly if I'm misunderstanding.
Oh, yes of course you're right. I'm going to blame Friday.
Comment 31•4 years ago
|
||
I have verified that this is no longer reproducible on Firefox Beta 76.0b6 (Build ID 20200420031429) using Windows 10 x64, Linux Ubuntu 18.04 and Mac OS 10.15.
No image of any cards from about:newtab - Onboarding Triplets, gets cut.
Updated•4 years ago
|
Description
•