Make WordPress Core

Opened 4 years ago

Closed 9 months ago

Last modified 6 months ago

#52221 closed defect (bug) (fixed)

Unable to Crop Image when click Crop button

Reported by: philhuhn's profile philhuhn Owned by:
Milestone: 6.3 Priority: normal
Severity: normal Version:
Component: Media Keywords: close
Focuses: Cc:

Description

I have posted this issue here:
https://github.com/WordPress/gutenberg/issues/27787

I do not know if this is a bug or not, but it left me unable to do my task until I figured out how to correct the situation. To reproduce the issue:

1.Go to 'Media -> Library'
2.Click on 'an image'
3.On the Attachment details form, click the Edit Image button at the bottom of the form.
4.On the Attachment details form, click the Crop button above the image and 8 anchor squares appear.
5.Drag the bottom anchor up half way.
6.In the darkened space below the bottom crop line click and all crop lines disappear.
7.Click the Crop button again and nothing happens.

To correct the issue:
1.Click the Cancel button.
2.On the Attachment details form, click the Edit Image button at the bottom of the form.
3.On the Attachment details form, click the Crop button above the image and 8 anchor squares appear.

The best solution would not lose the 8 anchors, when one clicks the darkened space below the bottom crop line click.

Phil

Change History (7)

#1 @SergeyBiryukov
4 years ago

#52223 was marked as a duplicate.

#2 @SergeyBiryukov
4 years ago

Hi there, welcome to WordPress Trac! Thanks for the report.

Just linking to some related issues here: #17247, #48754.

#3 @hellofromTonya
4 years ago

  • Keywords needs-design needs-unit-tests removed

Hello @philhuhn,

Welcome to WordPress Core Trac! Thank you for this ticket.

I'll do some housekeeping:

  • Removing the keywords. Why? Then ticket is currently awaiting review by the Media team. Once moved out of Awaiting Review, then the appropriate keywords will be added.
  • Copying comments from closed Gutenberg issue to make it easier for all contributors to work in this ticket.

Comments from the closed Gutenberg issue:

Comment by @annezazu:

I tried to replicate this and found that the cropping functionality still appears. Here's a video: https://cloudup.com/c3hdV1X1R5h It seems what might be confusing is how small the selection becomes after clicking into the darkened space. Even with that though, one can still drag across the image to create a new selection area. Check out the video I made and let me know if that helps clear things up! If not, definitely report the request here: https://core.trac.wordpress.org/ as this repo is specifically for the Core Editor which is separate from the Media Library.

Comment by @philhuhn

I think what I see in your last video/movie is what I was experiencing happening to me. When you clicked below the image, the 8 square anchors did disappear. I contend that I did not know how to recover from the square anchor disappearing. I just happened onto my solution. I have been programming, for a long time, but a basic end-user is not going to understand how to overcome this situation. I have not read the user documentation and the basic end-user is also not going to have read the documentation.

Comment by @annezazu:

I totally get why it's a confusing experience and how it might help to have some gentle nudges to help people get back on track with cropping when this happens. I definitely think it's worth opening a request in the appropriate place: https://core.trac.wordpress.org/

#4 @Mista-Flo
3 years ago

  • Type changed from enhancement to defect (bug)

#5 @joedolson
14 months ago

  • Keywords close added

The changes made to resolve #50523 also make a significant impact on this user interface process. Hopefully those changes are sufficient to resolve this issue.

#6 @joedolson
9 months ago

  • Resolution set to fixed
  • Status changed from new to closed

#7 @swissspidy
6 months ago

  • Milestone changed from Awaiting Review to 6.3
Note: See TracTickets for help on using tickets.