Bug 156016 - FILEOPEN: SVG: General Error opening file
Summary: FILEOPEN: SVG: General Error opening file
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: filters and storage (show other bugs)
Version:
(earliest affected)
7.4.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:24.2.0 target:7.5.5 target:7.6...
Keywords: bibisected, bisected, regression
Depends on:
Blocks: SVG-Import
  Show dependency treegraph
 
Reported: 2023-06-22 11:24 UTC by Xisco Faulí
Modified: 2023-07-04 15:33 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample file (3.30 KB, image/svg+xml)
2023-06-22 11:24 UTC, Xisco Faulí
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xisco Faulí 2023-06-22 11:24:08 UTC
Created attachment 188054 [details]
sample file

Steps to reproduce:
1. Open attached file

-> General Error

Reproduced in

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: b0c2e580a1c5b055295d303ebb9c9e905ab4890c
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: es-ES (es_ES.UTF-8); UI: en-US
Calc: threaded
Comment 1 Xisco Faulí 2023-06-22 11:24:58 UTC
Regression introduced by:

author	offtkp <parisoplop@gmail.com>	2022-04-02 15:49:32 +0300
committer	Tomaž Vajngerl <quikee@gmail.com>	2022-05-06 04:02:05 +0200
commit e9c50fbbc3b07ef927d133da9cf2395c55611e0f (patch)
tree 7b2dbf92184b5b2707685dc44ee4764d4d58fdad
parent e4a7a50d831cb6fca95f2afff2af5298d66b5876 (diff)
tdf#103954: Z compressed graphic formats support for EMF/WMF

Bisected with: bibisect-linux64-7.4

Adding Cc: to offtkp
Comment 2 Commit Notification 2023-06-24 10:16:58 UTC
Paris Oplopoios committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/85013c57dd29e32ec0411c159ea72824ebca5aa9

tdf#156016 Fix bug where SVG check size would be 0

It will be available in 24.2.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 Paris Oplopoios 2023-06-24 10:17:58 UTC
Submitted a fix, please test and tell me if it works for you. You can also try compressing it with gzip and testing if the compressed svg works fine too.
Comment 4 Xisco Faulí 2023-06-24 10:38:39 UTC
(In reply to Paris Oplopoios from comment #3)
> Submitted a fix, please test and tell me if it works for you. You can also
> try compressing it with gzip and testing if the compressed svg works fine
> too.

Hello,
yes, it works!!
Comment 5 Commit Notification 2023-06-27 09:19:33 UTC
Paris Oplopoios committed a patch related to this issue.
It has been pushed to "libreoffice-7-5":

https://git.libreoffice.org/core/commit/e7c70b352c477afd9b9adab48c7e46a37b701202

tdf#156016 Fix bug where SVG check size would be 0

It will be available in 7.5.5.

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 Commit Notification 2023-06-30 08:05:21 UTC
Paris Oplopoios committed a patch related to this issue.
It has been pushed to "libreoffice-7-6":

https://git.libreoffice.org/core/commit/a0c7a5ea40647fa7fc030399cce8577834fb2fc2

tdf#156016 Fix bug where SVG check size would be 0

It will be available in 7.6.0.0.beta2.

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 7 Commit Notification 2023-07-04 15:33:34 UTC
Xisco Fauli committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/commit/e6cf27e46a48580892ecd0d82f8e55ff9aed465d

tdf#156016: vcl_graphic_test: Add unittest

It will be available in 24.2.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.