Bug 165339 - FILEOPEN PPT/X: severely squished text (see comment 6 for the correct example document)
Summary: FILEOPEN PPT/X: severely squished text (see comment 6 for the correct example...
Status: VERIFIED DUPLICATE of bug 165341
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
25.2.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:ppt, filter:pptx, regression
Depends on:
Blocks:
 
Reported: 2025-02-19 16:19 UTC by Justin L
Modified: 2025-03-10 13:37 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
novell508621-2.ppt: the example file which should have large text across the entire page (76.00 KB, application/vnd.ms-powerpoint)
2025-02-19 16:19 UTC, Justin L
Details
novell508621-2.ppt_import-compare-1.png: overlay RED=25.2 master, BLUE=25.2 oldest, grayscale=MSO (11.17 KB, image/png)
2025-02-19 16:21 UTC, Justin L
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Justin L 2025-02-19 16:19:22 UTC
Created attachment 199326 [details]
novell508621-2.ppt: the example file which should have large text across the entire page

This started with 25.2 commit 1d9ce0a67a71e51569cd33c26270eeece587a354
Author: Balazs Varga on Sun Oct 13 20:58:17 2024 +0200
    tdf#162571 - sd: Text box expands or shrinks on left or right or
    both sides, depending on the text alignment. Set the text anchor
    position based on the first paragraph alignment.
and was not fixed by bug 165261's
commit 837e2cd1c0d79299f470f747b3216c662584b1d2
    tdf#165261 - PPTX import: fix text in shape is left-aligned

HOWEVER, a visually identical example was fixed by that commit: Contoso-Presentation-stripped2.pptx (attachment 114223 [details] from bug 67347)

Also seen with columns.pptx (attachment 143207 [details] from bug 118458).

Found by Collabora's mso-test
Comment 1 Justin L 2025-02-19 16:21:28 UTC
Created attachment 199327 [details]
novell508621-2.ppt_import-compare-1.png: overlay RED=25.2 master, BLUE=25.2 oldest, grayscale=MSO
Comment 2 Justin L 2025-02-21 13:45:43 UTC
confirmed that the issue is still seen on master.

This is likely another example of the issue seen in bug 165329 - relating to "Shrink text on overflow". (Is that setting unique to LO?)
Comment 3 Justin L 2025-02-21 13:52:53 UTC
(In reply to Justin L from comment #2)
> This is likely another example of the issue seen in bug 165329 - relating to
> "Shrink text on overflow".
Not true for the other example though - the underlying issue for columns.pptx is something completely different.
Comment 4 Commit Notification 2025-03-03 11:52:59 UTC Comment hidden (off-topic)
Comment 5 Gabor Kelemen (allotropia) 2025-03-03 14:33:54 UTC
Hi Justin

For me bibisect on linux-252 brings this source:

https://git.libreoffice.org/core/+/054c2946a130a1acea91140f4e7c3e4a0f93a170%5E%21

commit 054c2946a130a1acea91140f4e7c3e4a0f93a170	[log]
author	Oliver Specht <oliver.specht@cib.de>	Wed Dec 11 14:24:17 2024 +0100
committer	Adolfo Jayme Barrientos <fitojb@ubuntu.com>	Wed Dec 18 22:55:40 2024 +0100
tree 2bfe01c749697133757fc7aafe9a52f5d2434aa5
parent d09d595347695315a3f909cdde74d7f64949f3ed [diff]

tdf#163634 Format empty paragraph if they have a bullet/numbering

Can you check if this is correct?
Comment 6 Justin L 2025-03-03 15:20:24 UTC
(In reply to Gabor Kelemen (allotropia) from comment #5)
> Can you check if this is correct?
Hmm - thanks. I was trying to be so careful and yet I still mess up so much.

Yes - for "novell508621-2.ppt" it looks like that one is a duplicate of bug 165329.

However for the other example, columns.pptx (attachment 143207 [details] from bug 118458), the identified commit is the right one. Let's focus this bug report on that document.
Comment 7 Balázs Varga (allotropia) 2025-03-09 18:07:05 UTC

*** This bug has been marked as a duplicate of bug 165341 ***
Comment 8 Justin L 2025-03-10 13:37:58 UTC
Yes, columns.pptx (from comment 6) is fixed in master. Thanks Balázs.