Bug 158298 - Shadow of wrapped lines of text is shifted in SVG export
Summary: Shadow of wrapped lines of text is shifted in SVG export
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
7.5.0.0 alpha0+
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, bisected, filter:svg, regression
Depends on:
Blocks: SVG-Save Shape-Textbox
  Show dependency treegraph
 
Reported: 2023-11-21 13:40 UTC by Stéphane Guillou (stragu)
Modified: 2025-11-21 03:12 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample ODP (18.88 KB, application/vnd.oasis.opendocument.presentation)
2023-11-21 13:40 UTC, Stéphane Guillou (stragu)
Details
comparison screenshots: on canvas | 7.4 export | 7.5 disappeared | 7.5 shifted (105.60 KB, image/png)
2023-11-21 14:39 UTC, Stéphane Guillou (stragu)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Guillou (stragu) 2023-11-21 13:40:27 UTC
Created attachment 190937 [details]
sample ODP

Text shadow in a text box or shape is shifted for automatically wrapped lines when exporting to SVG.

Steps:
1. Open attached ODP
2. Export to SVG

Alternatively: soffice --headless --convert-to svg file.odp

Result: extra wrapped lines of text have shadow shifted to the right, in increments.
PNG, JPG and PDF exports are not affected.

Bibisected the issue with the linux-64-7.5 repo to two stages:

(1) Expected text shadow to no text shadow in build commit [24bd024cb85b7d5ab151e8dec8be23afdbaf51c2] which points to:

commit e735ad1c57cddaf17d6ffc0cf15b5e14fa63c4ad
author	Armin Le Grand (allotropia)	Tue Sep 13 13:42:54 2022 +0200
committer Armin Le Grand Wed Sep 14 09:54:18 2022 +0200
Rework of ShadowPrimitive2D
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139858

(2) Text shadow was later restored, but the second line is now shifted, with build commit [02c79fe4069277be3f232c77470b16e33a8982ac] which points to:

commit bd42cd1a325cd53db9fca0865f851bcd6e09ccc6
author	Caolán McNamara 	Thu Mar 02 15:50:52 2023 +0000
committer	Christian Lohmaier	Thu Mar 09 12:35:15 2023 +0000
tdf#153672 Use RelativeMapMode so text in gdis are scaled/offset correctly
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148102

Armin and Caolán, can you please have a look?
Maybe not exactly a regression, as the shadow was bitmap before and is now vector text, but would be perceived as a regression to users.
Comment 1 Stéphane Guillou (stragu) 2023-11-21 14:39:57 UTC
Created attachment 190940 [details]
comparison screenshots: on canvas | 7.4 export | 7.5 disappeared | 7.5 shifted
Comment 2 QA Administrators 2025-11-21 03:12:50 UTC
Dear Stéphane Guillou (stragu),

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug