Bug 95331 - MAILMERGE (label sheets): problem with vertical alignment of content
Summary: MAILMERGE (label sheets): problem with vertical alignment of content
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.6.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 95917 (view as bug list)
Depends on:
Blocks: Mail-Merge
  Show dependency treegraph
 
Reported: 2015-10-26 17:34 UTC by sdsic
Modified: 2024-08-16 10:46 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
screen capture (96.48 KB, application/vnd.oasis.opendocument.text)
2015-10-26 17:34 UTC, sdsic
Details
Test doc for non-mailmerge (17.29 KB, application/vnd.oasis.opendocument.text)
2016-10-05 23:30 UTC, Richie Frame
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sdsic 2015-10-26 17:34:41 UTC
Created attachment 119972 [details]
screen capture

The vertical alignement of the content is not conserved when generating labels.
How to reproduce the problem:

File>New>Labels
insert the label's text and the fields
Format: sheet A4
Brand: Avery A4, Type J8159 Address
Tab Options: Entire Sheet, Synchronize the content (box checked)
click on "New Document" button

Select first label (top left): red squares and then double click to open the frame window
Tab "Options": vertical alignement: Center then OK to close the window
Tool > Mailing
check: From this document
output: File, save as single document and then OK
save the merged document (eg Toto.odt)
open Toto.odt: the text of the labels is not centered, the alignement is a top alignement instead of the desired center alignement.

NB: The problem is the same with previous version LibreOffice 4.3.6.2
NB: attachment: screen capture
Comment 1 Buovjaga 2015-11-03 09:08:34 UTC
Reproduced.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 37d41674c2b1a706c95c2c326cbfbd06b0c1a655
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-11-02_00:13:27
Locale: fi-FI (fi_FI)
Comment 2 Buovjaga 2015-11-19 07:05:40 UTC
*** Bug 95917 has been marked as a duplicate of this bug. ***
Comment 4 Richie Frame 2016-10-05 23:30:52 UTC
Created attachment 127831 [details]
Test doc for non-mailmerge

I have run into this bug only after upgrading from the 4.4 branch to 5.2.

I am not using mailmerge, but am using a label template. I have 30 text boxes, all set to center vertical content alignment. The file is saved, closed, then opened. The top row is now top vertical content alignment.

I have attached the file I am working with,
Comment 5 QA Administrators 2017-10-23 14:13:14 UTC Comment hidden (obsolete)
Comment 6 QA Administrators 2019-12-03 14:50:27 UTC Comment hidden (obsolete)
Comment 7 QA Administrators 2021-12-03 04:41:22 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2023-12-04 03:17:21 UTC Comment hidden (obsolete)
Comment 9 Charles Williams 2024-08-16 10:46:01 UTC
Still present in:

Version: 24.2.5.2 (AARCH64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59
CPU threads: 8; OS: macOS 14.6.1; UI render: default; VCL: osx
Locale: en-GB (en_GB.UTF-8); UI: en-US
Calc: threaded

I think this happens when the merge field is inside the cell of a table. I find that if the merge field in on the same line as standard cell text then immediately after merging the position of the standard text is okay but the merged text is out of line. Selecting and deselect the text a couple of times seems to trigger a redraw which temporarily corrects the baseline but moving to another page and then back again normally results in incorrect alignment. The behaviour is not consistent from one record to another, which makes me wonder whether there is a variable that is being left uninitialised.