Bug 134899 - FILEOPEN DOCX: Checkbox content control takes less space than original
Summary: FILEOPEN DOCX: Checkbox content control takes less space than original
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.6.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-17 11:53 UTC by rominator
Modified: 2021-05-22 04:24 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample files (93.15 KB, application/x-7z-compressed)
2020-07-17 11:53 UTC, rominator
Details
Sample file (12.09 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2020-07-17 12:27 UTC, Xisco Faulí
Details
Comparison MSO 2010 and LibreOffice 7.1 master (27.68 KB, image/png)
2020-07-17 12:28 UTC, Xisco Faulí
Details
newer repro files with writer 7.1 (116.10 KB, application/x-7z-compressed)
2020-07-17 13:06 UTC, rominator
Details
Screenshot Word 2016 vs. LO 7.0.2.2 (314.54 KB, image/jpeg)
2020-10-22 07:18 UTC, Dieter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rominator 2020-07-17 11:53:05 UTC
Created attachment 163174 [details]
Sample files

Create a checkbox content control with Word 365 (or earlier versions). Add some text in the next paragraph. Save as DOCX. Open with writer.

The text below the checkbox is shifted up and the vertical position/size of the checkbox is off.

This is a problem when wanting to print documents on pre-printed paper (like a paper form, surveys, multiple choice exams or something similiar) properly.

This happens only when there is no other text in the paragraph of the checkbox. I suppose that this has something to do with the style of the paragraph (when not set it is some default style "Normal" in Word) and the symbols (Letters in a special font) that are used by the content control (at least Word uses some symbols for the printing of the checkbox).

I have attached a sample DOCX and also some PNGs for comparison that were created out of exported PDFs (of Word and writer) using GhostScript.
Comment 1 Xisco Faulí 2020-07-17 12:27:39 UTC
Created attachment 163181 [details]
Sample file
Comment 2 Xisco Faulí 2020-07-17 12:28:45 UTC
Created attachment 163182 [details]
Comparison MSO 2010 and LibreOffice 7.1 master
Comment 3 Xisco Faulí 2020-07-17 12:29:15 UTC
I can't reproduce it in

Version: 7.1.0.0.alpha0+
Build ID: d851a02df57ab378ed0cc6d9362516de09c3279c
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

Could you please try to reproduce it with a master build from http://dev-builds.libreoffice.org/daily/master/ ?
You can install it alongside the standard version.
I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the master build
Comment 4 rominator 2020-07-17 12:43:06 UTC
will do
Comment 5 rominator 2020-07-17 13:06:38 UTC
Created attachment 163184 [details]
newer repro files with writer 7.1

Thank you for your quick reply/repro!

I did now test with https://dev-builds.libreoffice.org/daily/master/Win-x86_64@tb77-TDF/2020-07-17_06.44.55/LibreOfficeDev_7.1.0.0.alpha0_Win_x64.msi where there is the same issue.

I have now attached my intermediate output files too.
- Checkbox_libre 7 daily.pdf was created with the master build via export as pdf
- Checkbox_libre 6.3.6.2.pdf was created with the older writer via export as pdf
- Checkbox_word.pdf was created with Word via a PDF printer (GhostScript). I did check that using Save as PDF in Word produces the same output as this method.
- *.png are the PDFs converted with Ghostscript via the following command in PowerShell:
gswin64c.exe" -dNOPAUSE -dBATCH "-sDEVICE=pngalpha" "-sOutputFile=$outputPattern" "-r600" "$pdfFile"

You can either compare the PNGs directly with some software (I am using Beyond Compare on windows) or by overlaying them in gimp or something. But you can see the differences to if you use a PDF viewer and open the PDFs in maximized windows and switch between them quickly.
Comment 6 Dieter 2020-10-22 07:18:11 UTC
Created attachment 166612 [details]
Screenshot Word 2016 vs. LO 7.0.2.2

Rominator, I can't see a difference between Word 2016 and LO 7.0.2.2 (see my screenshot), but I also couldn't see a difference in your attachments in your attachments. So could you please have a look at my screenshot and mark the difference you see?

=> NEEDINFO
Comment 7 QA Administrators 2021-04-21 03:52:32 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2021-05-22 04:24:06 UTC
Dear rominator,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp