Bug 151922 - Multiple paragraph alignment of text in shapes is not stored in gallery
Summary: Multiple paragraph alignment of text in shapes is not stored in gallery
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: graphics stack (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Gallery
  Show dependency treegraph
 
Reported: 2022-11-05 16:22 UTC by jose.velez
Modified: 2023-02-27 13:50 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
A visual example of the bug (59.26 KB, image/png)
2022-11-05 16:26 UTC, jose.velez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jose.velez 2022-11-05 16:22:59 UTC
Description:
When a textbox (or any shape like a rectangle, a circle...) that contains several text paragraphs with different alignments (left, center, right...) is stored in the gallery, the paragraph alignment information is lost.

 

Steps to Reproduce:
1.Create a shape or textbox (for example a rectangle).
2.Write two text paragraphs into the shape.
3.Select the first paragraph and align to center.
4.Select the second paragraph and align to left.
3.Drag and drop the shape into the gallery (To do that you need a long left press over the shape).
4.Recover the shape from the gallery.

Actual Results:
The alignment of the different paragraphs is centered.

Expected Results:
The alignment of the first paragraph is center and the alignment of the second paragraph is left.


Reproducible: Always


User Profile Reset: Yes

Additional Info:
The problem affect to Writer, Impress, Draw... but in Writer is a bit different, because writer is the only one that visually maintain the alignment information in the gallery, but latter (as in the other applications) this information is not recovered from the gallery.
Comment 1 jose.velez 2022-11-05 16:26:54 UTC
Created attachment 183428 [details]
A visual example of the bug
Comment 2 Gwen Kohler 2022-11-06 07:00:14 UTC Comment hidden (spam)
Comment 3 Buovjaga 2023-02-27 13:50:39 UTC
Reproduced already in 4.2.

Arch Linux 64-bit, X11
Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9a930ef9ea45277109c9acd6e7e1ccfe47fe136c
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 27 February 2023