https://bugs.kde.org/show_bug.cgi?id=460692
Fushan Wen <qydwhotm...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/plas | |ma/plasma-workspace/commit/ | |0eb8db0e70330bffc3abfb6c518 | |59e6ab1a3cb70 Status|ASSIGNED |RESOLVED --- Comment #5 from Fushan Wen <qydwhotm...@gmail.com> --- Git commit 0eb8db0e70330bffc3abfb6c51859e6ab1a3cb70 by Fushan Wen. Committed on 23/10/2022 at 00:38. Pushed by fusionfuture into branch 'master'. wallpapers/image: fall back to default wallpaper when url is empty It's expected to use the default wallpapaer when url is empty, which is also the default value. When closing the wallpaper config dialog without saving config, the source property of MediaProxy will become empty if the previous wallpaper is the default wallpaper, but in setSource empty url will be directly rejected instead of switching to the default wallpaper. This fixes the wrong behavior by calling `useSingleImageDefaults` when url is empty, and reset the source url in `useSingleImageDefaults` so it can find a wallpaper from the current Plasma theme. M +5 -2 wallpapers/image/plugin/utils/mediaproxy.cpp https://invent.kde.org/plasma/plasma-workspace/commit/0eb8db0e70330bffc3abfb6c51859e6ab1a3cb70 -- You are receiving this mail because: You are watching all bug changes.