Summary: | Wallpaper settings lost on plasmashell restart | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Luca Beltrame <lbeltrame> |
Component: | Image Wallpaper | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED DOWNSTREAM | ||
Severity: | normal | CC: | a.samirh78, kde, nate, pereira.alex, plasma-bugs |
Priority: | NOR | Keywords: | regression |
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Other | ||
OS: | Linux | ||
See Also: | https://github.com/rpm-software-management/rpm/issues/1278 | ||
Latest Commit: | Version Fixed In: |
Description
Luca Beltrame
2020-06-18 04:53:33 UTC
Debugging with einar77 and DavidRedondo on IRC, we found that this commit is the culprit: https://invent.kde.org/plasma/plasma-workspace/-/commit/b707970879f091d4ba356bcf909a7f4c8c3b4422 specifically this part: - <default></default> + <default>preferred://wallpaperlocations</default> reverting it fixes the issue. Further suggestions from DavidRedondo, changing that to an actual path on the local file system works too. That url will trigger m_slidePaths << QStandardPaths::locateAll(QStandardPaths::GenericDataLocation,QStringLiteral("wallpapers"), QStandardPaths::LocateDirectory); m_slidePaths.removeAll(path); But I don't know why that breaks stuff It seems that after editing the relevant config.xml file, the bug is "fixe"; as in if I put "<default>preferred://wallpaperlocations</default>" back, changing the wallpaper still works... Cannot reproduce with current git master, FWIW. Well, after a few rounds of debugging with fvogt on IRC (he did most of the work ;) it turns out that it's in fact, an RPM (the package manager) bug! For those ending up here from search engines: remove /usr/share/plasma/wallpapers/org.kde.slideshow/contents/config/main.xml and reinstall plasma5-workspace. *** Bug 423433 has been marked as a duplicate of this bug. *** |