Bug 392558

Summary: background selector filter is wrong
Product: [Applications] systemsettings Reporter: miklos <mtmkls>
Component: kcm_sddmAssignee: David Edmundson <kde>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate
Priority: NOR    
Version First Reported In: 5.12.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.15.0
Sentry Crash Report:

Description miklos 2018-03-31 12:15:57 UTC
The file chooser dialog for the background image of SDDM has "image/*" in the filter by default, but it's a file name filter, so all files are filtered out.
Comment 1 Patrick Silva 2018-04-22 21:08:37 UTC
Cannot confirm on Arch Linux, plasma 5.12.4.
Comment 2 miklos 2018-04-23 23:47:29 UTC
I have upgraded my system since I made this report, and now I get "All Files" in the filter. However, if we take a look at the source:
https://cgit.kde.org/sddm-kcm.git/tree/src/configwidgets/selectimagebutton.cpp#n76
it clearly wants "image/*" as the filter. It probably gets ignored by Qt, because it doesn't look like the magical format QFileDialog expects. Maybe I had a broken version of Qt that didn't ignore the malformed filter specification?