Issue 128594 - Pasting vector graphics formats (WMF, EMF, SVG) inserts a bitmap instead
Summary: Pasting vector graphics formats (WMF, EMF, SVG) inserts a bitmap instead
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: open-import (show other issues)
Version: 4.2.0-dev
Hardware: All All
: P5 (lowest) Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-02-23 19:05 UTC by damjan
Modified: 2024-02-23 19:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description damjan 2024-02-23 19:05:17 UTC
In Inkscape, draw a circle, and copy it to the clipboard.

On the latest trunk version of OpenOffice (after commit dbea4404ca2c86a3a74294e262e6584c3e450818), paste it into Draw.

It will paste the circle. Clicking it to select it displays "Bitmap with transparency selected". Enlarging it by dragging the edges makes it blurry, because it didn't paste as a circle that can be re-drawn at a large size, but as bitmap pixels.

Special paste, with Ctrl+Shift+V, also allows pasting as "GDI metafile". Choosing that option also pastes successfully. Clicking the circle to select it display "Metafile selected". Enlarging it by dragging the edges also makes it blurry. Saving this image as SVG shows the SVG contains a bitmap, not the description of a circle.

WMF and EMF have the same problem as SVG (they're harder to test, you have to use xclip with special MIME types specific to OpenOffice).

However saving the circle from Inkscape into an SVG file, and opening the SVG file with Draw, does produce a real circle, that still looks good when resized, and can be saved and exported and copied out as a real circle.

What goes wrong when pasting, that converts all vector graphics into raster graphics?