Created attachment 119384 [details] Example file This document works just fine inside Office, but inside libreoffice fields are empty, can you please check and fix this.
Hi Ivica, Thanks for reporting and the document. Before even being able to look at it.. could you please provide a screen shot or PDF that makes crisp & clear what is missing exactly? Cheers - Cor
Created attachment 119428 [details] Example compared MSO-LO
Comment on attachment 119428 [details] Example compared MSO-LO Sorry, was busy so didint had to do it, yes, as he showed thats how its supposed to look, also the document opens and looks just fine in version 4.2.4.2, in everything above that its broken.
Created attachment 119429 [details] Example compared MSO-LO Table itself was fine from OO to LO 3.4. Then, LO 3.5 is a mess. Probably Bug 64372, section breaks problem. Then, later, before 4.3, upper part was wrong, and after 4.3 up to 5.1+, lower part is wrong. Can be a regression for a table, or maybe just a duplicate of Bug 64372.
Created attachment 126023 [details] log of debug statements leading up to the exception. Focusing on the missing content... first bad commit 2e8aad6d45c53d554ccaf26de998ede708cfc289 Author: Vinaya Mandke <vinaya.mandke@synerzip.com> AuthorDate: Fri Apr 18 15:50:51 2014 +0530 fdo#39056 fdo#75431 Section Properties if section starts with table This commit added a dummy paragraph before the table start, and then deletes it later. Preventing the deletion of the dummy paragraph does NOT resolve the problem, so the problem of all the missing content appears to be caused by the insertion of the dummy paragraph, but it's too complex for me to solve.
Created attachment 126030 [details] copy of original WITH an empty paragraph before the first table Please ignore everything in Comment 5. The missing text bug was hidden by the bug fixed by Vinaya (bug 39056). Using this replacement document, bibisecting to the range of "Thu Nov 29 17:35:25 2012 thru Nov 28" suggests the likely first bad commit by author Miklos Vajna <vmiklos@suse.cz> 2012-11-28 20:33:54 (GMT) commit 232ad2f2588beff50cb5c1f3b689c581ba317583 API CHANGE: add a "position" parameter to XParagraph/TextPortionAppend methods Setting version to 4.0.0.3. A work-around in this case is to use MSOffice to remove the first table. Then the fields will not be empty.
(In reply to Justin L from comment #6) > .... The missing text bug was hidden by > the bug fixed by Vinaya (bug 39056). Nice that the relevant commit also has a test included, so that fixing of this issue will be double checked. > A work-around in this case is to use MSOffice to remove the first table. > Then the fields will not be empty. That sounds as an interesting approach :) but not realistic for most LibreOffice users I guess ;)
I think this bug will require someone like Miklos Vajna to fix it because it dives into some pretty low level stuff. Upon loading the document, many exceptions occur - for every paragraph after bRemove (DomainMapper.cxx) RemoveLastParagraph at Node69. After bRemove=true, every call to gotoRange returns an exception because the internal checking mechanism is messed up - findSttNode doesn't return the same results. SwXText::insertTextPortion at sw/source/core/unocore/unotext.cxx SolarMutexGuard aGuard; if(!IsValid()) uno::Reference< text::XTextRange > xRet; const uno::Reference< text::XTextCursor > xTextCursor = CreateCursor(); xTextCursor->gotoRange(xInsertPosition, false); warn:legacy.osl:14643:1:writerfilter/source/dmapper/DomainMapper_Impl.cxx:13xx: Exception in DomainMapper_Impl::appendTextPortion warn:DEBUG:26870:1:sw/source/core/unocore/unoobj.cxx:1148: pOwnStartNode[Index:41][TableNode:0x25146c0] pTmp[Index:36][TableNode:0] if ( /*avoid problem: false &&*/ pOwnStartNode != pTmp ) throw uno::RuntimeException();
Created attachment 129882 [details] Example compared LO improved I have to ask what is this bug about? "Opel Sans Condensed" was not previewed from 4.3 and now is back.. somewhat. Due to Bug 61134 I don't see what's the substitute font? But the text is back with LO 5.4+.
Not sure which one, but fixed sometime between Date: Thu Dec 22 05:57:56 2016 +0100 source-hash-2a4cd80abcf9e515d1ce3b3a944b573bdc42bff2 and Date: Wed Dec 21 06:03:26 2016 +0100 source-hash-36750bc977b3210b23b7822abd395b30a78af6f5
imagine that- it was my commit for bug 97417: committer Justin Luth <justin_luth@sil.org> 2016-12-21 04:14:06 (GMT) commit 893698741a78e56d74b87caff24f67742ddd892b related to tdf#97417: fix unit test page count