Bug 464598 - Show error message when theme specifies background file with an invalid relative path
Summary: Show error message when theme specifies background file with an invalid relat...
Status: CONFIRMED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (other bugs)
Version First Reported In: 5.27.80
Platform: Arch Linux Linux
: LO wishlist
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-21 16:20 UTC by Patrick Silva
Modified: 2023-11-16 18:42 UTC (History)
3 users (show)

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


Attachments
screenshot (402.94 KB, image/png)
2023-01-21 16:20 UTC, Patrick Silva
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2023-01-21 16:20:31 UTC
Created attachment 155474 [details]
screenshot

Not all themes from KDE Store are affected.

STEPS TO REPRODUCE
1. open SDDM KCM
2. install Darkine and KDE-Story SDDM themes via 'Get new sddm themes...' button
3. click on the button to preview the background of the installed themes

OBSERVED RESULT
as seen in the attached screenshot, a popup shows up saying "No image selected'

EXPECTED RESULT
the popup should show the preview of the background

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8
Graphics Platform: Wayland
Comment 1 Nate Graham 2023-01-23 23:20:27 UTC
Can reproduce. I took a look and those themes are misconfigured, specifying a relative path for the background= keys in their theme.conf and theme.conf.user files. The paths need to be absolute, or else SDDM won't be able to see them.

We could show an error message to the user here alerting them to the fact that the theme is broken.