https://bugs.kde.org/show_bug.cgi?id=422874

--- Comment #13 from kortra...@gmail.com ---
(In reply to Bharadwaj Raju from comment #8)
> Currently KNotifications only supports image preview through a file URL, not
> through direct image in memory (it does support setting an image as icon).
> If Spectacle is set to copy to clipboard, and not to autosave anywhere, then
> there won't be any file URL. 
> 
> Possible solutions:
> - save image to temporary directory, and pass that to Spectacle. potentially
> a problem because the notification would be in notification history so the
> "temporary" image would have to be kept for a rather long time.
> - somehow change KNotifications and Plasma notification system to support
> having image previews from memory.

I don’t see solution 1 as a problem. Especially if the image is saved to a
directory like /tmp/spectacle/notif-imgs. The directory would be cleared on
reboot anyway.  Plus other apps do this.
The notif would say at this point “Image screenshot-xx-…. saved to clipboard.”

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to