Bug 163220 - Impress slide random corruption when displaying them full screen with 24.8.2
Summary: Impress slide random corruption when displaying them full screen with 24.8.2
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
24.8.2.1 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Slide-Show
  Show dependency treegraph
 
Reported: 2024-09-30 18:10 UTC by Andy
Modified: 2024-11-29 10:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
a slide presentation that get randomly corrupted when dislayed full screen (12.97 MB, application/vnd.oasis.opendocument.presentation)
2024-09-30 18:11 UTC, Andy
Details
the video screen capture of me opening the file, going to some slide and presenting full screen with random corruotion (6.20 MB, video/mp4)
2024-09-30 18:19 UTC, Andy
Details
A comparisin of slide 69 of the impress file while in edit mode (upper half) and corrupted full screen (lower half) (624.39 KB, image/jpeg)
2024-09-30 18:52 UTC, Andy
Details
The same slide, shown a few minutes later with another corruption, this time text objects are way smaller than they should be. Crazy... (586.17 KB, image/jpeg)
2024-09-30 18:59 UTC, Andy
Details
As you can see, really heavy corruption. Check the correct appearence of this slide in the next attach (374.51 KB, image/jpeg)
2024-10-02 10:19 UTC, Andy
Details
to be compared woth the previous attachment (367.74 KB, image/jpeg)
2024-10-02 10:21 UTC, Andy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andy 2024-09-30 18:10:06 UTC
Description:
This is a very sneaky one since it seems impossible to make it perfectly reproducible. After upgrading to 24-8-2 from 24-8-1, the attached Impress file started to display corrupted objects when showing its slides full screen (typically, text object monstrously larger of smaller than intended). When closing and reopening the file, things changed but the problem remained, with other objects being corrupted in the same fashion. Which objects would display corrupted seemed to be quite random, or at least I couldn't find any logic to predict such corruption.
I had upgraded this morning from 24.8.1 to 24.8.2 just this morning and had the unpleasant surprise to discover this while trying to show the slides in the afternoon lecture in front of some 50 students... very unpleasant...
To allow everybody to grasp what is happening, I will attach 
a) the impress file where I had the problem (maybe the culprit is the file itself? I do not know, but with 24.8.1 as well as an old portable 6.1.4, nothing of the sort ever occurred with this same file).
b) a shot video with the screen capture of what I see on the screen
After producing the video, I will be forced to downgrade to 24.8.1 until this is solved. Thanks as always

Steps to Reproduce:
1.Open the attached file, go for example to slide 72 and start the full screen presentation from there
2.If things work as they do on my notebook, many text objects will be shown in a totally different - and corrupted - fashion with respect to what you see on the same slide while in edit mode. Typically text will appear with different formatting, totally inappropriate on the screen, making the displayed slide unreadable
3.If this does not happen on your machine, please check the attached video to see what is happening here.

Actual Results:
Slides are randomly corrupted when shown full screen

Expected Results:
the full screen display of all slides should exactly mimic in a larger fashion what you see in the slide while in edit mode.
None of the display corruption happens with 24.8.1 or earlier versions


Reproducible: Always


User Profile Reset: No

Additional Info:
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 8; OS: Windows 10 X86_64 (10.0 build 17763); UI render: Skia/Raster; VCL: win
Locale: it-IT (it_IT); UI: it-IT
Calc: threaded
Comment 1 Andy 2024-09-30 18:11:25 UTC
Created attachment 196800 [details]
a slide presentation that get randomly corrupted when dislayed full screen
Comment 2 Andy 2024-09-30 18:19:27 UTC
Created attachment 196801 [details]
the video screen capture of me opening the file, going to some slide and presenting full screen with random corruotion
Comment 3 Andy 2024-09-30 18:42:45 UTC
Update: I have now realised that the display corruption happens using 24.8.1 too.
I can also confirm that it DOES NOT when using LO 6.1.4
I do not know if the  file was corrupted in some way by 24.8.2, or 24.8.1, or if the file is not the culprit.
Comment 4 Andy 2024-09-30 18:52:06 UTC
Created attachment 196803 [details]
A comparisin of slide 69 of the impress file while in edit mode (upper half) and corrupted full screen (lower half)
Comment 5 Andy 2024-09-30 18:59:02 UTC
Created attachment 196805 [details]
The same slide, shown a few minutes later with another corruption, this time text objects are way smaller than they should be. Crazy...
Comment 6 Andy 2024-09-30 19:02:40 UTC
As the latest attachments show, this is really unpredictable. Also I would urgently need to know if the latest 24.8.x versions are the ones that corrupt the file... it shouldn't be that way, since with LO 6.1.4 there is no corruption, but as you may understand I would rather avoid corrupting many other files by opening and editing them with 24.8...
Comment 7 Andy 2024-09-30 19:18:51 UTC
Ok this is the latest update: I have reverted to 24.2.6 and the corruption is NOT present.
So it seems the issue lies into something that was introduced by the 24.8 release.
Comment 8 m_a_riosv 2024-10-01 16:25:59 UTC
Please test in safe mode, Menu/Help/Restart in Safe Mode
Comment 9 Andy 2024-10-02 10:17:33 UTC
Did it, random corruption again, alas no change from normal mode. I am attaching a further screenshot to exemplify what's happening even in safe mode.
Comment 10 Andy 2024-10-02 10:19:07 UTC
Created attachment 196838 [details]
As you can see, really heavy corruption. Check the correct appearence of this slide in the next attach
Comment 11 Andy 2024-10-02 10:21:15 UTC
Created attachment 196839 [details]
to be compared woth the previous attachment
Comment 12 Andy 2024-10-02 10:22:43 UTC
In the meantime I am continuing to use 24.2.6, no problem at all here
Comment 13 m_a_riosv 2024-10-02 15:23:03 UTC
Reproducible with
Version: 24.8.2.1 (X86_64) / LibreOffice Community
Build ID: 0f794b6e29741098670a3b95d60478a65d05ef13
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
and
Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 0679a5cee16ae96c0d11e7d4fc1e59fb0f9cc591
CPU threads: 16; OS: Windows 11 X86_64 (10.0 build 22631); UI render: Skia/Raster; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 14 Andy 2024-10-11 15:11:40 UTC
I am sorry to come back again, but since the bug was defined as reproducible, I was wondering if the reproducibility refers only to my example file, or to other  files as well.

