Created attachment 153722 [details] Line with style "Line with Fine Dots" Open attached document and notice how long the dash is. It should be 20,07mm. The line style is the "Line with Fine Dots" from our standard.sod. That file has the definition: <draw:stroke-dash draw:name="Line with Fine Dots" draw:style="rect" draw:dots1="1" draw:dots1-length="0.7902inch" draw:dots2="10" draw:distance="0.0598inch"/> 0.7902inch = 0.7902 * 25.4mm = 20.07108mm The same line in Draw/Impress has the correct dash lang. [This bug is the reason, why roundtrip with DOCX gives different dash lengths.]
I opened document 1. Click in line: Width in sidebar shows 2,83cm; width in line dialog shows 0.21 inch 2. Click in other shape and back to line: Width in sidebar shows 7,2 cm; width in line dialog shows 0.21 inch => NEW
Regina, please have a look at tis bug, I couldn't reproduce the problem I've described in comment 1 anymore and I also couldn't find the definition from comment 0 (I had a look into styles.xml and content.xml). I also creted a new line and couldn't see any problem. Version: 7.2.0.3 (x64) / LibreOffice Community Build ID: 2a7ea282da28d665a7dc086360567b4aea27bf08 CPU threads: 4; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win Locale: de-DE (de_DE); UI: en-GB Calc: CL
Dashing styles are in sub-document styles.xml. Unpack document. Open file styles.xml Find element <office:styles> Therein find element <draw:stroke-dash>. It should be before the <style:default-style> sub-elements. Using the attached document, you will find the attributes draw:name="Line_20_with_20_Fine_20_Dots" and draw:dots1="1" and draw:dots2="10". That's OK. But draw:dots1-length="20.07mm" and draw:distance="1.52mm". That is wrong. Open the document in Writer and see, that the measured length of the dash is 35.42mm. Open the document and select the line. Go to Format > Text Box and Shape > Line... Go to tab "Line Styles" in that dialog. The line style "Line with Fine Dots" should be selected. Notice, that the Dash length is shown in the dialog as 35.40mm and the spacing (=distance) is 2.68mm. The problem is, that Writer converts 35.40mm to Twips. With 1 Twip = 127/72 mm, Writer gets 20.07 Twip. The error is, that LO writes the value 20.07 with unit "mm" to file. Same error is when opening a document.
1 Twip = 127/72 mm ==> 1 Twip = 127/72 * 1/100 mm. Writer calculates 2007 Twip. Writer writes the 2007 Twip as if they were 2007*1/100 mm.
Dear Regina Henschel, 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 https://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://web.libera.chat/?settings=#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
The values written to file are still different from the values in the loaded document. Tested with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b3053b63c65372627c5fb4df6b4ddcd5e12e16f7 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: de-DE (en_US); UI: en-US Calc: CL threaded
The values written to file are still different from the values in the loaded document. Tested with Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community Build ID: b3053b63c65372627c5fb4df6b4ddcd5e12e16f7 CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win Locale: de-DE (en_US); UI: en-US Calc: CL threaded Why does the bot not detect comment 6 made yesterday?