Bug 512288

Summary: Klipper copies the image in the form of a text file when copying from Inkscape, do not interprets it as svg
Product: [Plasma] plasmashell Reporter: erfan <erfan-linux>
Component: Clipboard widget & pop-upAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REOPENED ---    
Severity: normal CC: erfan-linux, qydwhotmail
Priority: NOR    
Version First Reported In: 6.4.5   
Target Milestone: 1.0   
Platform: ROSA RPMs   
OS: Linux   
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.
Still present bug in plasma 6.5.3

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.