| Summary: | SDDM background image fail if file path contains non-latin characters | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | Guo Yunhe <i> |
| Component: | kcm_sddm | Assignee: | David Edmundson <kde> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 5.15.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Guo Yunhe
2019-03-01 14:08:15 UTC
I added some qDebug() lines and got:
Debug message from helper: SddmAuthHelper received:
Debug message from helper: QMap(("sddm.conf", QVariant(QString, "/etc/sddm.conf"))("sddm.conf/Autologin/Relogin", QVariant(bool, false))("sddm.conf/Autologin/User", QVariant(QString, ""))("sddm.conf/General/HaltCommand", QVariant(QString, ""))("sddm.conf/General/RebootCommand", QVariant(QString, ""))("sddm.conf/Theme/Current", QVariant(QString, "breeze"))("sddm.conf/Theme/CursorTheme", QVariant(QString, "breeze_cursors"))("sddm.conf/Users/MaximumUid", QVariant(QString, "60000"))("sddm.conf/Users/MinimumUid", QVariant(QString, "1000"))("theme.conf.user", QVariant(QString, "/usr/share/sddm/themes/breeze/theme.conf.user"))("theme.conf.user/General/background", QVariant(QString, "/home/guo/Nextcloud/??/??/????.jpg"))("theme.conf.user/General/type", QVariant(QString, "image")))
All non-latin character became "?"
I guess when args were passed from ThemeConfig to SddmAuthHelper, encoding and decoding is incorrect.
*** This bug has been marked as a duplicate of bug 384294 *** |