Bug 99237 - EDITING UI: Moving the cropping handles shows a proportional frame
Summary: EDITING UI: Moving the cropping handles shows a proportional frame
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
5.1.2.2 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Image-Crop
  Show dependency treegraph
 
Reported: 2016-04-12 08:44 UTC by Olivier Berten
Modified: 2020-06-05 07:47 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Calc - While moving the crop handle (121.06 KB, image/png)
2016-04-12 12:19 UTC, Olivier Berten
Details
Calc - After releasing the crop handle (109.95 KB, image/png)
2016-04-12 12:19 UTC, Olivier Berten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Berten 2016-04-12 08:44:50 UTC
When cropping an image within Calc, the frame drawn while moving the handle always keeps the image's proportions. The result is fine, problem is just during the move.

Other LO apps behave correctly.

How to reproduce:
1. Open Calc
2. Insert an image
3. Click the crop button in the toolbar (might be great to have it also in the contextual menu, like all other LO apps)
4. Crop (by the way, the pointer becomes a black square, but it might be a packaging problem) and watch ;-)
Comment 1 raal 2016-04-12 09:24:00 UTC
Hello, Shift+drag doesn't keep image's proportions - is it what you want?
Comment 2 Olivier Berten 2016-04-12 12:08:15 UTC
Nope, it's just the "preview frame" (I don't know what's the right name of it) doesn't fit the result. The result is how you would expect it but the preview is always proportional to the image.
Comment 3 Olivier Berten 2016-04-12 12:19:26 UTC
Created attachment 124279 [details]
Calc - While moving the crop handle
Comment 4 Olivier Berten 2016-04-12 12:19:55 UTC
Created attachment 124280 [details]
Calc - After releasing the crop handle
Comment 5 Olivier Berten 2016-04-12 12:23:17 UTC
See on the screencaps the effect of dragging the left middle handle: the dashed blue/white line is a rectangle proportional to the original image while the final result is approximately a square.
Comment 6 Buovjaga 2016-04-24 17:36:42 UTC
Repro.

I could best notice it by dragging the lower right corner straight to the left. That way the preview shape barely changes size.

Arch Linux 64-bit, KDE Plasma 5
Version: 5.2.0.0.alpha1+
Build ID: 334599030e7b45153107a3075f9049a7463aac80
CPU Threads: 8; OS Version: Linux 4.5; UI Render: default; 
Locale: fi-FI (fi_FI.UTF-8)
Built on April 22nd 2016
Comment 7 Olivier Berten 2016-08-10 06:42:19 UTC
Few monthes later... 

Ubuntu 16.04.1 LTS
Linux version 4.4.0-34-generic (buildd@lgw01-20) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2.1) ) #53-Ubuntu SMP Wed Jul 27 16:06:39 UTC 2016

Version: 5.2.0.4
Build ID: 1:5.2.0~rc4-0ubuntu1~xenial1
Threads CPU : 4; Version de l'OS :Linux 4.4; UI Render : par défaut; 
Locale : fr-BE (fr_BE.UTF-8)

This bug seems to be 50% solved as only the corner handles have that problem now.
Comment 8 QA Administrators 2018-06-02 03:10:06 UTC Comment hidden (obsolete)
Comment 9 QA Administrators 2020-06-03 03:48:37 UTC Comment hidden (obsolete)
Comment 10 Olivier Berten 2020-06-05 07:41:05 UTC
Fixed for me