Summary: | Ask for confirmation before deleting wallpapers | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Elias Probst <mail> |
Component: | Image & Slideshow wallpaper plugins | Assignee: | Marco Martin <notmart> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | aleixpol, antonis.tsiapaliokas, kde, kde, lukas |
Priority: | NOR | ||
Version: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/plasma-workspace/50942e2618f3ed26f8eac8f264656617bb113ec6 | Version Fixed In: | |
Sentry Crash Report: |
Description
Elias Probst
2014-09-01 12:46:10 UTC
Removing an image from the wallpaper selection doesn't remove it. Here it deletes the file hard from the disk... How are you adding the file? Using the Open... button bump? seems like an important one... When the image is in QStandardPaths::writableLocation(QStandardPaths::GenericDataLocation) + "/wallpapers/" it gets deleted when removed from the list, if it's a Plasma package it is uninstalled. Otherwise the config is just updated. Perhaps there's a glitch in Image::removeWallpaper(), like doing QUrl nameUrl(name); and stuff. I have upload a patch in the rb which is adding a dialog for confirmation before the delete of the wallpaper. https://git.reviewboard.kde.org/r/123211/ Git commit 50942e2618f3ed26f8eac8f264656617bb113ec6 by Antonis Tsiapaliokas. Committed on 03/04/2015 at 16:05. Pushed by tsiapaliokas into branch 'master'. Ask for confirmation before deleting a wallpaper. REVIEW: 123211 M +47 -0 wallpapers/image/backgroundlistmodel.cpp M +9 -3 wallpapers/image/backgroundlistmodel.h M +7 -0 wallpapers/image/image.cpp M +1 -0 wallpapers/image/image.h M +24 -3 wallpapers/image/imagepackage/contents/ui/WallpaperDelegate.qml M +5 -1 wallpapers/image/imagepackage/contents/ui/config.qml http://commits.kde.org/plasma-workspace/50942e2618f3ed26f8eac8f264656617bb113ec6 |