Bug 98199 - FILEOPEN: DOC checkbox size *little* too big
Summary: FILEOPEN: DOC checkbox size *little* too big
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low trivial
Assignee: Not Assigned
URL:
Whiteboard: interoperability
Keywords: filter:doc, filter:rtf
Depends on: 96326 98321
Blocks: RTF DOC
  Show dependency treegraph
 
Reported: 2016-02-26 08:46 UTC by Ari Latvala
Modified: 2022-01-30 20:28 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
DOC version having too big checkboxes when compared to PDF (97.00 KB, application/msword)
2016-02-26 08:46 UTC, Ari Latvala
Details
PDF version showing the expected layout (37.06 KB, application/pdf)
2016-02-26 08:46 UTC, Ari Latvala
Details
Screenshot showing differenciens between rtf, doc and pdf (268.24 KB, image/jpeg)
2016-02-26 08:48 UTC, Ari Latvala
Details
LO 5.2 RTF & DOC vs PDF screenshot (215.22 KB, image/jpeg)
2016-03-02 22:04 UTC, Ari Latvala
Details
Compare PDF vs DOC vs RTF at LO 5.3.2 (53.60 KB, image/jpeg)
2017-04-26 09:22 UTC, Ari Latvala
Details
Screenshot showing PDF difference compared to DOC and RTF (34.13 KB, image/gif)
2018-06-07 06:03 UTC, Ari Latvala
Details
LO 7.1 vs Word checkbox size difference JPG picture (51.45 KB, image/jpeg)
2021-02-13 12:45 UTC, Ari Latvala
Details
Screenshot LO 7.2 vs Word checkbox layout (181.79 KB, image/png)
2021-09-15 15:24 UTC, Ari Latvala
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ari Latvala 2016-02-26 08:46:06 UTC
Created attachment 123001 [details]
DOC version having too big checkboxes when compared to PDF

+++ This bug was initially created as a clone of Bug #96326 +++

LibreOffice 5.1.0.3 running on Windows 7 64-bit.

Attached DOC and PDF versions of document as an example: "Kotimaan näyttelyilmoittaumislomake", also available at site http://www.kissaliitto.fi/lomakkeet/nayttely

When opening DOC version of the document, checkboxes are too big leading to incorrect layout like moving "cm" to next line, check the screenshot showing differences between RTF, PDF and DOC, differences highligted.
Comment 1 Ari Latvala 2016-02-26 08:46:53 UTC
Created attachment 123003 [details]
PDF version showing the expected layout
Comment 2 Ari Latvala 2016-02-26 08:48:25 UTC
Created attachment 123004 [details]
Screenshot showing differenciens between rtf, doc and pdf
Comment 3 Ari Latvala 2016-03-02 22:04:03 UTC
Created attachment 123163 [details]
LO 5.2 RTF & DOC vs PDF screenshot

Screenshot of the same document's RTF and DOC versions at LibreOffice 5.2 nightly 2.3.2016 on Windows 7 SP1 64-bit vs. PDF version showing too big checkboxes on RTF and DOC leading to incorrect layout pointed by red arrows. Red boxes located beside and under selection boxes are identical size with the RTF and DOC version and showing those to be bigger thant on PDF.

Also several other layout problems showing on that screenshot:
- RTF version having too narrow table (grey box) at the bottom of the page causing text to split on two lines, when compared to one line at PDF and DOC
- DOC version having incorrect table cell border spacing leading to all sort of layout problems, compare to correct layout on RTF and PDF. See red arrows.
- RTF has incorrect horizontal alignment for some tables moving them too much to left when compared to PDF and DOC
- DOC version incorrect vertical alignment on some of those boxes at the bottom of the screen leading to overlapping and unreadable mess.
Comment 4 Robinson Tryon (qubit) 2016-03-06 17:33:46 UTC
Testing on Ubuntu 14.04 +
LO 5.2.0.0.alpha0+ (2016-02-24_23:58:47)

(In reply to Ari Latvala from comment #0)
> When opening DOC version of the document, checkboxes are too big leading to
> incorrect layout like moving "cm" to next line, check the screenshot showing
> differences between RTF, PDF and DOC, differences highligted.

I see the line-wrapping of the text "FIFen minimimitat näyttelyhäkeille 50x50x50 cm", so I'll tentatively CONFIRM this one (assuming that this is a rendering difference that we wish to eliminate).
Status -> NEW
Comment 5 Ari Latvala 2016-03-07 12:52:52 UTC
> I see the line-wrapping of the text "FIFen minimimitat näyttelyhäkeille
> 50x50x50 cm", so I'll tentatively CONFIRM this one (assuming that this is a
> rendering difference that we wish to eliminate).
> Status -> NEW

Yes, that's exactly one place, where that problem shows clearly.
Comment 6 Ari Latvala 2016-06-02 20:24:21 UTC
Problem is still there on the latest LO 5.2 Beta 1 for Windows 7 SP1 64-Bit
Comment 7 Ari Latvala 2017-04-26 09:22:45 UTC
Created attachment 132843 [details]
Compare PDF vs DOC vs RTF at LO 5.3.2

