Description: After saving and re-opening an ODP file some text is missing in several textboxes, i.e., parts of words or complete paragraphs at the end of the text box are deleted Steps to Reproduce: 1. Create a new presentation and write some text 2. Save as odp file and close Impress 3. Start Impress and re-open the file. Actual Results: Parts of the text at the end of on or several textboxes are not saved (clearly visible when first exported into PDF where the text is visible), sometimes parts of the words are cut off, sometimes whole paragraphs Expected Results: All written text should be saved and be visible after re-opening. Reproducible: Sometimes User Profile Reset: No Additional Info: Version: 7.3.7.2 / LibreOffice Community Build ID: 30(Build:2) CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: cs-CZ (cs_CZ.UTF-8); UI: cs-CZ Ubuntu package version: 1:7.3.7-0ubuntu0.22.04.3 Calc: threaded
Thank you for reporting the bug. it seems you're using an old version of LibreOffice. Could you please try to reproduce it with the latest version of LibreOffice from https://www.libreoffice.org/download/libreoffice-fresh/ ? I have set the bug's status to 'NEEDINFO'. Please change it back to 'UNCONFIRMED' if the bug is still present in the latest version.
Don't reproduce the bug with Version: 7.6.0.3 (X86_64) / LibreOffice Community Build ID: 69edd8b8ebc41d00b4de3915dc82f8f0fc3b6265 CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win Locale: ro-RO (en_US); UI: en-US Calc: threaded
Created attachment 190427 [details] Affected odp file
Created attachment 190428 [details] Exported PDF before saving (text intact)
Created attachment 190429 [details] Exported PDF after reopening (text missing)
Thanks for your replies. I prefer using the version provided with Ubuntu due to updates and currently have no capacity to install a new version. However, I can share a few more details about the bug. It seems to affect exactly the same text boxes every time I save the file (the same amount of the text is always missing). Removing the textbox completely and creating a new textbox with the same text copy pasted from PDF solves the issue. However, I am still unaware of any reason why this is happening. Although, I first noticed the problem once I started using animations (i.e., I made certain paragraphs appear in a sequence). I am sharing several slides from the affected file (after replacing some text with lorem ipsum) with a PDF generated before saving and after reopening the file. Missing text is clearly visible. Kind regards Pavel Hok
If I'm opening your .odp file with 7.3, 7.4, 24.2 the text already is missing, so I can test the missing bug, text is not here when opening. My file looks like your second PDF already on opening.
Repro with Version: 7.3.8.0.0+ / LibreOffice Community Build ID: e1ad83ddb2f39419fb5d7c69eba51e2b9f49c788 CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded On this file, if I add some text, the text is lost on save and reload. I will bibisect it now.
author Mike Kaganski <mike.kaganski@collabora.com> 2022-09-21 11:11:47 +0300 committer Xisco Fauli <xiscofauli@libreoffice.org> 2022-09-22 13:21:33 +0200 commit d194474aabd699806cb3631bc8641dd0548b8026 (patch) tree 99434055a8224674e470ce49e89cc8112c4f9303 parent 84210c97d3d41f50f82d1b0747020283c844c808 (diff) tdf#151100: xText->getString() may be empty for content needing export The check that is removed prevents collecting the table data. Assume that it's the performance optimization, and that processing empty text objects would be fast anyway. This basically reverts commit 73fcb052edf1a21d785583bc53e8b4323b577bb1 Author Christian Lippka <cl@openoffice.org> Date Thu Nov 22 12:26:35 2001 +0000 #90330# only export text autostyles for shapes with text and commit 7661bbbaef31adfdb298b1447301b24a70f85834 Author Michael Stahl <mstahl@redhat.com> Date Fri Nov 25 22:46:34 2016 +0100 tdf#102479 ODF export: ignore exceptions when checking shape text that becomes unnecessary after the former change is reverted. Change-Id: I709a7b4c5ac1cc0621d3a1b18f2eb74feb987efb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140313 Tested-by: Mike Kaganski <mike.kaganski@collabora.com> Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> Signed-off-by: Xisco Fauli <xiscofauli@libreoffice.org> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140352 Tested-by: Jenkins (cherry picked from commit 226b1c2006e936e4b32748b810624c5d655c4a98) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/140378 Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Seems fixed already in Version: 7.4.0.0.alpha0+ / LibreOffice Community Build ID: 10981fb2fa26474f432e85165b1babbca6d74e16 CPU threads: 16; OS: Linux 6.2; UI render: default; VCL: gtk3 Locale: ro-RO (ro_RO.UTF-8); UI: en-US Calc: threaded
(In reply to Pavel Hok from comment #6) > I prefer using the version provided with Ubuntu due to updates There is a PPA by Ubuntu LibreOffice packaging team: https://launchpad.net/~libreoffice/+archive/ubuntu/ppa Installing it upgrades your installed version (*if* you installed using apt). It also updates automatically. > and currently have no capacity to install a new version. If you mean that you can't upgrade Ubuntu, then the PPA above does not require that. This bug is most likely a dupe for bug 153161. Note that if you prefer to stay with old version, you would have to stay with old bugs ;)
(In reply to BogdanB from comment #10) > Seems fixed already in Version: 7.4.0.0.alpha0+ / LibreOffice Community No, in 7.4.0 it wasn't yet introduced, as well as in 7.3.6 - the change that you mentioned was created for 7.5, and backported to 7.4.2 and 7.3.7 (see bug 151100). The fix for that arrived in 7.6, 7.5.0, and 7.4.6.
Mike, please decide if this bug can be closed.
(In reply to BogdanB from comment #13) As I said in comment 11, I only *suspected* that it was a dupe. I hoped you can test if it's fixed in versions later than what you tested in comment 10 :-D
Thanks for sharing link for the PPA, I can now confirm that the bug is fixed in the version 7.6.2.1
Thanks for testing - let's close as dupe then. *** This bug has been marked as a duplicate of bug 153161 ***