Closed
Bug 253242
Opened 22 years ago
Closed 22 years ago
Reduce footprint for Mozilla Suite help guide
Categories
(Documentation Graveyard :: Help Viewer, defect)
Documentation Graveyard
Help Viewer
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: prometeo.bugs, Assigned: prometeo.bugs)
Details
Attachments
(3 files, 6 obsolete files)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040620
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040620
By simply removing unused images and converting them to other formats, we could
save around 30K (on 96K). This can be accomplished in two steps:
1) Remove unused image files
2) Optimize (or convert) the remaining png files and fix the references in the
xhtml files.
Reproducible: Always
Steps to Reproduce:
There are many mage files which are not used by the help system, and can be
removed safely:
flag.gif
flag_column.gif
help_nav.gif
help_print.gif
mailicon.gif
newmailicon.gif
read.gif
read_column.gif
taskbar.png
taskbar-ab.gif
unread.gif (*)
This will save more than 17KB.
(*) this is referenced in xpinstall/packager/packages-mac, line 300: should a
patch for that be needed?
Patch coming up...
| Assignee | ||
Comment 1•22 years ago
|
||
Once committed, the image files should be cvs removed: I'm not sure on how to
do this.
Updated•22 years ago
|
Attachment #154446 -
Flags: review?(rlk)
Updated•22 years ago
|
Attachment #154446 -
Flags: review?(rlk) → review+
| Assignee | ||
Comment 3•22 years ago
|
||
Does this need sr?
Also, don't have checkin rights, so rj could you please check it in when all
is set?
TIA, Giacomo.
| Assignee | ||
Comment 4•22 years ago
|
||
Comment on attachment 154446 [details] [diff] [review]
Patch to remove unused images from the distribution
Obsoleting, since help_nav and help_print gifs are being reintroduced as of bug
253163 . New patch coming up.
Attachment #154446 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•22 years ago
|
||
| Assignee | ||
Updated•22 years ago
|
Attachment #155076 -
Flags: review?(rlk)
Comment 6•22 years ago
|
||
Comment on attachment 155076 [details] [diff] [review]
Updated patch. Reintroduced help_nav.gif, help_print.gif (both used in help_help.xhtml) and taskbar.png (used in composer_help.xhtml).
r=rlk@trfenv.com, looks good! No, super-review is not needed for Help. I'll
check this in once I get a tree.
Attachment #155076 -
Flags: review?(rlk) → review+
Comment 7•22 years ago
|
||
Fix checked in.
| Assignee | ||
Comment 8•22 years ago
|
||
| Assignee | ||
Comment 9•22 years ago
|
||
The original gif files can be removed after png's are checked in.
| Assignee | ||
Updated•22 years ago
|
Attachment #155158 -
Flags: review?(rlk)
| Assignee | ||
Comment 10•22 years ago
|
||
Attachment #155157 -
Attachment is obsolete: true
Updated•22 years ago
|
Attachment #155158 -
Flags: review?(rlk)
Attachment #155158 -
Flags: review+
Attachment #155158 -
Flags: approval1.8a3?
Comment 11•22 years ago
|
||
Comment on attachment 155158 [details] [diff] [review]
Patch to use above png's instead of gifs.
unsetting 1.8a3 approval request. we've shipped already.
Attachment #155158 -
Flags: approval1.8a3?
| Assignee | ||
Comment 12•22 years ago
|
||
No checkin rights. rjk, please?
| Assignee | ||
Updated•22 years ago
|
Attachment #155158 -
Attachment is obsolete: true
Attachment #155158 -
Flags: review+
| Assignee | ||
Comment 13•22 years ago
|
||
Comment on attachment 155160 [details]
Opps! Fixed permission bits...
Obsoleting, since a few checkins bitrotted the patch, and I've found 2 more
images which were wrongly removed. New patch and new list of files to delete
coming soon.
Attachment #155160 -
Attachment is obsolete: true
| Assignee | ||
Comment 14•22 years ago
|
||
Some images translated to png format, and added back mail_flag.png,
mail_flag_column.png and taskbar-ab.png which were accidentally removed, but
still used. These images total 44449 bytes. After checking those in, the images
in the list below can be removed (totalling 56461 bytes), saving around 12Kb
and obtaining complete docs (that is, showing correct images, all of them).
Files to be removed after checkin:
composer_icon.gif
help_nav.gif
locationbar.gif
personalbar.gif
search.gif
searchmusic.gif
sidebarclosed_small.gif
tabbed_browsing_bar.gif
Attachment #155076 -
Attachment is obsolete: true
| Assignee | ||
Comment 15•22 years ago
|
||
Here is the updated patch. I've added back the images used and accidentally
removed, and reordered the filenames in jar.mn. It includes also fixed image
references into the help files (touched only composer_help, customize_help,
help_help and nav_help).
| Assignee | ||
Updated•22 years ago
|
Attachment #157256 -
Flags: review?(rlk)
| Assignee | ||
Updated•22 years ago
|
Attachment #157257 -
Flags: review?(rlk)
Comment 16•22 years ago
|
||
Comment on attachment 157257 [details] [diff] [review]
Updated patch, added back mail_flag.png, mail_flag_column.png and taskbar-ab.png which are still used.
Neil, can you pick these up for me? Thanks!
Attachment #157257 -
Flags: review?(rlk) → review?(neil.parkwaycc.co.uk)
Comment 17•22 years ago
|
||
Comment on attachment 157257 [details] [diff] [review]
Updated patch, added back mail_flag.png, mail_flag_column.png and taskbar-ab.png which are still used.
I checked in everything except the tabbed browsing bar, which my graphics
package said was different.
Attachment #157257 -
Flags: review?(neil.parkwaycc.co.uk) → review+
| Assignee | ||
Comment 18•22 years ago
|
||
Don't know what was wrong with the previous image. Again, this is a straight
conversion to png format (PSP8). Neil, could one check this in and backout your
change to jar.mn (1.64 I think)? This will finally fix all of the docs, and the
bug can be closed as well.
| Assignee | ||
Updated•22 years ago
|
Attachment #157302 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 19•22 years ago
|
||
Comment on attachment 157302 [details]
Updated tabbed_browsing_bar.png
Sorry, this is still computing as different. (In case you're wondering, I can't
rely on visual inspection because I'm using 256 colour video).
Attachment #157302 -
Flags: review?(neil.parkwaycc.co.uk) → review-
| Assignee | ||
Comment 20•22 years ago
|
||
Another attempt at converting the image...
The same named gif should be then removed from cvs (if I finally got this
right!).
Sorry for wasting everybody's time...
| Assignee | ||
Updated•22 years ago
|
Attachment #157302 -
Attachment is obsolete: true
Comment 21•22 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Attachment #157256 -
Flags: review?(rlk) → review?(jwalden+fxhelp)
Comment 22•21 years ago
|
||
Comment on attachment 157256 [details]
Some images translated to PNG format
I'm not sure I have either the knowledge or the time to review this. If it
needs to be done, someone else will have to do it, because I'm swamped with a
ton of things right now and can't do this.
Attachment #157256 -
Flags: review?(jwalden+fxhelp)
| Assignee | ||
Comment 23•21 years ago
|
||
These updates have been already checked into mozilla seamonkey tree. Are you
planning to ship these into FX??? I tought the images were totally different. I
don't understand what's going on...
Comment 24•21 years ago
|
||
I'm verifying this. However, I still see some unused images in the image dir.
Will open a new bug instead ;)
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•