Summary: | switch to oxygen theme NO background wallpaper rendered | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Leslie Zhai <zhaixiang> |
Component: | Image & Slideshow wallpaper plugins | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | bugseforuns, nate, notuxius, plasma-bugs |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Leslie Zhai
2016-01-20 03:00:42 UTC
when wallpaperPath is Empty or !exists, just fallback use isoft-artwork's, it is yet a workaround patch: diff --git a/wallpapers/image/image.cpp b/wallpapers/image/image.cpp index e18df00..8238c8c 100644 --- a/wallpapers/image/image.cpp +++ b/wallpapers/image/image.cpp @@ -108,7 +108,7 @@ QString Image::photosPath() const QString Image::wallpaperPath() const { - return m_wallpaperPath; + return QFile::exists(m_wallpaperPath) ? m_wallpaperPath : "/usr/share/isoft-artwork/background.png"; } void Image::addUrl(const QString &url) Was able to reproduce in VirtualBox Plasma: 5.11.5 Frameworks: 5.42.0 Qt: 5.10.0 Kernel: 4.14.15-1-ARCH cannot reproduce on Arch Linux, plasma 5.12 stable. Me neither. |