Bug 138112 - After inserting SVM picture incorrect fallback picture is generated.
Summary: After inserting SVM picture incorrect fallback picture is generated.
Status: RESOLVED INSUFFICIENTDATA
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-10 14:13 UTC by Kyrylo Zharenkov
Modified: 2022-02-24 03:38 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Lo7FileWithBrokenFallbackImage (67.27 KB, application/vnd.oasis.opendocument.presentation)
2020-11-10 14:13 UTC, Kyrylo Zharenkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kyrylo Zharenkov 2020-11-10 14:13:47 UTC
Created attachment 167168 [details]
Lo7FileWithBrokenFallbackImage

The issue is actual only for LO 7.x.x


Steps to reproduce:

1) Insert the SVM picture.
2) Save into ODP format.
3) Unzip and find the following lines inside context.xml:

 <draw:frame draw:layer="layout" draw:style-name="gr4" draw:text-style-name="P3" svg:height="6.773cm" svg:width="6.773cm" svg:x="20.828cm" svg:y="5.165cm">
          <draw:image draw:mime-type="image/x-svm" xlink:actuate="onLoad" xlink:href="Pictures/2000000200001A7600001A7692A417C876AFB951.svm" xlink:show="embed" xlink:type="simple">
            <text:p />
          </draw:image>
          <draw:image draw:mime-type="image/x-svm" xlink:actuate="onLoad" xlink:href="Pictures/2000000200001A7600001A7692A417C876AFB951.svm" xlink:show="embed" xlink:type="simple" />
        </draw:frame>

As you can see instead of a second fallback PNG picture, the SVM picture is generated.

Actual result:
Instead of a PNG fallback picture, the SVG fallback picture is generated.

Expected result:
A PNG fallback picture is generated.

P.S I've attached the file with this problem.
Comment 1 Buovjaga 2021-07-27 16:52:06 UTC
I don't reproduce. I unzipped your file, inserted the SVM into a new presentation and saved. This is what I get:

<draw:frame draw:style-name="gr1" draw:text-style-name="P2" draw:layer="layout" svg:width="6.773cm" svg:height="6.773cm" svg:x="8.727cm" svg:y="3.685cm">
    <draw:image xlink:href="Pictures/2000000200001A7600001A763AD938FF4A1C719E.svm" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:mime-type="image/x-svm">
        <text:p />
    </draw:image>
    <draw:image xlink:href="Pictures/1000000100000100000001009386E7FD67764145.png" xlink:type="simple" xlink:show="embed" xlink:actuate="onLoad" draw:mime-type="image/png" />
</draw:frame>

Can you check with Win-x86_64@tb77-TDF from https://dev-builds.libreoffice.org/daily/master/current.html It will install separately.

NixOS
Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 67e47070a7580a17804adce812cc2f98bfe7b51f
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: x11
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Comment 2 QA Administrators 2022-01-24 03:35:44 UTC Comment hidden (obsolete)
Comment 3 QA Administrators 2022-02-24 03:38:41 UTC
Dear Kyrylo Zharenkov,

Please read this message in its entirety before proceeding.

Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):

a) Provide details of your system including your operating
   system and the latest version of LibreOffice that you have
   confirmed the bug to be present

b) Provide easy to reproduce steps – the simpler the better

c) Provide any test case(s) which will help us confirm the problem

d) Provide screenshots of the problem if you think it might help

e) Read all comments and provide any requested information

Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:

a) respond via email 

b) update the version field in the bug or any of the other details
   on the top section of our bug tracker

Warm Regards,
QA Team

MassPing-NeedInfo-FollowUp