[wp-trac] [WordPress Trac] #40250: When cropping a image right after scaling, the crop selection will show incorrect dimensions

WordPress Trac noreply at wordpress.org
Fri Mar 24 11:05:01 UTC 2017


#40250: When cropping a image right after scaling, the crop selection will show
incorrect dimensions
--------------------------+-----------------------------
 Reporter:  level level   |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  4.7.3
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Steps to reproduce:
 - Upload any image to the media library.
 - Press "Edit Image" on the uploaded image.
 - Scale the image up or down by any dimension.
 - Try to crop the image afterwards with the drag selection on the image.

 On the screenshot provided you will notice the crop dimensions are
 actually larger then the image size.
 The bug only seems to appear when the page is not being refreshed,
 indicating the correct values are probably not being passed to the
 javascript handling the cropping after a scaling operation.

 [[Image(source:http://imgur.com/fEj6uDP)]] (Screenshot:
 http://imgur.com/fEj6uDP)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/40250>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list