Bug 157823 - Text disappearing from bullet list in Impress
Summary: Text disappearing from bullet list in Impress
Status: RESOLVED DUPLICATE of bug 153161
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.3.7.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2023-10-19 07:28 UTC by Pavel Hok
Modified: 2023-11-08 10:56 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Affected odp file (406.34 KB, application/vnd.oasis.opendocument.presentation)
2023-10-26 07:18 UTC, Pavel Hok
Details
Exported PDF before saving (text intact) (99.82 KB, application/pdf)
2023-10-26 07:19 UTC, Pavel Hok
Details
Exported PDF after reopening (text missing) (97.07 KB, application/pdf)
2023-10-26 07:20 UTC, Pavel Hok
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Pavel Hok 2023-10-19 07:28:47 UTC
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
Comment 1 Xisco Faulí 2023-10-19 07:51:46 UTC
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.
Comment 2 BogdanB 2023-10-19 08:30:48 UTC
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
Comment 3 Pavel Hok 2023-10-26 07:18:59 UTC
Created attachment 190427 [details]
Affected odp file
Comment 4 Pavel Hok 2023-10-26 07:19:42 UTC
Created attachment 190428 [details]
Exported PDF before saving (text intact)
Comment 5 Pavel Hok 2023-10-26 07:20:10 UTC
Created attachment 190429 [details]
Exported PDF after reopening (text missing)
Comment 6 Pavel Hok 2023-10-26 07:20:29 UTC
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
Comment 7 BogdanB 2023-10-26 15:17:55 UTC
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.
Comment 8 BogdanB 2023-10-26 15:20:28 UTC
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.
Comment 9 BogdanB 2023-10-26 15:27:11 UTC
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>
Comment 10 BogdanB 2023-10-26 15:53:23 UTC
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
Comment 11 Mike Kaganski 2023-10-26 16:03:06 UTC
(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 ;)
Comment 12 Mike Kaganski 2023-10-26 16:07:08 UTC
(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.
Comment 13 BogdanB 2023-11-06 19:28:20 UTC
Mike, please decide if this bug can be closed.
Comment 14 Mike Kaganski 2023-11-06 19:34:12 UTC
(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
Comment 15 Pavel Hok 2023-11-08 10:54:12 UTC
Thanks for sharing link for the PPA, I can now confirm that the bug is fixed in the version 7.6.2.1
Comment 16 Mike Kaganski 2023-11-08 10:56:22 UTC
Thanks for testing - let's close as dupe then.

*** This bug has been marked as a duplicate of bug 153161 ***