Bug 512288 - Klipper copies the image in the form of a text file when copying from Inkscape, do not interprets it as svg
Summary: Klipper copies the image in the form of a text file when copying from Inkscap...
Status: REOPENED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Clipboard widget & pop-up (other bugs)
Version First Reported In: 6.4.5
Platform: ROSA RPMs Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-18 11:25 UTC by erfan
Modified: 2025-11-23 23:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.4.6
Sentry Crash Report:


Attachments
The resulted textfile. Extract the .txt file and change the extension into .svg to see the image. (3.28 MB, application/gzip)
2025-11-18 11:25 UTC, erfan
Details
Still present bug in plasma 6.5.3 (760.62 KB, image/png)
2025-11-23 23:04 UTC, erfan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description erfan 2025-11-18 11:25:33 UTC
Created attachment 186918 [details]
The resulted textfile. Extract the .txt file and change the extension into .svg to see the image.

SUMMARY
Embedding an image into Inkscape then copying it results in a huge text file, instead of an image. 

STEPS TO REPRODUCE
1. Open any image in embed form in Inkscape
2. Select the image and copy it (CTRL+C)
3. Close Inkscape
4. Paste it into Libreoffice

OBSERVED RESULT
Copying into libreoffice will appear a text instead of the copied image.

EXPECTED RESULT
The clipboard entry and what is pasted to be an image, klipper to handle savings from inkscape as .svg image and not text file.

Linux/KDE Plasma: Rosa Desktop Fresh 13 installation 
KDE Plasma Version: 6.4.5
Hardware used: LENOVO IdeaPad Slim 5 15ARP10, AMD Ryzen 7 7735HS

ADDITIONAL INFORMATION
If try to handle the clipboard entry, for example to edit it, it will crash plasma, the system running out of memory.
If the entry is saved into a texteditor with .svg extension, it will be an .svg image.
Creating shapes and copying them from inkscape the result is the same.
Comment 1 erfan 2025-11-23 23:04:28 UTC
Created attachment 187107 [details]
Still present bug in plasma 6.5.3
Comment 2 erfan 2025-11-23 23:05:28 UTC
Maybe it was fixed in 6.4.6, but it is still there in 6.5.3. See attached screenshot.