Bug 103757 - FILESAVE, FORMATTING: Overflow error for column width and row height
Summary: FILESAVE, FORMATTING: Overflow error for column width and row height
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Cell-Management
  Show dependency treegraph
 
Reported: 2016-11-07 12:30 UTC by Daniel Rentz
Modified: 2023-05-29 19:12 UTC (History)
2 users (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 Daniel Rentz 2016-11-07 12:30:13 UTC
1. Open a new spreadsheet document.
2. Set width of column A to 100cm, set height of row 1 to 100cm.
3. Save, close, reopen.

=> Column width and row height have been changed to 34.46cm.
Comment 1 Xisco Faulí 2016-11-07 15:58:59 UTC
Confirmed in

Version: 5.3.0.0.alpha1+
Build ID: 8a2a3f1032b4e60f7607e3ecb1ff99a6bb9af7f9
CPU Threads: 4; OS Version: Linux 4.2; UI Render: default; VCL: gtk3; Layout
Engine: new; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

and

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 QA Administrators 2017-11-08 07:35:19 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2019-12-03 13:54:06 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2021-12-03 04:21:31 UTC Comment hidden (obsolete)
Comment 5 Daniel Rentz 2021-12-03 06:30:15 UTC
Confirmed in
Version: 7.2.3.2 (x64) / LibreOffice Community
Build ID: d166454616c1632304285822f9c83ce2e660fd92
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (de_DE); UI: de-DE
Calc: threaded
Comment 6 BogdanB 2023-05-29 08:21:54 UTC
Also in
Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: b76a3bdc996f275f9d615b32d6ab89d533a7505c
CPU threads: 16; OS: Linux 5.19; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 7 ady 2023-05-29 19:12:21 UTC
The way this report is presented, it would seem as if some generic behavior is incorrect, whichever the values. But this is not the case.

The inconsistency, if we could call it this way, is only seen when the values are higher than some limit.

When the value for cell's height or width is greater than some supported maximum, the value that is saved is not fixed to such maximum, but rather to some kind of overflow.

Example:

* column width or row height set to 650mm > saved as 649.99 mm, OK.
* column width or row height set to 660mm > saved as 4.62mm, KO.
* column width or row height set to 670mm > saved as 14.64mm, KO.

In each case, set the value, save the file, reload the file; then check the value again.

So, whether with or without some real limit to row height and/or column width values (IDK whether there are), there is some kind of overflow error when saving the values.