WordPress.org

Make WordPress Core

Opened 10 years ago

Last modified 16 months ago

#17247 new enhancement

Crop tool is automatically selected when editing an image

Reported by: andrewspittle Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Media Keywords: needs-patch has-screenshots
Focuses: ui, javascript Cc:

Description

The crop tool is automatically selected when editing an image with the built-in tools. This can be confusing as the crop button is greyed out and inactive by default.

To reproduce:

  1. Create a new post or page
  2. Upload an image
  3. Click the Gallery tab
  4. For the image you uploaded click "Edit Image"

The crop tool will be automatically selected. If you drag the mouse over the image it will select an area to crop.

A more intuitive behavior would be to have none of the editing tools selected by default.

Currently, the next step is presumed when you click "Edit Image." It would be better to leave the next step up to each user so that clicking "Edit Image" didn't imply a default action.

Attachments (1)

wp-image-crop-default.png (419.3 KB) - added by nickylimjj 16 months ago.
crop-selected-by-default

Download all attachments as: .zip

Change History (8)

#1 @scribu
10 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release

Makes sense. Normal image editors don't display this behaviour either.

Last edited 10 years ago by scribu (previous) (diff)

#2 @ericlewis
7 years ago

  • Keywords needs-patch removed

Unless we've got some low hanging fruit here, the image editor needs a complete UI overhaul.

#3 @chriscct7
5 years ago

  • Keywords needs-patch added

#5 @mikeschroder
4 years ago

  • Focuses ui javascript added

I don't think that this feature needs a complete overhaul to fix this particular bug, and would love to see it fixed separately.

This ticket was mentioned in Slack in #core-media by mike. View the logs.


3 years ago

@nickylimjj
16 months ago

crop-selected-by-default

#7 @nickylimjj
16 months ago

  • Keywords has-screenshots added

Working on this ticket from WordCamp Singapore 2019. Uploaded screenshots to show the situation. Anyone knows where in the code/file sets the crop tool by default?

Note: See TracTickets for help on using tickets.