https://bugs.kde.org/show_bug.cgi?id=460692
Fushan Wen <qydwhotm...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas |ma/plasma-workspace/commit/ |ma/plasma-workspace/commit/ |0eb8db0e70330bffc3abfb6c518 |c15596dbc8e3d90de6f64a8e654 |59e6ab1a3cb70 |5b482ff694579 --- Comment #6 from Fushan Wen <qydwhotm...@gmail.com> --- Git commit c15596dbc8e3d90de6f64a8e6545b482ff694579 by Fushan Wen. Committed on 23/10/2022 at 01:23. Pushed by fusionfuture into branch 'Plasma/5.26'. 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. (cherry picked from commit 0eb8db0e70330bffc3abfb6c51859e6ab1a3cb70) M +5 -2 wallpapers/image/plugin/utils/mediaproxy.cpp https://invent.kde.org/plasma/plasma-workspace/commit/c15596dbc8e3d90de6f64a8e6545b482ff694579 -- You are receiving this mail because: You are watching all bug changes.