Bug 89406 - Image crop box resets value as numbers are being edited
Summary: Image crop box resets value as numbers are being edited
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Image-Crop
  Show dependency treegraph
 
Reported: 2015-02-16 03:12 UTC by xfx5ux
Modified: 2021-03-24 08:08 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description xfx5ux 2015-02-16 03:12:55 UTC
Open the crop tab for an image and try to type a value in the box, if you go to 3 decimals it will automatically round off to 2. That's fine, except if there is already a value in the box and you want to change a number on the left side of the decimal marker and type the new number before deleting the old, the box will refresh and reset to the maximum value possible for the image.

Example:

Say you have an image 18 CM wide by 12 CM high that is cropped by 1.5 CM at the top. You want to change it to 3 CM, click the box and set the cursor in front of the 1 and type 3 (now the box reads 31.5 CM) before you can hit delete to remove the 1, the value changes to 15.28 (which is strange as it's larger than the image).

What is typed in a box should not be effected until the box is no longer active.
Comment 1 Buovjaga 2015-02-22 14:18:00 UTC
Reproduced (used Writer).

Win 7 Pro 64-bit, LibO Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: fi_FI

Ubuntu 14.10 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 Buovjaga 2021-03-24 08:08:34 UTC
Not happening anymore in the image properties Crop tab. Closing as WFM.

Version: 7.2.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: bdbb5d0389642c0d445b5779fe2a18fda3e4a4d4
CPU threads: 2; OS: Windows 10.0 Build 19042; UI render: default; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded

Arch Linux 64-bit
Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: e7664871ee97286a9b08f6213d032883b8df7847
CPU threads: 8; OS: Linux 5.11; UI render: default; VCL: kf5
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 23 March 2021