Closed Bug 253242 Opened 22 years ago Closed 22 years ago

Reduce footprint for Mozilla Suite help guide

Categories

(Documentation Graveyard :: Help Viewer, defect)

defect
Not set
normal

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...
Once committed, the image files should be cvs removed: I'm not sure on how to do this.
Attachment #154446 - Flags: review?(rlk)
--> giacomo.magnini
Assignee: rlk → giacomo.magnini
Attachment #154446 - Flags: review?(rlk) → review+
Does this need sr? Also, don't have checkin rights, so rj could you please check it in when all is set? TIA, Giacomo.
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
Attachment #155076 - Flags: review?(rlk)
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+
Fix checked in.
The original gif files can be removed after png's are checked in.
Attachment #155158 - Flags: review?(rlk)
Attached file Opps! Fixed permission bits... (obsolete) —
Attachment #155157 - Attachment is obsolete: true
Attachment #155158 - Flags: review?(rlk)
Attachment #155158 - Flags: review+
Attachment #155158 - Flags: approval1.8a3?
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?
No checkin rights. rjk, please?
Attachment #155158 - Attachment is obsolete: true
Attachment #155158 - Flags: review+
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
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
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).
Attachment #157256 - Flags: review?(rlk)
Attachment #157257 - Flags: review?(rlk)
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 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+
Attached image Updated tabbed_browsing_bar.png (obsolete) —
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.
Attachment #157302 - Flags: review?(neil.parkwaycc.co.uk)
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-
Attached image Third attempt
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...
Attachment #157302 - Attachment is obsolete: true
Fix checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Attachment #157256 - Flags: review?(rlk) → review?(jwalden+fxhelp)
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)
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...
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.

Attachment

General

Created:
Updated:
Size: