WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 21 months ago

#30401 new defect (bug)

Media Library Crashes Browser Frequently

Reported by: leedman Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.0
Component: Media Keywords: needs-testing
Focuses: ui Cc:

Description

Since the updates to Media Library issue of Chrome crashing 1) as I scroll through the many images that auto-scroll when it would be better to paginate the sheer number, and 2) when users uploaded very large files, Media Library crashed just trying to load.

Change History (5)

#1 @valendesigns
4 years ago

  • Keywords 2nd-opinion added

I'm not sure if the Media Library utilizes lazy loading, but if it doesn't maybe it could solve this issue?

#2 @johnbillion
4 years ago

  • Focuses ui added
  • Keywords ux-feedback added

I'd like to see us introduce pagination back into the media manager in place of infinite scrolling.

#3 @helen
3 years ago

  • Keywords ux-feedback removed

I happen to like the infinite scrolling - I do wonder if this is performing better after [31039], though. We should probably look into removing items from the DOM when they are out of view whenever we do infinite scroll, like in http://airbnb.github.io/infinity/.

#4 @swissspidy
3 years ago

  • Keywords needs-testing added; 2nd-opinion removed

#5 @djsteveb
21 months ago

I have noticed this problem several times. I think the infinite scroll is a factor, and there should be a checkbox to turn it off / chagne to pagination, and give an option to choose the amount of images / thumbnails that get displayed per page - with some of my wp sites 20-40 would be fine.. others I'd like to limit it to 10 in order to avoid the browser bog down / crash.

I've noticed the issue gets worse if the images uploaded were higher resolution / bigger memory issues, and the thumbnails take longer to load and bog down the browser.

This issue is terrible if you are an admin with a buddypress setup running rtmedia - in those cases all the images from all users are loaded into the 'view media library' page - and it crashes often.

Would love to see an admin menu / settings / where you could chose to do paginated media library viewing, and by default only load images that are uploaded by admin (not the other users) - and selections like this. So that you don't have to go to the crashing media library page to try to select options.

Note: See TracTickets for help on using tickets.