How to handle drag-and-drop to the desktop in Plasma 5?

Eike Hein hein at kde.org
Thu Dec 3 12:58:30 UTC 2015



On 12/03/2015 12:04 PM, Weng Xuetian wrote:
> Just tried to debug it a little bit, looks like FolderModel::drop is
> not called at all.
> 
> From the observed visual behavior, plasmashell seems to takes the drop
> as a new plasmoid request so FolderModel doesn't get the drop event.
> 
> Probably it is blocked by following code in desktop containment.
> if (isFolder && event.mimeData.hasUrls)

The .hasUrls prop is a recent change after changes
in plasma-framework, so it might explain the regression.


Cheers,
Eike


More information about the Plasma-devel mailing list