If this actually happens with various (or any) Impress files (not only with my example attachment) I would think the problem is really critical, as it implies that Impress cannot actually be used at all in the latest release.

If on the other hand you have reproduced it only with my own file, and the full screen corruption seems not to appear with any other impress doc, of course it is less important a bug.

In the later case, any suggestion about how to "cure" this file would be really appreciated... if any kind of manipulation could eliminate the display corruption, like copy and paste all contents into a new presentation doc, or whatever.
Thanks indeed
Comment 15 m_a_riosv 2024-10-11 23:54:31 UTC
I only test with your file.

But with its complexity, it does not seem easy to know what the problem is, and to find a solution.

Can help developers, know if the file at the same point was a PPTX file.

Verify if there are not uninstalled fonts.
Comment 16 BogdanB 2024-10-12 04:49:04 UTC
It seems it is just on Windows. I tried with the latest version of 24.8 and also with the oldest version of 24.8, and I can NOT reproduce this bug. Everything it is perfect. Need more testing on Windows.

Tested with this versions
Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 64aa51cb2fcfb6cfb325ffdc2567b0a2f0661007
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded

Version: 24.8.2.0.0+ (X86_64) / LibreOffice Community
Build ID: bc15e025060c37d73119ac9e8493a56eaed3e095
CPU threads: 16; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: ro-RO (ro_RO.UTF-8); UI: en-US
Calc: threaded
Comment 17 Andy 2024-10-15 11:22:13 UTC
(In reply to m_a_riosv from comment #15)
> I only test with your file.
> But with its complexity, it does not seem easy to know what the problem is,
> and to find a solution.
> Can help developers, know if the file at the same point was a PPTX file.
> Verify if there are not uninstalled fonts.

Thanks for your testing, to answer your questions:
- the file was NOT created or ever manipulated in a pptx format.
- The fonts used are the most common on earth: Arial and Liberation (the latter I think installed by libreoffice itself).

But there is more: inspired by your questions, I saved the file in PPTX format (using Libreofice to save in pptx) and got two interesting results when reopening (in Libreoffice 24.8) the file converted into pptx :
1 - the text objects are NOT corrupted if I display the slides full screen;
2 - the BAD news: ALL the math equations are LOST, you don't see them and they are not there even as invisible objects! This is another (grave) matter, so I think I will file a separate bug.
Notice also that:
- I have installed on the same PC both 24.2.6.2 AND 24.8.2 (via Reisisoft that allows to make multiple installs of different versions)
- The pptx converted version (it does not matter if it is converted with 24.2 or 24.8) will NOT display all the math equations when opened with 24.8, while it does show them if opened with 24.2
- if I convert back the pptx version to ODP, and open it with 24.8, the display corruption is not there anymore; of course there are a lot of small formatting differences that needs to be ironed out, but the passage through pptx seems to have eliminated the source of text objects full screen corruption.
HOWEVER, I cannot apply this treatment to eliminate the full screen corruption: I could tolerate the work needed to solve the glitches in formatting involved by the passage back and forth through pptx; but the problem is that all math equation would be LOST!!!
I am sorry, I understand that things are complicated, but... I hope to have explained them understandably.

last note: all math equations are lost when reopening the pptx-converted files with 24.8 not only with my attached file but with ANY IMPRESS FILE!!! This does NOT happen with 24.2
Comment 18 Andy 2024-11-03 23:51:58 UTC
Hi, since no news appeared here lately, as I have seen the 24.8.3 release appearing, I was wondering if there is any chance of this blocking problem to be solved by some changes in this latest release. Thank you.
Again, it is not clear to me if this grave corruption happens ONLY with the file I attached, or with other files as well. 
Since as I wrote before it seems that converting it into pptx and then back would avoid the corruption, but as I documented in Bug 163483 this conversion would destroy all the math formulas in the file, I am really stuck....
Comment 19 Andy 2024-11-09 17:54:56 UTC
I can now confirm that 28.8.3 release does NOT have this problem solved. Full screen corruption is still dramatic. It is sill necessary to use 24.2, unfortunately.
Comment 20 Andy 2024-11-29 10:07:16 UTC
I can now confirm that the problem is still there in LO 25.2 alpha.
Opening the attached sample file with LO 25.2 and displaying it full screen results in random, disastrous corruption of the content of some slides.
I am still stuck with LO 24.2, which did NOT have this issue.