Bug 160704 - SVG: image element is not imported correctly
Summary: SVG: image element is not imported correctly
Status: VERIFIED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
24.8.0.0 alpha0+ Master
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.8.0
Keywords: bibisected, bisected, regression
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2024-04-17 07:57 UTC by Xisco Faulí
Modified: 2024-04-19 08:34 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (159.36 KB, image/svg+xml)
2024-04-17 07:57 UTC, Xisco Faulí
Details
Comparsion LibreOffice 24.8 master vs Firefox (64.88 KB, image/png)
2024-04-17 07:59 UTC, Xisco Faulí
Details
Another sample affected by the same commit (3.15 MB, image/svg+xml)
2024-04-17 08:05 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2024-04-17 07:57:52 UTC
Created attachment 193719 [details]
sample file

Steps to reproduce:
1. Open attached document

-> See comparison

reproduced in

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: c61aeb5b87d1a69745617b1368a86b70d798ba30
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2024-04-17 07:59:03 UTC
Created attachment 193720 [details]
Comparsion LibreOffice 24.8 master vs Firefox
Comment 2 Xisco Faulí 2024-04-17 07:59:49 UTC
regression introduced by:

author	Tomaž Vajngerl <tomaz.vajngerl@collabora.co.uk>	2024-02-26 21:45:35 +0900
committer	Tomaž Vajngerl <quikee@gmail.com>	2024-02-29 16:12:18 +0100
commit 6588c30ed4477627b2623560ca867682b189bc80 (patch)
tree b031e5611af09af708de9ebb9b218b958fbec92a
parent 657631791421eae2c88a89da27bd2c0dc1822175 (diff)
vcl: separate scanline direction from ScanlineFormat

Bisected with: bibisect-linux64-24.8
Comment 3 Xisco Faulí 2024-04-17 08:05:27 UTC
Created attachment 193721 [details]
Another sample affected by the same commit

In this example, the balloons are upside down and with black filling instead of upside up and with color
Comment 4 Xisco Faulí 2024-04-17 11:03:00 UTC
linux only
Comment 5 Commit Notification 2024-04-18 12:12:24 UTC
Tomaž Vajngerl committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/92edab3d95ff5ee8a81a453b3224157839dfd32c

tdf#160016 tdf#160704 Set the direction from src in StretchAndConvert

It will be available in 24.8.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 6 Xisco Faulí 2024-04-19 08:28:43 UTC
Verified in

Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8df17c340193c89549d8c563b04d015156afa3fb
CPU threads: 8; OS: Linux 6.1; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded

@Tomaz, should this issue be closed as RESOLVED FIXED ?
Comment 7 Tomaz Vajngerl 2024-04-19 08:33:31 UTC
Yes. I think so.