[MGNLUI-4129] Media Editor shows distorted image with incorrect aspect ratio when using the 'Crop image' functionality Created: 30/Jan/17 Updated: 07/Mar/17 Resolved: 03/Mar/17 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | media editor |
| Affects Version/s: | 5.5.1 |
| Fix Version/s: | 5.4.12, 5.5.3 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Federico Navarro | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | 0d | ||
| Time Spent: | 2d 3h | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: | |
| Sprint: | Basel 85 |
| Story Points: | 8 |
| Description |
|
When using the crop functionality in the media editor (eg: Upload asset in Assets app), the image is set to automatically "scale to fit". However, this produces a distorted version of the image with incorrect aspect ratio. Furthermore, combining the operation "Zoom to fit" with "Crop Image" is inconsistent and produces different results depending on the state. The expected result is to have a scaled version that fits the screen while keeping the aspect ratio of the original image. See attached:
This misbehaviour has been tested on both Chrome and Firefox on Mac and Windows. It works as expected on Safari. Tested on:
|