Bug 136695 - Footer text in Impress is wrapped inside words and does not respect alignment directives
Summary: Footer text in Impress is wrapped inside words and does not respect alignment...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.0.1.2 release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ImpressDraw-Enhancements
  Show dependency treegraph
 
Reported: 2020-09-12 15:50 UTC by Callegar
Modified: 2023-05-25 04:27 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Presentation showing the issue (12.46 KB, application/vnd.oasis.opendocument.presentation)
2020-10-12 17:09 UTC, Callegar
Details
Screenshot of the badly formatted footer. (70.01 KB, image/png)
2020-10-12 17:10 UTC, Callegar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Callegar 2020-09-12 15:50:18 UTC
Description:
If you use the "Footer" in Impress slides and the footer area in the slide is not large enough to contain the whole footer, then the footer text is wrapped onto multiple lines. However, the line wrapping, differently from any other text element in Impress, gets applied by introducing line breaks /in the middle/ of words. For instance:

Some example footer text that is so lo
ng that it takes multiple lines

Furthermore, alignment instructions applied to the footer area are not applied to the footer text. In other words, in the master page you can set the footer area so that it contains the <footer> label representing the footer text aligned left, center, right, etc. Yet, when the footer is displayed on the actual slides, this alignment is disregarded and the footer is always left aligned. 

Steps to Reproduce:
1. Create new presentation
2. Go to master pages
3. Modify the "footer area" box so that it is not very large and it has some alignment (e.g. center)
4. Close master pages and create a new slide
5. Go to Insert -> Header and Footer, activate the footer and type in a long text.

Actual Results:
See that the footer text is broken in the middle of words and that it is invariably left aligned.

Expected Results:
The footer text should be broken at word ending and the alignment should be respected. Namely it should be possible to have a centerered, justified or right aligned footer text.


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 Usha 2020-10-12 14:56:15 UTC
Unable to reproduce the issue with the steps provided. Please provide screenshots to get a better understanding of the issue.



Version: 7.1.0.0.alpha0+ (x64)
Build ID: 75030b3a2d4336c494fbe799fb809a37ed7e582f
CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: threaded
Comment 2 Callegar 2020-10-12 17:09:57 UTC
Created attachment 166313 [details]
Presentation showing the issue

The presentation includes a footer. In the master slide the footer is centered. In the actual slide the footer is left aligned and the footer text is soft wrapped in the middle of a word.
Comment 3 Callegar 2020-10-12 17:10:52 UTC
Created attachment 166314 [details]
Screenshot of the badly formatted footer.

This relates to the sample presentation attachment.
Comment 4 Henrique SantAnna 2020-11-23 13:28:04 UTC
I can confirm the described behavior. 

Tested with:

Version: 7.1.0.0.alpha1+
Build ID: 54daa022df46d07171201b3fe236cf3f5726e271
CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: kf5
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-11-05_16:52:13
Calc: threaded
Comment 5 QA Administrators 2022-11-26 03:41:53 UTC Comment hidden (obsolete)
Comment 6 Callegar 2022-11-26 10:34:16 UTC
Issue still present in 7.4.2.3.