Bug 164120

Summary: data: URIs are not handled by Plasma::Icon properly
Product: [Unmaintained] plasma4 Reporter: Frederik Himpe <fhimpe>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandriva RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frederik Himpe 2008-06-15 10:50:54 UTC
Version:           4.0.82 (using KDE 4.0.80)
Installed from:    Mandriva RPMs

Drag and drop an avatar image from Kopete's chat window to the desktop. A Plasma widget representing the file will be created (if I understand it well, the Plasma widget contains a base64 encoding of the image file?). It's impossible to move or this file later on to an accessible directory: I can't drop it in the Folder View widget, I can't drop it in a Dolphin file manager, and there is no item in the right click menu which permits me to save or copy the file somewhere. So basically I cannot access this "file" in any way except via Plasma.
Comment 1 Aaron J. Seigo 2008-06-16 00:38:01 UTC
which plasmoid is it using? when you right click on the image, it should say "<SOMETHING> Settings" and/or "Remove this <SOMETHING>" in the menu. what is that <SOMETHING>?
Comment 2 Frederik Himpe 2008-06-21 23:49:27 UTC
There is not "something settings", the menu only shows:
Properties
Desktop Options
Remove this icon

The caption and also the "file name" given in Properties says: png;base64,BASE64ENCODINGOFFILEHERE

Basically it is the same plasmoid as when you move a picture on your disk from Dolphin to the desktop. The only difference is that the latter is only a reference to the real file, while in the Kopete case, the plasmoid contains the base64 encoded file in the icon itself.
Comment 3 Marco Martin 2008-07-07 22:46:10 UTC
now you can actually copy the file by dragging it on a folderview.
creation of icon applets could be limited to drag of desktop files but i find it a bit limiting
i would mark it as fixed, it's ok?
Comment 4 Aaron J. Seigo 2008-07-07 22:55:26 UTC
Marco: no, this should be handled more gracefully by the icon applet.
Comment 5 Frederik Himpe 2008-07-08 19:36:38 UTC
I upgraded to kde 4.0.85 now. I have the impression there is a regression (or there is some other difference triggering this problem): if I drag and drop an avatar from kopete to the desktop, the Plasma icon only shows the question mark icon and does not even know which application to open the file with (it pops up the Open With dialog if I click on it)

"Location" in the properties windows of this Plasma icon looks like this:

image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGAAAABgCAYAAADimHc4AAAACXBIWXMAAA06AAANOgEDIh6FAAAesUlEQVR4nO2ce5xdVXn3v8+z1t77nDP3mUwyJJmEJCRAgggKAbmICkFBRbzQChoEKigVi23fvtVa6ltpwbZaLy9UKe2rglilcpEqbyFULiGiAXIBQoCQkAvJZDKTuWVmztln771W/9hnkkC5RCaU2M/8Pp+ZM3P25dn7edZ67mvBBCYwgQlMYAITmMAEJjCBCUxgAhOYwAQmMIEJAKxZ8+wZF198+YqZ02d4YwIPeJDaJ15EfF1dg583b75fvPiCb/7rv/50wRv8yP9z8KUvfUnPPff8R6OouJvhL/5paGjwJ5xwgn/rW4/xjY0tfvHiC3oee+yxU34TOt574723r/FHx/OOdjwXv96or5/0gzvvvPYtcVx+2XOMMUyb1kkxCNixo5tbbrl1UrVqPgXcvy80hrZta3/u1//vtrTccyI1VuruX7W5NsZiBdnrM//xnwL+8TW8HnCAC2D58kfOHRra+YrnOOd44onHGB4aZGd/H5VKzNKld5975ZXfvOKKKy5f/2o01ndve+fWR396ot9xN5nkTA0UxBi8zxCrOdMFrIBoiPoEjAV1WInG9Y4HrAC898G0aYe86nkjIyM888wzZFlW+0bYtu15li697wve+0tExL3S9U1NLf97UxzjBLQ20p2AoEhgybKUoo0wLiYJIozzZEZRjTESkLBrXO85Lv31emJwML6mu3sjoBhjqK+vJwiC3ce1xi1jhFKpSHNzc+1Ibh7q68PfW7Hi8aP3hZZXUCnSIAFWIAwiLBnFzFEwEepjqjZC3CijlRijYCRCRHcL7bXigJ0BAFmWUSwWmTdvLqohPT3b6erqwjlHGIYcccQRHHPM8ZSH+3n8ybU8/vgTJEkVgLVrn+Vb3/rhPlARDBBJldh7wiji3+5P8ArepHgSIhVSX8ZY6BlK+OQZAU4dViAwDUD8mt/xgBYAwJFHHs3nPvcZnNPk29/+v7p9+zYDcPzxJ3HppRdXZs2aXvBJx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xURATJxv7WPyaDeUkNQnWAPOezCmtvK9VqUbKxmry5lfLlEZqmkjBQpANH4O7pdc0Jo1a6579hefu6QpW7Z71FcSZevOJN97xxgMGV4sGjiKgaNcDjFBFVWlod4wNOIRhbqiIQyEgZEYIaCxTpg2VejbGbNuC9Q1BBzc4enpS3HG5a3kOKIQOqY0snV7jPNVmhsLTJ2sGBOjxoDLZ6FIhpF8hqB+d2rBOZerFQHMWHIv9/fTcpFqZXQP8wPyX5KA95/qODp+Y3NBxhi8r6Aa4D04dRSLMKfToLVWPwhQ62rDUSlIgVQ9aH78oHZqiU2Hqueg9hKeBGs8ZJ629hJt7R7xjkBjmhsbMcEQ4lpARzBaD9rHobMVY+rIiFFCRAIyYoxGeQXMJngp5pZB8lhBnNuTXBNqnx5cROrLe5gfABLi0xC8IuMMwmA/CSCKoofMwX9ySXc5X2UYWqimnsgKVZdvfWGNkGZCYBxJNtZRbAiMo5pSq1BlBEZzIXowmuGc4hz5FwjeewqBEKfgy0LBZlRdHm9YzXDOkHmX55lqeQKrBuchcymFwBCn1NYMKIE6EhcACSoZgsF7B1hEHIVI8BrmHiiCitRqDymtbQcxd+5soP01826/1QPWrVt3wosXP0CeqEvTdHfCbu+/x/7f+7yxv/c+9uJ77cv5L6bxUue (data)
Comment 6 Alex Merry 2008-08-07 00:04:50 UTC
What should we do with a data: URI?  Kopete apparently equips the mime data with the picture in every conceivable format, including a base 64-encoded URI.

The URI starts with "data:image/png;base64," and continues with the base 64 encoding.  Do we want to decode it in Icon and... save it to a file?  Do we want to ignore it and do nothing if the data isn't exported in another mimetype that another applet says it can deal with?

I think I'd lean towards doing nothing with "data:" uris, since there's no obvious thing to do with them.  A folderview can create a file, but the desktop and panel do not represent folders.
Comment 7 Alex Merry 2008-08-08 19:15:03 UTC
SVN commit 844088 by alexmerry:

Don't try to make an icon with a data: URI - Icon can't handle them.

BUG: 164120



 M  +5 -4      containment.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=844088
Comment 8 Alex Merry 2008-08-08 19:16:47 UTC
SVN commit 844089 by alexmerry:

Backport fix: don't try to make an icon with a data: URI - Icon can't handle them.

CCBUG: 164120



 M  +5 -4      containment.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=844089