Closed
Bug 593217
Opened 14 years ago
Closed 14 years ago
Detail view always shows full screenshot, not thumbnail
Categories
(Toolkit :: Add-ons Manager, defect)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla2.0b7
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta7+ |
People
(Reporter: Unfocused, Assigned: mossop)
References
Details
(Whiteboard: [good first bug])
Attachments
(2 files)
4.42 KB,
patch
|
Unfocused
:
review+
|
Details | Diff | Splinter Review |
84.16 KB,
image/jpeg
|
Details |
Added in bug 562902, the details view is always showing the full screenshot, instead of the thumbnail.
See:
http://mxr.mozilla.org/mozilla-central/source/toolkit/mozapps/extensions/content/extensions.js#1623
It should be using screenshots[0].thumbnailURL - not screenshots[0].thumbnail
Reporter | ||
Updated•14 years ago
|
blocking2.0: --- → ?
Whiteboard: [good first bug]
Comment 1•14 years ago
|
||
But if no thumbnail is provided we would still show the full screenshot, at least given by the else path of the condition. That would break the UI too.
Reporter | ||
Comment 2•14 years ago
|
||
Yea, I made the same comment in the review of bug 562902. Dave was going to file a separate bug for that.
Comment 3•14 years ago
|
||
There hasn't been filed a follow-up yet. So should we stop displaying the full screenshot for now until a module is available which scales down larger screenshots?
Assignee | ||
Comment 4•14 years ago
|
||
Going to check with AMO guys but I believe that we will always get a thumbnail for a screenshot, the only case where we wouldn't have one is for themes where we haven't downloaded the AMO data yet in which case we only have their full-sized preview.png but these are generally small enough so I suspect we will be ok just by fixing this bug for now.
blocking2.0: ? → beta6+
Assignee | ||
Comment 5•14 years ago
|
||
Silly mistake, easily fixed and tested
Reporter | ||
Updated•14 years ago
|
Attachment #471889 -
Flags: review?(bmcbride) → review+
Reporter | ||
Comment 6•14 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite+
Flags: in-litmus-
Resolution: --- → FIXED
Reporter | ||
Updated•14 years ago
|
Target Milestone: --- → mozilla2.0b6
Comment 7•14 years ago
|
||
VERIFIED FIXED w/ Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b7pre) Gecko/20100917 Firefox/4.0b7pre
Status: RESOLVED → VERIFIED
Comment 8•14 years ago
|
||
Do we have a max width set for thumbnails? Any theme from Firefox Cup has a screenshot/thumbnail which takes all the available width, i.e. https://addons.mozilla.org/en-US/firefox/addon/169343/
Assignee | ||
Comment 9•14 years ago
|
||
(In reply to comment #8)
> Do we have a max width set for thumbnails? Any theme from Firefox Cup has a
> screenshot/thumbnail which takes all the available width, i.e.
> https://addons.mozilla.org/en-US/firefox/addon/169343/
You're seeing those in the add-ons manager?
Comment 10•14 years ago
|
||
(In reply to comment #9)
> You're seeing those in the add-ons manager?
Yes, see the attachment. New bug?
Assignee | ||
Comment 11•14 years ago
|
||
(In reply to comment #10)
> Created attachment 476556 [details]
> screenshot
>
> (In reply to comment #9)
> > You're seeing those in the add-ons manager?
>
> Yes, see the attachment. New bug?
Yes get it filed and we'll figure it out.
Comment 12•14 years ago
|
||
Filed as bug 598670.
You need to log in
before you can comment on or make changes to this bug.
Description
•