Opened 14 years ago
Closed 4 years ago
#18184 closed defect (bug) (worksforme)
Wrong area is cropped when using arrow keys to adjust the position of the crop box
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.9 |
Component: | Media | Keywords: | needs-patch |
Focuses: | administration | Cc: |
Description
When using the crop tool to modify an image, if you select an area and then use the arrow keys to move it around, when you click on the crop button, the wrong area has been cropped. If you do the same thing using the mouse to move the crop box, it works well.
Attachments (1)
Change History (11)
#1
@
14 years ago
- Owner set to azaozz
- Status changed from new to assigned
- Version changed from 3.2.1 to 2.9
#6
@
11 years ago
- Keywords close added
Keyboard shortcuts don't work at all in Chrome, and push your crop selection to the edge immediately in Firefox.
I suggest we maybelater here, and revisit this when we redo the entire image editor experience someday.
#7
follow-up:
↓ 8
@
11 years ago
- Keywords close removed
Hmm, arrow keys used to work in earlier Firefox versions. I wonder if this could be a regression.
Now moving the selection with Shift + arrow keys consistently causes Firefox to crash after a few attempts. We should either fix that or disable the keys.
#8
in reply to:
↑ 7
@
11 years ago
Replying to SergeyBiryukov:
Now moving the selection with Shift + arrow keys consistently causes Firefox to crash after a few attempts.
Also noted in https://make.wordpress.org/docs/2014/04/16/wordpress-3-9-codex-updates/#comment-29068.
imgAreaSelect's
onSelectEnd()
doesn't fire on a key press.18184.patch moves
setCropSelection()
toonSelectChange()
.