Summary: | Dragging picture to desktop sometimes sets slideshow for background | ||
---|---|---|---|
Product: | [Unmaintained] plasma4 | Reporter: | greg.freemyer |
Component: | containment-desktop | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | wstephenson |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
greg.freemyer
2010-07-24 04:12:18 UTC
Confirmed Nailed it: when a file is dropped on the desktop, its mimetype is evaluated to see what widgets or wallpaper plugins can be activated to handle it. When it is a wallpaper, the plugin expects two arguments: the URL to display (of the file) and the rendering mode to use. The rendering mode is an empty string, which according to the API means use the default mode. However in the implementation of the Image wallpaper plugin, which has two modes, Single Image and Slideshow, all the logic is based on a positive test for Single Image - any other value (eg an empty string) falls back to SlideShow. I have added a test patch to the openSUSE kdebase4-workspace KDE:Distro:Stable packages that treats an empty string in the Image wallpaper as Single Image, but I am going to pursue a proper fix in the Wallpaper plugin base class on plasma-devel@. Fixed the easy way after consultation with Plasma-devel@ |