[wp-trac] [WordPress Trac] #50025: Media Library (Ajax) Filters Not Showing New Uploads
WordPress Trac
noreply at wordpress.org
Wed Apr 29 15:28:44 UTC 2020
#50025: Media Library (Ajax) Filters Not Showing New Uploads
--------------------------+------------------------------
Reporter: teamdnk | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 5.4
Severity: normal | Resolution:
Keywords: | Focuses: ui, javascript
--------------------------+------------------------------
Changes (by afercia):
* focuses: ui, javascript, administration => ui, javascript
Comment:
@teamdnk thanks for your report and welcome to Trac.
I can reproduce what you reported but only partially. It seems to me the
actual behavior differs depending on the editor used and on the state of
the media selection. Would you mind clarifying a few things?
- I assume you're using WordPress 5.4, correct?
- Are you using the Classic Editor or the Block Editor?
- Do you have any activated plugin and are you using a default theme? If
so, please confirm that the issue still exists with the default theme
(Twenty Twenty) activated and all other plugins deactivated.
From what I can tell, based on my testing:
**Media Library (grid mode)**
- when switching back to "All dates", the new media are visible for me
**Media Modal with the Classic Editor**
- When uploading one or more images, they're automatically "selected" and
the selection state is visible in the bottom bar:
[[Image(http://cldup.com/TUziTp2K_w.png)]]
[[Image(http://cldup.com/21NCs75Eej.png)]]
- Keeping the selection: when I switch back to "All dates", the new media
are visible for me.
- Clearing the selection: when I switch back to "All dates", the new media
are ''not'' visible. I think this has always been the case with the media
modal. Not saying it shouldn't be fixed. It's just to clarify it's an
issue that probably exists since the introduction of the media modal or,
maybe, since the introduction of the "date" filter in WordPress 4.1.
- In all cases, there's a lack of a clear feedback and this should be
fixed in some way.
**Media Modal with the Block Editor**
It's a bit more complicated to test because different blocks use different
media modal types. For example:
- The Image block uses the "Select media" frame (no selection status
bottom bar).
- The Gallery block uses the "Create Gallery" frame (does have the
selection status bar).
- In both cases, the added images are visible for me.
So, at least for me, this appears to happen when the selection status is
"cleared". Note that in the Media Library "grid", the added media are
''not'' automatically selected, which is probably the reason why the bug
doesn't happen there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50025#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list