Bug Hunting Session
Bug 101217 - Setting the column width and height should not round the values causing compounding errors
Summary: Setting the column width and height should not round the values causing compo...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables
  Show dependency treegraph
 
Reported: 2016-07-30 04:38 UTC by Nathan Shearer
Modified: 2019-02-09 03:44 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
11.99 instead of 12.00 mm (13.00 KB, image/jpeg)
2017-09-16 13:29 UTC, Hermann Rochholz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Shearer 2016-07-30 04:38:31 UTC
Create a spreadsheet that is 8.5x11 standard letter with no headers or footers. Set your cell width to exactly 1.0625" (that is exactly 8 columns or 1/8 of 8.5").

Set your cell width again, notice the value is rounded. Add borders and create a print preview. The compounding errors results in bad alignment of the cells.

Since high resolution printers (600dpi) are common, I should be able to set arbitrarily precise measurements for my cell width and height. rounding to 1/100 of an inch is arbitrarily limited and the compounding errors are causing alignment problems.
Comment 1 Xisco Faulí 2017-03-08 11:50:38 UTC
Dear Reporter,
Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Comment 2 Nathan Shearer 2017-03-08 17:54:48 UTC
Set the column width to 0.125", and it is forcibly rounded to 0.13"

Confirmed, still exists in 5.3.0.3
Comment 3 Nathan Shearer 2017-07-24 20:44:53 UTC
Retested and I can confirm this bug still exists in:
4.4.4.3
5.1.2.2
5.2.7.2
5.3.4.2
Comment 4 Hermann Rochholz 2017-09-16 13:29:27 UTC
Created attachment 136285 [details]
11.99 instead of 12.00 mm

I have a similar detection: 
LO Writer 5.4.0.3 (actual mid sept 2017)

When swithing units to mm it always get's a rounding error e.g. in tables.

E.g. I switch TABLE HEIGHT to 12.00 mm
and when opening it's always 11.99 mm

It's not severe, but it confuses. 
I make an attachment.

Hermann
Comment 5 Buovjaga 2017-10-28 15:10:44 UTC
(In reply to Hermann Rochholz from comment #4)
> Created attachment 136285 [details]
> 11.99 instead of 12.00 mm

How do I get this dialog?
Comment 6 Hermann Rochholz 2017-10-28 18:19:20 UTC
(In reply to Buovjaga from comment #5)
> (In reply to Hermann Rochholz from comment #4)
> > Created attachment 136285 [details]
> > 11.99 instead of 12.00 mm
> 
> How do I get this dialog?

You have to switch the dimensions into mm under 

Extras -> Options -> LO Writer -> Allgemein (?general?) -> Units
Comment 7 Buovjaga 2017-10-29 09:04:34 UTC
(In reply to Hermann Rochholz from comment #6)
> (In reply to Buovjaga from comment #5)
> > (In reply to Hermann Rochholz from comment #4)
> > > Created attachment 136285 [details]
> > > 11.99 instead of 12.00 mm
> > 
> > How do I get this dialog?
> 
> You have to switch the dimensions into mm under 
> 
> Extras -> Options -> LO Writer -> Allgemein (?general?) -> Units

Yes, I use mm by default, but how do I get the dialog shown in your screenshot?
Comment 8 Hermann Rochholz 2017-10-29 12:03:05 UTC
(In reply to Buovjaga from comment #7)
> (In reply to Hermann Rochholz from comment #6)
> > (In reply to Buovjaga from comment #5)
> > > (In reply to Hermann Rochholz from comment #4)
> > > > Created attachment 136285 [details]
> > > > 11.99 instead of 12.00 mm
> > > 
> > > How do I get this dialog?
> > 
> > You have to switch the dimensions into mm under 
> > 
> > Extras -> Options -> LO Writer -> Allgemein (?general?) -> Units
> 
> Yes, I use mm by default, but how do I get the dialog shown in your
> screenshot?

Table line height
Comment 9 Buovjaga 2017-10-29 12:15:44 UTC
Ok, I confirm:
Menu Table - Size - Row height

In older versions: right-click table - Row - Height.

Arch Linux 64-bit, KDE Plasma 5
Version: 6.0.0.0.alpha1+
Build ID: 7a2e7c32d38db02aaa5d78d5e8aaf86cabfde586
CPU threads: 8; OS: Linux 4.13; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on October 28th 2017

Arch Linux 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 10 QA Administrators 2019-02-09 03:44:53 UTC
** Please read this message in its entirety before responding **

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug