Created attachment 136157 [details] Sample ODT, save as DOCX Open the attached ODT, containing a shape with a piece of text inside. Save it as DOCX. Reopen the DOCX. => The shape is squashed, and separated from the text. Observed using LO 5.4.1.2 & 4.3.0.4 / Windows 7. Somewhat better in LO 4.2.0.4: the shape frame is different and text position is incorrect in the exported DOCX. => let's consider it a regression
Created attachment 136158 [details] Screenshot
(In reply to Aron Budea from comment #0) > Somewhat better in LO 4.2.0.4: the shape frame is different and text > position is incorrect in the exported DOCX. What I mean is, otherwise the shape is the same size, and the text is inside the shape.
This is the range, bibisected using bibisect-43max: https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=562b21949f4ed986d11270bd6203741487795343..1542a655ea21da4cdcd4b836283e44fba5f35059 There are all kinds of crashes when bibisecting further.
Miklos: I fear this might be related to your commmits, any idea please? https://cgit.freedesktop.org/libreoffice/core/commit/?id=3eeb60687aa2476b02d1862390441fc0c1f1b7e7 https://cgit.freedesktop.org/libreoffice/core/commit/?id=9794a0db73b49f3c8b9e4b8348fe7dc9108d3435
Same range of commits as in bug 109171. Adding to see also just in case...
** Please read this message in its entirety before responding ** 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 http://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://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
still present in Версия: 6.1.1.1 ID сборки: 2718b4a18dfcc6a54ebe5f7b801ee7a47fa81e0c Потоков ЦП: 4; ОС:Windows 6.1; Отрисовка ИП: по умолчанию; Локаль: ru-RU (ru_RU); Calc: group threaded
Bibisected with win32-4.3 to https://gerrit.libreoffice.org/plugins/gitiles/core/+/cfb5b20cdc230320ff9f864d1cfd81aaea221da0%5E!/ DocxAttributeOutput::OutputFlyFrame_Impl: enable DML export by default Also blamed for bug 122962
The shape is a legacy rectangle. It does not have the ability to resize to content. Therefore LibreOffice should output an element "<a:noAutofit/>", but it writes "<a:spAutofit/>".
*** Bug 122962 has been marked as a duplicate of this bug. ***
(In reply to Buovjaga from comment #8) > Bibisected with win32-4.3 to > https://gerrit.libreoffice.org/plugins/gitiles/core/+/ > cfb5b20cdc230320ff9f864d1cfd81aaea221da0%5E!/ > DocxAttributeOutput::OutputFlyFrame_Impl: enable DML export by default > > Also blamed for bug 122962 Adding Cc: to Miklos Vajna
(In reply to Buovjaga from comment #8) > Bibisected with win32-4.3 to > https://gerrit.libreoffice.org/plugins/gitiles/core/+/ > cfb5b20cdc230320ff9f864d1cfd81aaea221da0%5E!/ > DocxAttributeOutput::OutputFlyFrame_Impl: enable DML export by default Seems like implementation error in the DrawingML export, then. > Also blamed for bug 122962 I wouldn't be quick to set duplicates based on the above commit, it just means both bugs are in the DrawingML export that was switched on at that point.
Regényi Balázs committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/cab956c480eb4f619580285c7b9a15b9e6d9b780 tdf#112312 DOCX legacy shape export: keep fixed size It will be available in 7.1.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
(In reply to Regina Henschel from comment #9) > The shape is a legacy rectangle. It does not have the ability to resize to > content. Therefore LibreOffice should output an element "<a:noAutofit/>", > but it writes "<a:spAutofit/>". @Regina: thank you very much your help, it was the key @Balázs Varga: thank you your earlier patch https://git.libreoffice.org/core/+/3fe3588d6743c27c3734b1b4993f5155c15abe98%5E%21, it was very useful for me too
Created attachment 162608 [details] new test file Created with Insert->Shape->Basic shapes->Rectangle, and option "Add Text Box" of the shape, and writing multiple lines in it.
Created attachment 162609 [details] DOCX export and import before and after the fix
Verified in Version: 7.1.0.0.alpha0+ Build ID: 616a47c9570f9ce67b18a124f08f4a342bff3468 CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3 Locale: en-US (en_US.UTF-8); UI: en-US Calc: threaded @Balázs Regényi, thanks for fixing this issue!!
Regényi Balázs committed a patch related to this issue. It has been pushed to "libreoffice-7-0": https://git.libreoffice.org/core/commit/b48bb4de31f0db1ffa86031ab38f8afa4183c136 tdf#112312 DOCX legacy shape export: keep fixed size It will be available in 7.0.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.