WordPress.org

Make WordPress Core

Opened 2 years ago

Last modified 21 months ago

#40250 assigned defect (bug)

When cropping a image right after scaling, the crop selection will show incorrect dimensions

Reported by: level level Owned by: adamsilverstein
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.3
Component: Media Keywords:
Focuses: Cc:

Description

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.

No image "//imgur.com/fEj6uDP" attached to path http (Screenshot: http://imgur.com/fEj6uDP)

Attachments (1)

Schermafbeelding 2017-03-24 om 11.54.11.png (305.5 KB) - added by level level 2 years ago.

Download all attachments as: .zip

Change History (3)

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


2 years ago

#2 @adamsilverstein
21 months ago

  • Owner set to adamsilverstein
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.