[wp-trac] [WordPress Trac] #29606: Reorder images via drag and drop is not working in WP 4

WordPress Trac noreply at wordpress.org
Thu Jun 30 00:47:07 UTC 2016


#29606: Reorder images via drag and drop is not working in WP 4
-------------------------------------------------+-------------------------
 Reporter:  gsarig                               |       Owner:
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  normal                               |   Milestone:  Future
Component:  Gallery                              |  Release
 Severity:  normal                               |     Version:  4.0
 Keywords:  needs-patch ui-feedback dev-         |  Resolution:
  feedback                                       |     Focuses:  ui
-------------------------------------------------+-------------------------

Comment (by ManuelRazzari):

 Replying to [comment:45 afercia]:
 > > > I don't see why "uploaded to this post" or "unattached" attachments
 should be draggable so this is probably a bug.
 > > It's not too useful in "Create gallery", but it's not a bug.
 > It is indeed, since when you use the "all images" filter the attachments
 are not draggable.

 I can see it's debatable whether in the "create gallery" context this is a
 bug or a feature.
 We can list the pros and cons, but it's not important. It's even a
 separate ticket.

 > > > As far as I can tell the only place where attachments should be
 draggable is in the "Edit Gallery" view that appears after clicking on the
 "Create a new gallery" button

 This is wrong. This bug is also a serious issue in the main "Insert Media"
 view. In that view, attachments should be draggable for "Uploaded to this
 post" files.

 To give you some context as to why this isn't a bigger deal for a lot of
 people: there is no affordance in the UI about this items being draggable!
 No move cursor, no help text, etc.

 This is even more of an issue for people that already know about the
 feature, in particular those coming from older WP where there was a
 visible drag cursor and an order field.

 Either way, the "Uploaded to this post" filter in the media modal is the
 only UI provided by WP for users to alter the `menu_order` of attachments
 within a post. So it has to work.


 [[Image(http://i.imgur.com/fDbJgLr.png)]]



 > It works for me, and for many others. This is one of the main points of
 this ticket: can't be reproduced consistently.

 It can be reproduced consistently, just not by everyone ;)
 It would be great if one of us who can repro can debug this a bit.
 I'm under a deadline right now, but will give it a try as soon as I can.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29606#comment:47>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list