Closed Bug 1012638 Opened 11 years ago Closed 11 years ago

Broken redirect error page has a badly sized icon

Categories

(Firefox :: Theme, defect)

32 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 32
Tracking Status
firefox32 --- verified

People

(Reporter: robin, Assigned: jfkthame)

References

Details

Attachments

(3 files)

Attached image broken_icon.png
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0 (Beta/Release) Build ID: 20140518030203 Steps to reproduce: Visit a page with a broken redirect (I hit the problem on http://www.gamespot.com/a/forum/temp-forum-slug-25818469/ ) Actual results: The new icon is way too large, presumably because the text is breaking onto two lines and the SVG icon is sizing to fit. Expected results: The icon should be the same height as on the 404 page (see attached screenshots)
Hi, I was able to reproduce it in latest Nightly on Debian Sid Mozilla/5.0 (X11; Linux x86_64; rv:32.0) Gecko/20100101 Firefox/32.0 ID:20140519030202 CSet: 41a54c8add09. The image is indeed too large in the broken redirect error page. Other error pages ("server not found", "unable to connect") look fine. @Liz: Any idea in which product/component I should put this? I've searched a bit, but I really have no idea :)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(lhenry)
Whiteboard: [bugday-20140519]
Component: Untriaged → Theme
Blocks: 982347
Flags: needinfo?(lhenry)
I think this depends from bug 1009563, and it's going to hit l10n very hard. For example, in Italian I see this problem more often than English.
Yes, this is a result of bug 1009563. IMO, the two-line titles look pretty bad in themselves; such a large "headline" font size is really only suited to a short, single-line title. Can we allow more width here, so that they don't wrap?
Blocks: 1009563
Attached image the horror
I don't think it would be safe to assume that a localized string can fit into one line (and these pages are also hard to test).
OK, so we'd better revert bug 1009563, and perhaps see if we can fix it in a different way. (Sigh.)
Here's an alternative, more robust implementation. Instead of "attaching" the icon to #errorTitle, where the font size for the heading is not yet set (leading to the fragile sizing that bug 1009563 wanted to fix), we can attach it to #errorTitleText and size/position it relative to the header font size. This appears to work fine across varying font sizes and with multi-line titles.
Attachment #8425425 - Flags: review?(bmcbride)
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Attachment #8425425 - Flags: review?(bmcbride) → review+
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
(In reply to Jonathan Kew (:jfkthame) from comment #8) > https://hg.mozilla.org/integration/mozilla-inbound/rev/96f69a915843 Please land browser patches on fx-team. We hit a merge conflict due to this.
(In reply to Ryan VanderMeulen [:RyanVM UTC-4] from comment #10) > (In reply to Jonathan Kew (:jfkthame) from comment #8) > > https://hg.mozilla.org/integration/mozilla-inbound/rev/96f69a915843 > > Please land browser patches on fx-team. We hit a merge conflict due to this. Sorry about that. I don't keep an fx-team tree around, so inbound is the natural place for me to push. I guess I could have just marked it checkin-needed instead; but then whoever tried to push it (or the other patch involved) would still have encountered the same conflict.
Hi, changing it to All/All as per comment 1, so that we will have it verified on all the platforms.
OS: Mac OS X → All
Hardware: x86 → All
Hi, I verified the fix on: - Debian Linux x86_64: reproduced on Firefox/32.0 ID:20140519030202 and successfully verified Firefox/32.0 ID:20140522030204 (latest Nightly) - Windows 7 x86_64: reproduced on Firefox/32.0 ID:20140521 and successfully verified on Firefox/32.0 ID:20140522030204 (latest Nightly) Marking Verified as I tested 2 out of 3 platforms. Cheers, Francesca
Status: RESOLVED → VERIFIED
QA Whiteboard: [bugday-20140519]
Whiteboard: [bugday-20140519]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: