Bug 94136 - EDITING copy from inkscape pastes as raster image
Summary: EDITING copy from inkscape pastes as raster image
Status: RESOLVED DUPLICATE of bug 89797
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
4.2.8.2 release
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 94314 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-09-11 16:53 UTC by aflux
Modified: 2016-12-26 08:54 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
original svg file created in inkscape 0.48.5 (7.58 KB, image/svg)
2015-09-20 14:20 UTC, aflux
Details
Impress file with pasted graphics (13.30 KB, application/vnd.oasis.opendocument.presentation)
2015-09-20 14:21 UTC, aflux
Details
ODP with SVG pasted from Inkscape, scaled in Impress to max (14.04 KB, application/vnd.oasis.opendocument.presentation)
2015-09-21 08:30 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aflux 2015-09-11 16:53:06 UTC
When copy/paste from inkscape (0.48.5) to impress, the new object is created as raster.

If "paste special", the choice is given between "Unformatted text" and "bitmap".

By chosing "Unformatted text" one can verify that exported data is indeed svg.

When saved to a .svg file and dropped to Impress, the vectorial image is imported instead.
Comment 1 Buovjaga 2015-09-18 15:44:04 UTC
Pasted normally, saved odp and unzipped. Pictures folder has an .svm file (metafile).

Paste special gives Bitmap or GDI metafile as options.
Pasting as bitmap, Pictures folder contains a .png file.

I used Inkscape 0.91. Please test with it.

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)

Set to NEEDINFO.
Change back to UNCONFIRMED, if the problem persists. Change to RESOLVED WORKSFORME, if the problem went away.
Comment 2 aflux 2015-09-20 14:20:23 UTC
Created attachment 118874 [details]
original svg file created in inkscape 0.48.5
Comment 3 aflux 2015-09-20 14:21:10 UTC
Created attachment 118875 [details]
Impress file with pasted graphics
Comment 4 aflux 2015-09-20 14:29:56 UTC
Here a sample presentation with pasted graphics.

If I unzip I obtain

$ unzip Untitled\ 1.odp 
Archive:  Untitled 1.odp
[..]
 extracting: Pictures/100002010000005200000062E256079E.png  
[..]

which is the raster image.

Inkscape 0.48.5 is the current debian stable. I will check with backported 0.91 soon. In the mean time I set to UNCONFIRMED
Comment 5 aflux 2015-09-20 14:36:16 UTC
Same outcome with Inkscape 0.91
Comment 6 Buovjaga 2015-09-20 15:22:53 UTC
(In reply to aflux from comment #2)
> Created attachment 118874 [details]
> original svg file created in inkscape 0.48.5

Nope, I get an .svm file inside .odp with simple paste.
Comment 7 Buovjaga 2015-09-21 08:11:34 UTC
*** Bug 94314 has been marked as a duplicate of this bug. ***
Comment 8 Buovjaga 2015-09-21 08:30:04 UTC
Created attachment 118890 [details]
ODP with SVG pasted from Inkscape, scaled in Impress to max

Here you can see that I have scaled a quite small Inkscape paste to maximum in Impress. You can even zoom in an notice that there is NO pixelization whatsoever.

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)
Comment 9 Frederic Parrenin 2015-09-21 09:09:01 UTC
So, apparently this is a linux-only bug.
Comment 10 aflux 2015-09-21 09:53:30 UTC
I tested the same on LO 4.3.3.2 (debian amd64) and LO 4.2.8.2 (ubuntu 14.04)

I change earliest version to 4.2.8.2 release.
Comment 11 Buovjaga 2015-09-24 06:34:42 UTC
Ok, with Linux I could repro.

Kubuntu 15.04 64-bit KDE Plasma 5.4
Version: 5.0.1.2
Build ID: 00m0(Build:2)
Locale: en-US (en_US.UTF-8)
Comment 12 Regina Henschel 2016-07-17 15:16:23 UTC
Inkscape exports an "image/svg+xml" format to clipboard. This is not detected by LibreOffice. In LibreOffice I see only "Bitmap" and "GDI metafile". I use Inkscape 0.48 and LibreOffice Version: 5.3.0.0.alpha0+
Build ID: b0d96a82a4f6a0832d03d185f4a53db669adcc99
CPU Threads: 4; OS Version: Windows 6.1; UI Render: default; 
TinderBox: Win-x86@42, Branch:master, Time: 2016-07-12_09:25:31
Locale: de-DE (de_DE); Calc: group

So it is a problem on Windows too.
Comment 13 Aron Budea 2016-12-26 08:54:34 UTC

*** This bug has been marked as a duplicate of bug 89797 ***