Created attachment 179516 [details] Before vs After the RT Steps to reproduce: 1. Open attachment 50625 [details] from bug 40428 2. Save it to RTF 3. Reopen -> The border of the first frame is gone. See Comparison Reproduced in Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 9877a0190e43241f4a5102e5d9cc7181f91d5a6f CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded [Bug found by office-interoperability-tools]
Regression introduced by: author Regina Henschel <rb.henschel@t-online.de> 2022-02-01 20:38:07 +0100 committer Miklos Vajna <vmiklos@collabora.com> 2022-02-02 08:38:11 +0100 commit 9877a0190e43241f4a5102e5d9cc7181f91d5a6f (patch) tree 187b8c68c6e9bb76d2e5f676cbc672e40781867f parent ea23f640d3bf06e4035a96ebe8b8c07a59d6f12c (diff) tdf#107727 disable border in RTF export if not drawn Bisected with: bibisect-linux64-7.4 Adding Cc: to Regina Henschel
I think, the reason is not directly my patch. It looks as if somewhere the interpretation of the default value for RTF property "fLine" has changed/is missing. The border will be drawn, if I explicitly set m_aFlyProperties.push_back(std::make_pair<OString, OString>("fLine", "1")); But that should not be necessary because "True" is the default for "fLine".
I have added that line in https://ci.libreoffice.org/job/gerrit_master/112365/ But I cannot generate a reduced document from scratch which fails without the patch. What is special about the text box in the failing document?
Created attachment 179599 [details] Reduced version of attachment 50625 [details] I have reduced attachment 50625 [details] to the affected object. The patch will force the object to a default line. But I think, there is a principle problem: The object is not a text box (as I thought first) but it is a frame. When Word exports docx to RFT, it sets the borders as paragraph borders. For such RTF-document made by Word, LibreOffice renders the borders same as Word. LO converts the paragraph group to a Frame. But when LO converts the docx document to RTF it generates a shape and enables default "stroke" of the shape. It does not consider border color and border width. So there is a principle shortcoming in exporting such object from docx to rtf. Should we nevertheless use the patch?
Dear Xisco Faulí, 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