[PATCH] BUG: 100464 Dropping text/plain on the bookmark sidebar

David Faure faure at kde.org
Thu Mar 17 08:58:22 GMT 2005


On Thursday 17 March 2005 02:08, Daniel Teske wrote:
> One of it is: Dropping text/plain on the bookmark sidebar doesn't work.
> The reporter wants to drag and drop selected text from the location bar
> to the bookmark sidebar.
> 
> The boookmark_module uses KBookmarkDrag to decode the dragged data.
> And KBookmarkDrag::canDecode() claims that it supports:
> text/uri-list, application/x-xbel, text/plain
> 
> Strangely KBookmarkDrag::decode() can't actually handle text/plain.

Hmm, hmm, that looks like a bug in KBookmarkDrag indeed.
The addition of text/plain was for *exporting* text/plain when dragging a bookmark,
but indeed text/plain being in canDecode() was weird.

OK, fix looks good, please commit.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kfm-devel mailing list