Bug 483977 - Change SDDM background image with filename containing space(s) defaults to initial background image
Summary: Change SDDM background image with filename containing space(s) defaults to in...
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (other bugs)
Version First Reported In: 6.0.2
Platform: openSUSE Linux
: NOR minor
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-19 08:15 UTC by Konstantinos Sk
Modified: 2025-10-10 21:00 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In: 6.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantinos Sk 2024-03-19 08:15:38 UTC
SUMMARY
If I change the background image in SDDM settings to an image containing one or more spaces in its name, it displays the default background image.


STEPS TO REPRODUCE
1. System Settings > Login Screen (SDDM) > Change background
2. Select an image containing space(s) in its file name
3. Logout

OBSERVED RESULT
Default background image.

EXPECTED RESULT
New selected image.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: openSUSE Tumbleweed 20240315
(available in About System)
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2

ADDITIONAL INFORMATION
Wrapping the filename in quotes " " works.
Comment 1 Konstantinos Sk 2024-03-19 12:56:59 UTC
ADDITIONAL INFORMATION
Modifying `/usr/share/sddm/themes/<theme>/theme.conf.user` and wrapping the filename in quotes " " works. However, selecting another image through `Login Screen (SDDM)` or the default one will not overwrite the file again until the quotes are removed.
Comment 2 Sam Williams 2025-03-10 06:17:33 UTC
I think this may not be limited to spaces. Following the same steps to reproduce, I was unable to set my login background to a file called "5120x2880.jpg", but it took just fine after renaming it to "login.jpg".

I would guess that it's related to this issue, so I imagine here is the place to mention it instead of opening a new bug report.
Comment 3 Sam Williams 2025-03-10 06:23:23 UTC
I can open a new report if I'm mistaken though.

I realize I should probably include my system information for reference:

Linux Distribution: EndeavourOS (updated on 2025-03-10)
KDE Plasma Version: 6.3.2
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Comment 4 TraceyC 2025-10-10 21:00:01 UTC
I'm not able to reproduce the original bug in Neon Testing. When I choose a background image that has spaces in the file name, I see it after rebooting. I'm also not able to reproduce the bug using a file with numbers and an x in the filename.
This looks to be fixed in 6.5.0. If either of you can reproduce this bug when your system is updated to that version (or in a greater version), feel free to reopen this bug.

Thanks!