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
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Attila Bakos (NISZ)
URL:
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:


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

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: 
https://git.libreoffice.org/core/+/2951cbdf3a6e2b62461665546b47e1d253fcb834

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":

https://git.libreoffice.org/core/commit/65b09ef1c5e24651579eb11900cf2ddbbb7b0971

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:
https://wiki.documentfoundation.org/Testing_Daily_Builds

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: 7.4.0.0.alpha0+ (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