Closed Bug 431013 Opened 16 years ago Closed 16 years ago

FTP view is not using new folder icons on XP and Vista

Categories

(Core :: Networking, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9

People

(Reporter: faaborg, Assigned: Gavin)

References

Details

Attachments

(3 files, 4 obsolete files)

The folders in our ftp view need to be refreshed to the new icons:

Vista folder:
http://mxr.mozilla.org/seamonkey/source/toolkit/themes/winstripe/global/dirListing/local-aero.png

Vista remote computer:
http://mxr.mozilla.org/seamonkey/source/toolkit/themes/winstripe/global/dirListing/remote-aero.png

XP Folder:
http://mxr.mozilla.org/seamonkey/source/toolkit/themes/winstripe/global/dirListing/local.png

OS X remote computer:
http://mxr.mozilla.org/seamonkey/source/toolkit/themes/pinstripe/global/dirListing/remote.png

Are all of these images stored in cdata somewhere?  It would be useful to have a list of icons that don't get refreshed just by landing the new ones.
These aren't updated because of bug 388553. Need to update the hardcoded images at http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/netwerk/streamconv/converters/nsIndexedToHTML.cpp&rev=1.92#475 .
Component: Theme → Networking
Product: Firefox → Core
QA Contact: theme → networking
What are the limitations for platform specific themeing?  It looks like the patch in bug 424877 got rid of the famfamfam icons, up is being themed correctly since it is not hardcoded.  What I can't figure out is why the folders on OS X look right when windows doesn't differentiate.  Also if the folders on OS X are right, then the remote computer should be as well.
(In reply to comment #1)
> These aren't updated because of bug 388553. Need to update the hardcoded images
> at
> http://bonsai.mozilla.org/cvsblame.cgi?file=mozilla/netwerk/streamconv/converters/nsIndexedToHTML.cpp&rev=1.92#475
> .

The folder icons aren't hardcoded.
Assignee: nobody → dao
Actually I'm wrong, that bug is just about the favicon. We just need to add the appropriate style rules to toolkit/themes/winstripe/global/dirListing/dirListing.css (.dir, .symlink, etc.). Currently they are falling back to the default style hardcoded in the C++, which uses http://lxr.mozilla.org/seamonkey/source/layout/generic/folder.png .
Attached patch patch (obsolete) — Splinter Review
Assignee: dao → gavin.sharp
Status: NEW → ASSIGNED
Attachment #317972 - Flags: review?(dao)
Attachment #317972 - Flags: review?(dao) → review+
Attached patch patch (obsolete) — Splinter Review
Talked to Alex on IRC - going to rename the local* images to be folder* images, since that's what they're for, and Alex is going to make new images to replace local/local-aero, and we'll update the hardcoded images with those (and also land the files themselves so that they're ready for when bug 388553 is fixed).
Attachment #317972 - Attachment is obsolete: true
Attached image local-favicon.png
Talking to Gavin on irc, it turns out we have to use the same favicons for ftp:// and file:// across platforms.  We will use aero-remote for ftp:// on all platforms, and an aero style hard drive (attached) for file://
Comment on attachment 317975 [details] [diff] [review]
patch

CSS changes to correctly style the folder icons in ftp:/file: directory listings. Will patch the favicons separately.
Attachment #317975 - Flags: approval1.9?
Attached patch favicon changes (obsolete) — Splinter Review
This patch:
1) overwrites the current local.png with attachment 317976 [details]
2) removes local-aero.png
3) replaces hardcoded icons in nsIndexedToHTML.cpp with data: URI versions of local.png and remote-aero.png

When bug 388553 is fixed, we should be able to just remove the hardcoded versions and uncomment the reference to chrome:// icons.
Attachment #317977 - Flags: superreview?(jst)
Attachment #317977 - Flags: review?(dao)
Attached patch favicon changes (corrected) (obsolete) — Splinter Review
Uploaded the wrong patch.
Attachment #317977 - Attachment is obsolete: true
Attachment #317978 - Flags: superreview?(jst)
Attachment #317978 - Flags: review?(dao)
Attachment #317977 - Flags: superreview?(jst)
Attachment #317977 - Flags: review?(dao)
Attachment #317978 - Flags: review?(dao) → review+
Attachment #317978 - Flags: superreview?(jst) → superreview+
Comment on attachment 317978 [details] [diff] [review]
favicon changes (corrected)

No-risk changes to icons to be consistent across platforms.
Attachment #317978 - Flags: approval1.9?
Hardware: All → PC
Target Milestone: --- → mozilla1.9
Attached patch combined patchSplinter Review
Attachment #317975 - Attachment is obsolete: true
Attachment #317978 - Attachment is obsolete: true
Attachment #318122 - Flags: approval1.9?
Attachment #317975 - Flags: approval1.9?
Attachment #317978 - Flags: approval1.9?
Comment on attachment 318122 [details] [diff] [review]
combined patch

a1.9+=damons
Attachment #318122 - Flags: approval1.9? → approval1.9+
mozilla/toolkit/themes/winstripe/global/jar.mn 	1.56
mozilla/toolkit/themes/winstripe/global/dirListing/dirListing.css 	1.7
mozilla/toolkit/themes/winstripe/global/dirListing/folder-aero.png 	1.1
mozilla/toolkit/themes/winstripe/global/dirListing/folder.png 	1.1
mozilla/toolkit/themes/winstripe/global/dirListing/local.png 	1.4
mozilla/toolkit/themes/winstripe/global/dirListing/local-aero.png 	 
mozilla/netwerk/streamconv/converters/nsIndexedToHTML.cpp 	1.93 
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: