Bug 150934 - Regression: impress: distortion of text fields in master elements in presentation
Summary: Regression: impress: distortion of text fields in master elements in presenta...
Status: RESOLVED DUPLICATE of bug 150402
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.3.5.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, regression
Depends on:
Blocks:
 
Reported: 2022-09-13 16:54 UTC by Callegar
Modified: 2022-09-13 19:01 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Presentation with a reproducible test case (21.58 KB, application/vnd.oasis.opendocument.presentation)
2022-09-13 16:55 UTC, Callegar
Details
Slide 1 in editing mode (24.99 KB, image/png)
2022-09-13 16:56 UTC, Callegar
Details
Slide 1 in presentation mode (18.15 KB, image/png)
2022-09-13 16:57 UTC, Callegar
Details
Slide 2 in editing mode (36.30 KB, image/png)
2022-09-13 16:57 UTC, Callegar
Details
Slide 2 in presentation mode (11.93 KB, image/png)
2022-09-13 16:57 UTC, Callegar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Callegar 2022-09-13 16:54:54 UTC
Description:
Issue is a bit difficult to describe, but should be clear from the attached files.

If you have a master element (say the footer or the slide number or a date/time field), this is shown in the master page with a text box including some placeholder text (e.g. "<footer>" or "<number>" or "<date/time>". If you alter the size of the text box so that the placeholder text takes two lines, then the issue is triggered to occur whenever the actual text only takes one line.

For instance, you may resize the slide number master page object so that it reads

"<numb
er>"

and then have the actual page number take only a line.

In this case, in slide editing mode, the master object is shown correctly, however, when one starts the slide show, the master object becomes heavily distorted to actually take the vertical space of two lines.

Steps to Reproduce:
Check the attached files.

- Open the presentation
- check the bottom right corner in editing mode
- start the presentation
- look at the material in the bottom right corner in presentation mode

Actual Results:
The page number and the "date/time" fields are heavily distorted

Expected Results:
The page number and the "date/time" field should look the same in editing and in presentation


Reproducible: Always


User Profile Reset: No



Additional Info:
[Information automatically included from LibreOffice]
Locale: en-US
Module: PresentationDocument
[Information guessed from browser]
OS: Linux (All)
OS is 64bit: yes
Comment 1 Callegar 2022-09-13 16:55:35 UTC
Created attachment 182415 [details]
Presentation with a reproducible test case
Comment 2 Callegar 2022-09-13 16:56:09 UTC
Created attachment 182416 [details]
Slide 1 in editing mode
Comment 3 Callegar 2022-09-13 16:57:01 UTC
Created attachment 182417 [details]
Slide 1 in presentation mode

The material in the bottom right corner is distorted
Comment 4 Callegar 2022-09-13 16:57:24 UTC
Created attachment 182418 [details]
Slide 2 in editing mode
Comment 5 Callegar 2022-09-13 16:57:56 UTC
Created attachment 182419 [details]
Slide 2 in presentation mode

The slide number is distorted
Comment 6 Callegar 2022-09-13 17:00:33 UTC
Issue is surely present in 7.4.1.2, 7.4.0.3, 7.3.6.2, but was not present in the version of LibO that was current approximately 1 year ago (probably 7.2.0.3 or 7.1.5.2).
Comment 7 Rafael Lima 2022-09-13 18:45:57 UTC
Repro with

Version: 7.3.5.2 / LibreOffice Community
Build ID: 30(Build:2)
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Ubuntu package version: 1:7.3.5-0ubuntu0.22.04.1
Calc: threaded

I could reproduce this with your file and with a blank presentation.

To reproduce, simply create a blank presentation, open the Master View and resize the Slide Number field so that it uses more than one line and the textbox around it is not big enough to fit the field name (but would fit the number).
Comment 8 Rafael Lima 2022-09-13 18:47:29 UTC
Not repro with

Version: 7.2.6.2 / LibreOffice Community
Build ID: b0ec3a565991f7569a5a7f5d24fed7f52653d754
CPU threads: 12; OS: Linux 5.15; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded

Here your presentation works as expected.
Comment 9 Aron Budea 2022-09-13 19:00:50 UTC
Looks like a duplicate of bug 150402.

Found it after bibisecting the bug to:
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4d535c4f867d86d40786788e5e5c9fd061a65673

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