This screenshot taken with 200% view shows that both DOC and RTF version have too big check boxes when compared to the PDF versions expected layout. On DOC that leads also to the incorrect text layout, when "cm" does not fit any more to the same line. Interestingly RTF version does not have the same problem even though checkboxes appear to be similar size with DOC.
Comment 8 Ari Latvala 2017-05-25 21:39:54 UTC
Problem still there on .DOC at LibreOffice 5.3.3.2 running on Windows 10 64-bit Creators Update. Checkboxes too big when comparing to PDF or Word Viewer layout.
Comment 9 QA Administrators 2018-05-26 02:42:25 UTC Comment hidden (obsolete)
Comment 10 Ari Latvala 2018-06-07 05:10:51 UTC
Bug is still there on LibreOffice 6.0.4 for both RTF and DOC

Version: 6.0.4.2 (x64)
Build ID: 9b0d9b32d5dcda91d2f1a96dc04c645c450872bf
CPU threads: 2; OS: Windows 10.0; UI render: default; 
Locale: fi-FI (fi_FI); Calc: group
Comment 11 Ari Latvala 2018-06-07 06:03:37 UTC
Created attachment 142578 [details]
Screenshot showing PDF difference compared to DOC and RTF

On PDF version showing expected layout checkboxes have clear space between them vertically but on both RTF and DOC version checkboxes practically touch each other. LibreOffice 6.0.4 used for RTF and DOC.
Comment 12 Ari Latvala 2018-11-08 22:07:14 UTC
Problems still valid on the latest LO 6.1.3. DOC version has only slightly too big checkboxes but font is correct unlike on RTF version of the doc, where both font and font size are wrong. Should be Arial 9 but checkboxes are Times new Roman 12 instead, while text font and size is correct.
Comment 13 Ari Latvala 2019-02-12 07:20:42 UTC
Problems still valid on LO 6.2.0.3. Checkbox point size is 10, should be 9.
Comment 14 QA Administrators 2021-02-12 04:15:36 UTC Comment hidden (obsolete)
Comment 15 Ari Latvala 2021-02-13 12:44:37 UTC
There is still a difference on checkbox size on the latest LibreOffice 7.1 vs. Word. LibreOffice behaves similarly with RTF and DOC version, checkbox is little bit bigger than on Word. 

Added a screenshot of already attached DOC-document showing difference when Zoom level is set to 200% on both programs to highlight the difference. Look at the space between vertical checkboxes. Size difference doesn't seem to affect checkbox location though, so the problem is at least on this document just visual and does not mess the total layout anymore.

Version: 7.1.0.3 (x64) / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 8; OS: Windows 10.0 Build 19042; UI render: Skia/Raster; VCL: win
Locale: fi-FI (fi_FI); UI: en-US
Calc: threaded
Comment 16 Ari Latvala 2021-02-13 12:45:27 UTC
Created attachment 169715 [details]
LO 7.1 vs Word checkbox size difference JPG picture
Comment 17 Aron Budea 2021-02-15 05:40:04 UTC
Already in 3.3.0.
Comment 18 Timur 2021-09-15 08:22:34 UTC
(In reply to Ari Latvala from comment #15)
> Added a screenshot of already attached DOC-document 
I don't see DOC attached for screenshot attachment 169715 [details]. 
And it looks so similar that I don't see a bug, please explain.

Note that you can write comment when attaching file, no need to separate comment and attachment.
Comment 19 Ari Latvala 2021-09-15 15:24:32 UTC
Created attachment 175034 [details]
Screenshot LO 7.2 vs Word checkbox layout

On LO 7.2 checkbox size difference does not mess DOC layout anymore like it did on older versions. However checkbox still has size and look difference LO having bigger boxes but with thinner lines. On Word both the checkbox and X showing selection are clearly more bold than thin lines on LO.
Comment 20 Ari Latvala 2021-09-15 15:29:56 UTC
Same checkbox behavior on the already attached DOC -file than on the screenshot, even though the actual DOC file is different. Importance of this is now very low because actual document layout not any more messed due to the difference, LO just uses clearly thinner lines for the actual checkbox as well as for the selection and box is bigger. Reserved space now seems to be identical, so only visual difference.
Comment 21 Timur 2021-09-15 18:03:34 UTC
I don't see a difference so I think this should be closed.
Comment 22 Gabor Kelemen (allotropia) 2022-01-30 20:28:23 UTC
(In reply to Timur from comment #21)
> I don't see a difference so I think this should be closed.

There was some difference in the layout of doc before 7.0. But that was because the cell holding "FIFen minimimitat näyttelyhäkeille 50x50x50 cm" has a small inner border set, which was not imported correctly. Since 7.0 it is correct.

So I think this part was a wrong diagnose.
The tables horizontal positioning also looks correct since 7.0
Also the document does not fall apart when saved to doc/docx in Writer and reopened in Writer or even Word \o/.

The interesting part comes after converting attachment 123001 [details] to RTF in Word, then opened in Writer: table positions are still incorrect, and saving the RTF in Writer causes more layout issues due to paragraph style/direct formatting save problems.

I opened bug 147077 and bug 147078 about these still remaining issues.