Bug 160981 - [WRITER] The frame looses its fixed height if I set centered content alignment
Summary: [WRITER] The frame looses its fixed height if I set centered content alignment
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.7.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-05-07 17:06 UTC by Calabar
Modified: 2024-05-08 09:35 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample file were to test the bug (18.09 KB, application/vnd.oasis.opendocument.text)
2024-05-07 17:07 UTC, Calabar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Calabar 2024-05-07 17:06:27 UTC
Description:
Once I chang the vertical alignment setting of the content of a frame to "Center", it collapses to its minimal height. 

NOTE: the change seems to be destructive. 
Once the frame looses its heigth, undo the action don't restore its original height. 
It seems it is not possible to restore the height in any way. It is necessary close and reopen the document.

Steps to Reproduce:
1. Open the sample document in Writer
2. Select a frame
3. Context menu: "Properties"
4. "Options" tab
5. Content Alignment: set to "Center" 
6. Presso "Ok"

Actual Results:
The frame collapse to minimal height. The "Position and Size" tab settings are not changed anyway. 
The frame is a bit disaligned too, its position is shifted at left. Position settings remain unchanged. 
Restoring top vertical alignment don't restore frame's height while checking "automatic size" in "Position and Size" tab surprisingly reassign a similar but not identical height (note: the disalignment remains). 


Expected Results:
The text is vertically centered inside the frame without modifying the frame itself. 


Reproducible: Always


User Profile Reset: No

Additional Info:
NOTE: the menu's names could be inaccurate, I translated them from Italian but the official English localization could be slightly different. 

Other issues in the document
- Frame alignment: it seems it is not possible to aligne the right one of the two frame on the bottom line with the right border of other frames. I tried to do that increasing the size of the frame, but it wrap in a new line before it reach the desired position. 
- Print: when i printed the page, the right border of the frames overflowed the printer's right margins, as if the frame was larger than showed in writer.
Comment 1 Calabar 2024-05-07 17:07:48 UTC
Created attachment 194018 [details]
Sample file were to test the bug
Comment 2 m_a_riosv 2024-05-07 20:43:07 UTC
Reproducible
Version: 24.2.3.2 (X86_64) / LibreOffice Community
Build ID: 433d9c2ded56988e8a90e6b2e771ee4e6a5ab2ba
CPU threads: 16; OS: Windows 10.0 Build 22631; UI render: default; VCL: win
Locale: es-ES (es_ES); UI: en-US
Calc: CL threaded
Comment 3 Telesto 2024-05-08 09:35:33 UTC
Also in
Version: 7.0.7.0.0+ (x64)
Build ID: 626ea4e62a3e5005fe9825923a1c0c5bdb61cc08
CPU threads: 4; OS: Windows 6.3 Build 9600; UI render: default; VCL: win
Locale: nl-NL (nl_NL); UI: en-US
Calc: CL

and in
Versie: 4.4.7.2 
Build ID: f3153a8b245191196a4b6b9abd1d0da16eead600
Locale: nl_NL

and in
Version: 4.3.7.2
Build ID: 8a35821d8636a03b8bf4e15b48f59794652c68ba

setting not present in
Versie: 4.2.0.4 
Build ID: 05dceb5d363845f2cf968344d7adab8dcfb2ba71