Closed Bug 335725 Opened 18 years ago Closed 18 years ago

turn on file icons in the download manager on Mac OS X

Categories

(Toolkit :: Downloads API, defect, P1)

PowerPC
macOS
defect

Tracking

()

VERIFIED FIXED
mozilla1.8.1alpha2

People

(Reporter: jaas, Assigned: asaf)

References

Details

(Keywords: fixed1.8.1)

Attachments

(3 files)

We couldn't have file icons in the download manager before because they looked terrible. I rewrote the Mac OS X icon decoder so they use proper 8-bit alpha and as soon as that lands we can turn them on.
Attached patch fix v1.0 (deleted) — Splinter Review
Depends on: 335723
Flags: blocking-firefox2?
If you download a file, the icon shows up in the dl manager and everything is fine. However, if you then close the browser and open it again to the download manager, the icon is blank. Ben Goodger suggested that this might have something to do with our download item fading code, that someone the opacity of the icon is not getting adjusted. We need to fix this before we turn on download manager icons.
note to myself or whoever else wants to look at the problem in comment #2, the fade code seems to be in mozilla/toolkit/mozapps/downloads/content/download.xml
Reassigning to Mano as he seems to have some idea of what is going on re: comment #2.
Assignee: joshmoz → bugs.mano
FWIW, I'm good to go on this change, assuming it works correctly.  Icons are shiny!
Comment on attachment 220046 [details] [diff] [review]
fix v1.0

a=mconnor over irc to land it for a2 without fixing the old-downloads case.

I will keep this bug open for this issue (target: b1).
Attachment #220046 - Flags: review+
Attachment #220046 - Flags: approval-branch-1.8.1+
Status: NEW → ASSIGNED
Target Milestone: --- → Firefox 2 beta1
1.8: Checking in download.xml;
/cvsroot/mozilla/toolkit/mozapps/downloads/content/download.xml,v  <--  download.xml
new revision: 1.20.2.2; previous revision: 1.20.2.1
done

will do the trunk checkin later.
Priority: -- → P1
Attached patch eek v1.0 (deleted) — Splinter Review
bug 239948 tells me this also might be an issue on WIN32 as well in some cases, so i'm not #ifdefing this for now.
Attachment #221085 - Flags: review?(mconnor)
Attachment #221085 - Flags: approval-branch-1.8.1?(mconnor)
Attachment #221085 - Attachment description: eek → eek v1.0
Attached patch diffeek10 -w (deleted) — Splinter Review
Mano - what does "eek v1.0" fix? It doesn't seem to fix the missing icons when you restart the browser.
Josh: did you make in both toolkit/components/ (not just toolkit) and browser/?
I had only built in toolkit/, not toolkit/components/. This does seem to fix the problem. Nice work Mano!
(In reply to comment #7)
> will do the trunk checkin later.

Don't forget, or it'll regress in the next release.
Priority: P1 → --
Priority: -- → P1
If we could try to get this landed on the 1.8.1 branch by Monday morning that would be great. We are approved by drivers via email.
Comment on attachment 221085 [details] [diff] [review]
eek v1.0

ok, ship it!
Attachment #221085 - Flags: review?(mconnor)
Attachment #221085 - Flags: review+
Attachment #221085 - Flags: approval-branch-1.8.1?(mconnor)
Attachment #221085 - Flags: approval-branch-1.8.1+
1.8 branch: Checking in src/nsDownloadManager.cpp;
/cvsroot/mozilla/toolkit/components/downloads/src/nsDownloadManager.cpp,v  <--  nsDownloadManager.cpp
new revision: 1.53.2.8; previous revision: 1.53.2.7
done
Keywords: fixed1.8.1
Flags: blocking-firefox2?
OS: Mac OS X 10.2 → Mac OS X 10.4
Target Milestone: Firefox 2 beta1 → Firefox 2 alpha2
trunk:
Checking in download.xml;
/cvsroot/mozilla/toolkit/mozapps/downloads/content/download.xml,v  <--  download.xml
new revision: 1.23; previous revision: 1.22
done
Checking in nsDownloadManager.cpp;
/cvsroot/mozilla/toolkit/components/downloads/src/nsDownloadManager.cpp,v  <--  nsDownloadManager.cpp
new revision: 1.64; previous revision: 1.63
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Verified FIXED using:

Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b3pre) Gecko/2007123104 Minefield/3.0b3pre
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: