Bug 369612

Summary: Default SDDM avatars do not work with the theme
Product: [Plasma] plasmashell Reporter: Fabian Vogt <fabian>
Component: Theme - BreezeAssignee: visual-design
Status: RESOLVED FIXED    
Severity: normal CC: kde, nate, plasma-bugs, rdieter
Priority: NOR    
Version: 5.7.95   
Target Milestone: 1.0   
Platform: openSUSE   
OS: Linux   
URL: https://openqa.opensuse.org/tests/273998#step/first_boot/5
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Workaround in the sddm theme
Workaround in the sddm theme

Description Fabian Vogt 2016-10-01 17:03:18 UTC
The default SDDM avatars (.face.icon/root.face.icon) are dark transparent pngs and thus do not work on dark backgrounds.
So far the fallback to the "user-identity" icon worked only because of a bug in sddm 0.14.0: https://github.com/sddm/sddm/pull/684

Reproducible: Always
Comment 1 Fabian Vogt 2016-10-01 17:57:14 UTC
Created attachment 101370 [details]
Workaround in the sddm theme

I attached a patch that works around the issue by replacing .face.icon and root.face.icon (the default sddm icons) with the plasma "user-identity" icon.
The proper fix is probably to expand sddm to support a per-theme "FacesDir=" configuration option and ship default faces with plasma-workspace.
Comment 2 Fabian Vogt 2016-10-07 20:10:12 UTC
Created attachment 101478 [details]
Workaround in the sddm theme

The previous patch version was buggy, it also ignored the ".face.icon" files that users can put into their home directories. To only ignore the global sddm supplied onces, this now compares against a hardcoded sddm face path.