[wp-trac] [WordPress Trac] #30155: Fix crop image functionality within edit flow

WordPress Trac noreply at wordpress.org
Fri Feb 1 14:52:45 UTC 2019


#30155: Fix crop image functionality within edit flow
--------------------------+--------------------------------------------
 Reporter:  sonjanyc      |       Owner:  adamsilverstein
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  Future Release
Component:  Media         |     Version:  2.9
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  ui, accessibility, javascript
--------------------------+--------------------------------------------

Comment (by david.binda):

 Testing the proposed patch, I have noticed somewhat counter-intuitive
 behaviour:

 1. When the user clicks on "Edit image" the crop tool is not disabled
 1. Clicking the crop tool, whole image is selected
 1. Clicking the crop tool again does nothing
 1. Shrinking the dotted (selected) are in the image and clicking the crop
 tool crops the image
 1. Clicking undo button restores the original dimension

 So far, all the steps produced expected results, but now:

 1. Clicking the crop tool selects the whole image (which is desired)
 1. Clicking the crop tool again crops the image to previously cropped
 dimensions, which does not feel correct.

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


More information about the wp-trac mailing list