Bug 378222 - SDDM-kcm doesn't change the breeze sddm theme background if the new background image name is same as the old name
Summary: SDDM-kcm doesn't change the breeze sddm theme background if the new backgroun...
Status: REPORTED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (show other bugs)
Version: 5.9.4
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-28 20:16 UTC by Rog131
Modified: 2023-08-16 15:51 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.15.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rog131 2017-03-28 20:16:40 UTC
How to reproduce:

1) Set the Breeze sddm theme background image (1.jpg) with the sddm kcm.
2) Try to change the Breeze sddm theme background image with the same name (1.jpg) with the sddm kcm.


Workaround:

As the 'clear image' action is not removing the image file from the  "/usr/share/sddm/themes/breeze/" the user needs to change the background image to another name (2.jpg) before the old name can be used again.
Comment 1 David Edmundson 2017-09-06 22:32:59 UTC

*** This bug has been marked as a duplicate of bug 381382 ***
Comment 2 David Edmundson 2017-09-06 22:33:38 UTC
sorry, that's not quite the same.
Comment 3 RaitaroH 2018-01-06 17:20:29 UTC
I did get around this by having the image for the SDDM a link instead. Keep in mind that you have to make the link in /usr/share/sddm/themes/breeze/ for this to work properly.
The gist of it: `ln -s 1.jpg /usr/share/sddm/themes/breeze/` 
After this you can change 1.jpg in any way you want and SDDM will listen to you.

For more info see here:
https://github.com/RaitaroH/KDE-Terminal-Wallpaper-Changer
Comment 5 Patrick Silva 2019-03-01 17:00:36 UTC
This bug persists in plasma 5.15.2.
I used files named "2.jpg" instead of "1.jpg".


Operating System: Arch Linux 
KDE Plasma Version: 5.15.2
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Comment 6 David Edmundson 2019-03-01 17:35:02 UTC
We check the file name every time to save uploading a new wallpaper if we've adjusted something unrelated like the cursors. Should be fixable if we track the dirty state client side.
Comment 7 sig 2021-04-14 16:46:25 UTC
Once a new SDDM theme is selected and rebooted, the correct theme shows while logging in. Once the laptop sleeps and is awakened it reverts back to the default SDDM theme.
Comment 8 Hannus 2023-08-16 15:51:42 UTC
This is still the case with KDE Plasma version 5.27.7.
The old background isn't deleted, therefore it isn't possible to set a new background when it has the same filename.