Bug 134401 - FILESAVE PPTX: vertical alignment inverted (bottom<->top) when saving textbox with link
Summary: FILESAVE PPTX: vertical alignment inverted (bottom<->top) when saving textbox...
Status: REOPENED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.4 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: PPTX-Textbox
  Show dependency treegraph
 
Reported: 2020-06-29 18:28 UTC by Gerald Pfeifer
Modified: 2022-03-23 15:26 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments
Sample document (ODP) (401.64 KB, application/vnd.oasis.opendocument.presentation)
2020-06-29 18:28 UTC, Gerald Pfeifer
Details
How it looks originally (ODP file) (25.46 KB, image/png)
2020-06-29 18:28 UTC, Gerald Pfeifer
Details
How it looks after exporting as PPTX (28.96 KB, image/png)
2020-06-29 18:29 UTC, Gerald Pfeifer
Details
How it looks in Office 365 (exported in LO from ODP to PPTX on 2022-03-23) (108.00 KB, image/png)
2022-03-23 15:23 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2020-06-29 18:28:11 UTC
Created attachment 162518 [details]
Sample document (ODP)

How to reproduce:

 - Open sample document.
 - "Save as..." PPTX file.
 - Restart LibreOffice or upload PPTX just saved to Office 365.
 - Observe how "bottom aligned" become "top aligned" and vice versa!
Comment 1 Gerald Pfeifer 2020-06-29 18:28:55 UTC
Created attachment 162519 [details]
How it looks originally (ODP file)
Comment 2 Gerald Pfeifer 2020-06-29 18:29:46 UTC
Created attachment 162520 [details]
How it looks after exporting as PPTX
Comment 3 Gerald Pfeifer 2020-06-29 18:30:14 UTC
Version: 7.0.0.0.beta2+
Build ID: 77e4943cc6cf206a45901e5c87fabf0f783c8262
CPU threads: 4; OS: Linux 5.6; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:libreoffice-7-0, Time: 2020-06-24_02:22:53
Comment 4 Xisco Faulí 2020-06-30 07:59:19 UTC
Reproduced in

Version: 7.1.0.0.alpha0+
Build ID: 63f3485b57904de4e77c04f5759e6563fcce6748
CPU threads: 4; OS: Linux 4.19; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded

and

Version: 5.2.0.0.alpha0+
Build ID: 3ca42d8d51174010d5e8a32b96e9b4c0b3730a53
Threads 4; Ver: 4.19; Render: default; 

Locale: en-US (en_US.UTF-8)

and

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e
Comment 5 Xisco Faulí 2020-06-30 07:59:44 UTC
@Regina, I thought you might be interested in this issue
Comment 6 Regina Henschel 2020-06-30 13:05:50 UTC
It looks different, but the vertical anchor position is set correctly. You can examine it in the shape properties, section Text Options, in PowerPoint.

The horizontal part is wrong. It should be "Top Centered", "Middle Centered" and "Bottom Centered" instead of "Top", "Middle" and "Bottom". And the option "Resize shape to fit text" should be checked, because both, width and height, are checked in LibreOffice.

The problem with your links is, that the text box does not only contain the links, but contains line breaks in addition.
Comment 7 Gülşah Köse 2022-03-23 13:49:15 UTC
This commit c6dc94b147fdf522552640918cc1d1ef246eb04d solves the problem on libreoffice-7-3-2
Comment 8 Xisco Faulí 2022-03-23 13:52:13 UTC
(In reply to Gülşah Köse from comment #7)
> This commit c6dc94b147fdf522552640918cc1d1ef246eb04d solves the problem on
> libreoffice-7-3-2

Closing as duplicated of bug 146690 then

*** This bug has been marked as a duplicate of bug 146690 ***
Comment 9 Gerald Pfeifer 2022-03-23 15:23:38 UTC
Created attachment 179050 [details]
How it looks in Office 365 (exported in LO from ODP to PPTX on 2022-03-23)

Today's -dev build still exhibits the original issue in my tests:

  Version: 7.4.0.0.alpha0+ / LibreOffice Community
  Build ID: 131a06fb2e414d8b8e49cd03c6b45f715047bad1
  CPU threads: 8; OS: Linux 5.16; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US

The issues does not show when opening the newly saved PPTX in LibreOffice.

It is *still* there when opening the newly saved PPTX in Office 365.
Comment 10 Gerald Pfeifer 2022-03-23 15:26:23 UTC
Reopening based on comment #9.

(And note sure to what extent this is related, but might Regina's note 

   And the option "Resize shape to fit text" should be checked,
   because both, width and height, are checked in LibreOffice.

be relevant here?)