[wp-trac] [WordPress Trac] #40330: Reconsider the usage of infinite scrolling across the admin
WordPress Trac
noreply at wordpress.org
Sat Apr 1 14:57:13 UTC 2017
#40330: Reconsider the usage of infinite scrolling across the admin
----------------------------+--------------------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Resolution:
Keywords: a11y-task | Focuses: ui, accessibility, javascript
----------------------------+--------------------------------------------
Comment (by afercia):
About performance, I'm not familiar with profiling tools so anyone with
better skills than me is greatly welcome to help measuring memory
footprint issues. Checking the data reported by the Activity Monitor on my
operating system I've noticed the browser's memory usage can easily go way
higher than 1.5 GB after scrolling for a while in the Theme Installer
screen. This is on a modern, powerful macbook pro. I can't imagine what
happens on less powerful hardware or mobile devices. Not a surprise that,
on mobile devices, sometimes browsers simply crash, as reported in #28927.
Worth reminding the Theme installer screen loads hundreds of big images,
often 1200 by 900 pixels images. Also, unfortunately some themes use a
non-optimized `screenshot.png` image which in some cases weights more than
2 MB. The theme installer screen then displays these images in an area of
about 380 pixels, depending on the display's size, so I'd say loading such
big images is highly inefficient. Ideally, the theme submission process
should check for non-optimized images, or require an additional, smaller,
image with a file size limit. Maybe consider alternative image sources and
srcset and sizes, by the way these should be generated on the .org side.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/40330#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list