Bug 392558 - background selector filter is wrong
Summary: background selector filter is wrong
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_sddm (other bugs)
Version First Reported In: 5.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-03-31 12:15 UTC by miklos
Modified: 2019-02-06 05:18 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?