Bug 146805 - FILEOPEN DOCX Vertical alignment of text inside grouped shapes textbox incorrect
Summary: FILEOPEN DOCX Vertical alignment of text inside grouped shapes textbox incorrect
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) alpha0+
Hardware: All All
: medium normal
Assignee: Attila Bakos (NISZ)
Whiteboard: target:7.4.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks: DOCX-Grouped-Shapes
  Show dependency treegraph
Reported: 2022-01-17 00:42 UTC by Gabor Kelemen (allotropia)
Modified: 2022-02-14 07:40 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

The example in Word 2013 and current master (94.58 KB, image/png)
2022-01-17 00:42 UTC, Gabor Kelemen (allotropia)

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2022-01-17 00:42:51 UTC
Created attachment 177594 [details]
The example in Word 2013 and current master

Open  attachment 172074 [details] from bug 73022

The text (yellow "Egy" and green "Kettő") in the grouped shapes is aligned vertically to the middle in Word, but gets imported in Writer as top aligned.

This used to work, see attachment 172076 [details]

Started with: 

author	Attila Bakos (NISZ) <bakos.attilakaroly@nisz.hu>	Wed Nov 10 14:10:11 2021 +0100
committer	László Németh <nemeth@numbertext.org>	Mon Jan 03 14:28:15 2022 +0100

tdf#143574 OOXML export/import of textboxes in group shapes

Adding CC to: Attila Bakos
Comment 1 phv 2022-01-19 16:39:46 UTC
This bug is not limited to the DOCX format. I also experience import issues from Draw with textboxes that lose vertical alignment in a group of shapes. My report is bug#146860.
Comment 2 Commit Notification 2022-02-03 08:29:20 UTC
Attila Bakos (NISZ) committed a patch related to this issue.
It has been pushed to "master":


tdf#146803 tdf#146805 OOXML import: fix bodyPr at grouped shapes

It will be available in 7.4.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:

Affected users are encouraged to test the fix and report feedback.
Comment 3 NISZ LibreOffice Team 2022-02-14 07:40:20 UTC
Verified in:
Version: (x64) / LibreOffice Community
Build ID: 42c5506a9e9ef58efd8193a193464e3b49d481ca
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: hu-HU
Calc: threaded