Closed Bug 1088742 Opened 10 years ago Closed 9 years ago

Download Progress Bar in Dock/App Switcher looks broken

Categories

(Toolkit :: Downloads API, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1148911

People

(Reporter: shorlander, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The progress bar on the Firefox icon uses the new thinner Yosemite progress bar but still has it inside a taller box with a white background.

Expected result: Just show progress bar with no background.

Relevant bug: bug 548763
Component: Theme → Download Manager
Product: Firefox → Toolkit
Well, this is annoying. It's not clear to me that there's any general way to do this that works on all Mac OS X from 10.6 to 10.10. Unless someone can come up with one, we'll have to look at the OS version and swap implementations.

Either:
* On 10.10+, draw the white background differently. I don't know which areas of the progress bar are transparent, we'd have to figure that out.
* On 10.9+, use -[NSProgress publish] to make the progress bar appear. It would be on the Downloads folder (if that's in the Dock), instead of on Firefox's Dock icon.
I think you want NSProgressIndicatorThickness which should have the correct value based on the OS it's running on, if it doesn't that's a bug and we should report it.


https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSProgressIndicator_Class/index.html#//apple_ref/c/tdef/NSProgressIndicatorThickness
There's a patch in bug 1148911 so duping forward to there.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: