Closed
Bug 481739
Opened 16 years ago
Closed 16 years ago
firstrun_splash.png eats startup time
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
fennec1.0b1
People
(Reporter: taras.mozilla, Assigned: mfinkle)
References
Details
Attachments
(5 files, 3 obsolete files)
tried converting that file to a gif, saved at least half a second.
Reporter | ||
Comment 1•16 years ago
|
||
pngcrush does not help much, still about 50times slower than gif according to my measurements
Assignee | ||
Comment 2•16 years ago
|
||
I wonder what we could do in the PNG decoder to make things faster. We favor PNG for all our UI images.
But yeah, we could certainly change that one.
Assignee | ||
Comment 3•16 years ago
|
||
Comment 4•16 years ago
|
||
I've rebuilt the page, using a new, smaller background + PNG. PNG 8-bit saved smaller than GIF in PS.
We've gone from 264Kb of images to 48kb.
Comment 5•16 years ago
|
||
revised Splash GIF.
Simply update index.html to reflect extension change.
Assignee | ||
Comment 6•16 years ago
|
||
This patch:
* adds the new firstrun_splash.gif and firstrun_background.gif files
* removes the DTD
* moves CSS into the firstrun.xhtml file
* removes the CSS file
* changes the <title> to "Fennec"
* makes the changes to both hildon and wince themes
Assignee: nobody → mark.finkle
Attachment #365921 -
Flags: review?(gavin.sharp)
Assignee | ||
Comment 7•16 years ago
|
||
I forgot to remove the DTD from the locale jar.mn
Attachment #365921 -
Attachment is obsolete: true
Attachment #365925 -
Flags: review?(gavin.sharp)
Attachment #365921 -
Flags: review?(gavin.sharp)
Reporter | ||
Comment 8•16 years ago
|
||
you also need to rename xhtml -> html to avoid loading xhtml dtd
Assignee | ||
Comment 9•16 years ago
|
||
renames the firstrun.xhtml to firstrun.html
Attachment #365925 -
Attachment is obsolete: true
Attachment #365933 -
Flags: review?(gavin.sharp)
Attachment #365925 -
Flags: review?(gavin.sharp)
Reporter | ||
Comment 10•16 years ago
|
||
I'm sorry, the xhtml dtd is still being loaded, damned if I know why. I remember trying to debug this before and giving up. I think that dtd is in a jar, so it should be fast to load.
I sliced off a pixel from width on _splash.gif and the black line rounding bug went away for default res(heh!).
The font css is redundant, I don't see any diff when I remove the rest of css too.
Reporter | ||
Comment 11•16 years ago
|
||
also, I don't think the absolute filenames are needed.
Reporter | ||
Comment 12•16 years ago
|
||
Assignee | ||
Updated•16 years ago
|
Attachment #365951 -
Attachment is patch: false
Attachment #365951 -
Attachment mime type: text/plain → image/gif
Assignee | ||
Comment 13•16 years ago
|
||
this patch adds Taras' new image (hides rounding problem) and corrects aboutFirstrun.js
This is the one for b1!
Attachment #365933 -
Attachment is obsolete: true
Attachment #365954 -
Flags: review?(gavin.sharp)
Attachment #365933 -
Flags: review?(gavin.sharp)
Updated•16 years ago
|
Attachment #365954 -
Flags: review?(gavin.sharp) → review+
Assignee | ||
Comment 14•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → Fennec A3
Comment 15•16 years ago
|
||
Any idea how this is supposed to be be localized now?
Assignee | ||
Comment 16•16 years ago
|
||
(In reply to comment #15)
> Any idea how this is supposed to be be localized now?
The new image has the same text as the old image. "Welcome to Fennec" (the "Welcome to" is white)
So we are no worse off than before. However, we do need a plan for localizing it. We could always drop the "Welcome to" part as well.
Comment 17•16 years ago
|
||
can the text be made part of the html page?
Comment 18•16 years ago
|
||
We shouldn't make html part of l10n, but we could post-process something with a foo.inc file.
Assignee | ||
Comment 19•16 years ago
|
||
(In reply to comment #18)
> We shouldn't make html part of l10n, but we could post-process something with a
> foo.inc file.
Agreed. I was going to suggest that, but was afraid you would yell at me :)
You need to log in
before you can comment on or make changes to this bug.
Description
•