Closed Bug 352971 Opened 18 years ago Closed 18 years ago

using_firebird.xhtml: wrong size of images urlbar.png and searchbar.png

Categories

(Firefox Graveyard :: Help Documentation, defect)

2.0 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 2

People

(Reporter: flod, Assigned: reed)

Details

(Keywords: fixed1.8.1, late-l10n)

Attachments

(1 file, 1 obsolete file)

After this change https://bugzilla.mozilla.org/show_bug.cgi?id=346888, images are displayed with the wrong size.

For urlbar.png: 320x30 instead of 308x24
http://www.mozilla.org/projects/firefox/help/2.0/urlbar.png

For searchbar.png: 134x30 instead of 236x95
http://www.mozilla.org/projects/firefox/help/2.0/searchbar.png
Attached patch alters sizes noted (obsolete) — Splinter Review
Comment on attachment 238825 [details] [diff] [review]
alters sizes noted

We should remove the width and height attributes altogether so we can replace the images in the future, even post-release, without having to use the exact same dimensions.
(For instance, I regard the searchbar image as pretty large.)

The document will shift slightly when the images are loaded, but only the first time since the images are cached. This is different from Help in Firefox 1.0, where the documents would've jumped heavily because of the screenshots of the options dialogs and extensions/theme manager.
Attachment #238825 - Flags: review-
Must-fix for Firefox 2. Patch is simple, just remove the width and height attributes.
Flags: blocking-firefox2?
OS: Mac OS X 10.4 → All
Hardware: Macintosh → All
Assignee: nobody → reed
Status: NEW → ASSIGNED
As per comment #2 / comment #3, just remove the width and height attributes altogether.
Attachment #238825 - Attachment is obsolete: true
Attachment #239035 - Flags: review?(steffen.wilberg)
Attachment #239035 - Flags: approval1.8.1?
Comment on attachment 239035 [details] [diff] [review]
Remove width and height attribs

Thanks, r=me.
Attachment #239035 - Flags: review?(steffen.wilberg) → review+
(In reply to comment #3)
> Must-fix for Firefox 2. Patch is simple, just remove the width and height
> attributes.

... and affects each and every locale at the same size. Wouldn't it be easier to redo the screenshots to have the old size? Maybe just pad them with transparency.
> Wouldn't it be easier to redo the screenshots to have the old size? Maybe just 
> pad them with transparency.

If you change size of online images this will affect at least italian locale: since we were so close to the cvs freeze, I saw the first patch proposed and changed using_firebird.xhtml with updated sizes.

Other locales are not affected unless they take the change from bug 346888 from 4 days ago, which changed the base URI of the help images. And if they take that, they should take this change as well.

Here are searches for the old dimensions:
http://lxr.mozilla.org/l10n-mozilla1.8/search?string=width%3D%2522320
http://lxr.mozilla.org/l10n-mozilla1.8/search?string=width%3D%2522134

(in reply to comment 7)
Francesco, this is getting relly difficult to fix if some (almost all) locales hardcode the old size and others (yours) the new size...
Keywords: late-l10n
Comment on attachment 239035 [details] [diff] [review]
Remove width and height attribs

a=mconnor on behalf of drivers for 1.8 branch checkin.
Attachment #239035 - Flags: approval1.8.1? → approval1.8.1+
gavin landed this branch and trunk
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Flags: blocking-firefox2? → blocking-firefox2+
Keywords: fixed1.8.1
Resolution: --- → FIXED
Comment on attachment 239035 [details] [diff] [review]
Remove width and height attribs

mozilla/browser/locales/en-US/chrome/help/using_firebird.xhtml 	1.41

MOZILLA_1_8_BRANCH:
mozilla/browser/locales/en-US/chrome/help/using_firebird.xhtml 	1.29.2.14
(In reply to comment #8)
> Francesco, this is getting relly difficult to fix if some (almost all) locales
> hardcode the old size and others (yours) the new size...

I know... Unfortunately this is an inevitable consequence of the short time (4 days) left to localizers to make such big updates on the documentation (also en-US documentation is not perfect, see bug 352968 still marked as NEW).

Even this is not the right place, I think it's time to make some serious reflections about moving help out of the build process (I've already made my suggestions in a discussion on mozilla.dev.l10n).
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: