Closed
Bug 1209476
Opened 9 years ago
Closed 9 years ago
[Music][NGA] Thumbnails are too large
Categories
(Firefox OS Graveyard :: Gaia::Music, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wilsonpage, Assigned: squib)
References
Details
Attachments
(1 file)
Currently thumbnails can be as large as 600x600. This is far too large for Gecko to render and maintain <gaia-fast-list> scrolling performance. We should have two version of the default album artwork 'large' and 'thumbnail' and only load the large when needed.
Assignee | ||
Comment 1•9 years ago
|
||
Are you sure? I wrote the thumbnail generator, and it caps the size at 300x300px.
Comment 2•9 years ago
|
||
(In reply to Jim Porter (:squib) from comment #1) > Are you sure? I wrote the thumbnail generator, and it caps the size at > 300x300px. Yes, we are resizing thumbnails to 300x300px. However, default album art never gets resized and we do not generate thumbnails for them. We probably need to pre-shrink default album art into 300x300px thumbnails and have them available for when the app requests a thumbnail version of a song with default album art.
Assignee | ||
Comment 3•9 years ago
|
||
Ah, ok. Since this is in the metadata parser (sort of), I'll take this.
Assignee: nobody → squibblyflabbetydoo
Assignee | ||
Updated•9 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 4•9 years ago
|
||
Scroll performance dramatically improved after changing the default album artwork to 60x60 thumbnail.
Assignee | ||
Comment 5•9 years ago
|
||
I wonder how much scrolling will improve once we make all the duplicate images use the same blob URLs.
Reporter | ||
Comment 6•9 years ago
|
||
(In reply to Jim Porter (:squib) from comment #5) > I wonder how much scrolling will improve once we make all the duplicate > images use the same blob URLs. I don't think it will impact much. 90% of our time is spent in gfx related stuff.
Comment 7•9 years ago
|
||
(In reply to Wilson Page [:wilsonpage] from comment #6) > (In reply to Jim Porter (:squib) from comment #5) > > I wonder how much scrolling will improve once we make all the duplicate > > images use the same blob URLs. > > I don't think it will impact much. 90% of our time is spent in gfx related > stuff. Right, but it should help our memory consumption once squib fixes the backend to use the same blob URL for duplicate images which is another area we need to optimize as well as speed.
Comment 8•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
Attachment #8672064 -
Flags: review?(jdarcangelo)
Updated•9 years ago
|
Attachment #8672064 -
Flags: review?(jdarcangelo) → review+
Assignee | ||
Comment 9•9 years ago
|
||
Landed: https://github.com/mozilla-b2g/gaia/commit/c3a5bf3af7e61045e1b8757db992ec734a9f3f36
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Reporter | ||
Comment 10•9 years ago
|
||
These thumbnails are still too large (300x300). We need to be aiming for about 100x100 (ideally smaller) to give us decent scrolling performance on low-end hardware. Squib, thoughts?
Flags: needinfo?(squibblyflabbetydoo)
Comment 11•9 years ago
|
||
(In reply to Wilson Page [:wilsonpage] from comment #10) > These thumbnails are still too large (300x300). We need to be aiming for > about 100x100 (ideally smaller) to give us decent scrolling performance on > low-end hardware. > > Squib, thoughts? This was mainly to improve performance on the tiles view, I believe. I have already talked to :squib about introducing a 3rd size for smaller thumbnails for the list views.
Reporter | ||
Comment 12•9 years ago
|
||
Reopening this to track getting thumbnails small enough to get good scrolling performance on list views.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 13•9 years ago
|
||
(In reply to Wilson Page [:wilsonpage] from comment #12) > Reopening this to track getting thumbnails small enough to get good > scrolling performance on list views. I'm closing this to instead track the API modifications in Bug 1213853. The purpose of this bug was to simply address the issues with the default album art not having any thumbnails at all. Now that this is fixed, we will require some API changes to support a second thumbnail size specifically for list views.
Status: REOPENED → RESOLVED
Closed: 9 years ago → 9 years ago
Flags: needinfo?(squibblyflabbetydoo)
Resolution: --- → FIXED
See Also: → 1213853
You need to log in
before you can comment on or make changes to this bug.
Description
•