Bug 398673 - "Set image" feature does not work when I drag and drop some picture from a samba share to desktop
Summary: "Set image" feature does not work when I drag and drop some picture from a sa...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.16.4
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-15 15:00 UTC by Patrick Silva
Modified: 2020-02-14 16:14 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2018-09-15 15:00:32 UTC
Use Dolphin to navigate through a samba share containing pictures, drag and drop some picture on desktop. A menu shows up, click "Set image" option. Nothing happens.
Comment 1 Kai Uwe Broulik 2018-09-17 08:19:06 UTC
We use KIO to stat the file, which understands smb, but then we don't actually copy the file locally, so setting it doesn't work.

Two options:
1.) Download the file into a temp folder and set it as wallpaper (difficult, especially getting the "when to delete it again" right)
2.) Disallow setting a non-local image as wallpaper (easy)
Comment 2 David Edmundson 2018-09-17 16:47:34 UTC
Option 1.5) Set the wallpaper to the SMB URL. 
Have it load it (using QNetworkAccessManagerFactory to make it speak KIO)
Comment 3 Patrick Silva 2020-02-14 16:14:26 UTC
I can set an image from a samba share as wallpaper on Plasma 5.18. \o/

Operating System: Arch Linux 
KDE Plasma Version: 5.18.0
KDE Frameworks Version: 5.67.0
Qt Version: 5.14.1