[Libreoffice-bugs] [Bug 137595] New: FILEOPEN DOCX shape size displayed in inches instead of cm

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Oct 19 12:53:55 UTC 2020


https://bugs.documentfoundation.org/show_bug.cgi?id=137595

            Bug ID: 137595
           Summary: FILEOPEN DOCX shape size displayed in inches instead
                    of cm
           Product: LibreOffice
           Version: 4.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: libreoffice at nisz.hu
                CC: nemeth at numbertext.org,
                    regenyi.balazs+libreoffice_bugzilla at gmail.com,
                    szabolcs450 at gmail.com
            Blocks: 104442

Created attachment 166507
  --> https://bugs.documentfoundation.org/attachment.cgi?id=166507&action=edit
Example file from Word

Attached document was reduced from the example file of bug #100920
It contains a shape with absolute horizontal position of 10 cm right of column
set in Word.
When opened in Writer the shape appears in the correct position, but its
Position and Size dialog displays a 3.83 cm value “From left” to “Paragraph
area” instead of 10 cm. 
Clicking OK in this dialog makes the shape jump to 3.83 cm horizontal position.
Also: 3.83 inches is 9.73 cm with a bit of conversion/rounding error, so that’s
probably what we see here.
However making a copy of the shape in Word and setting the horizontal position
to another value interoperates nicely, the example document has a copied shape
with 2 cm position that is opened correctly.

Steps to reproduce:
1.      Open attached document
2.      Check the Position and Size dialog of the shape

Actual results:
Horizontal position is 3.83 cm.
The copied shape with less text has the correct 2 cm horizontal position.

Expected results:
Horizontal position should be 10 cm.

LibreOffice details:
Version: 7.1.0.0.alpha0+ (x64)
Build ID: c064766901722082df0d759c95434c1460fcdba5
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: en-US (hu_HU); UI: en-US
Calc: CL

Also in:
Version: 6.0.0.3
Build ID: 64a0f66915f38c6217de274f0aa8e15618924765
CPU threads: 4; OS: Windows 6.3; UI render: default; 
Locale: en-US (hu_HU); Calc: CL

Version: 5.2.0.4
Build ID: 066b007f5ebcc236395c7d282ba488bca6720265
CPU Threads: 4; OS Version: Windows 6.2; UI Render: GL; 
Locale: hu-HU (hu_HU
- before 5.3 it was 4.09 cm, still not 10

Version: 5.0.0.5
Build ID: 1b1a90865e348b492231e1c451437d7a15bb262b
Locale: en-US (hu_HU)

Version: 4.4.0.3
Build ID: de093506bcdc5fafd9023ee680b8c60e3e0645d7
Locale: hu_HU

Before in 4.3 the shape was imported as a frame and it had a correct 10 cm
positioning value.

Additional Information: 
Bibisected with bibisect-win32-4.4/ to range:
https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=a595879302e26a616131aa0cab5de31bb287b37d..402e0c0a679dd4da2b1767d959be9aa364c1878d


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104442
[Bug 104442] [META] OOXML shape (DrawingML and VML) related issues
-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20201019/f4598e94/attachment-0001.htm>


More information about the Libreoffice-bugs mailing list