Bug 412810

Summary: Input is not shown when typing FDE password
Product: [Plasma] Breeze Reporter: Bart Ribbers <bribbers>
Component: PlymouthAssignee: Plasma Development Mailing List <plasma-devel>
Status: RESOLVED DOWNSTREAM    
Severity: normal CC: nate, sitter
Priority: NOR    
Version: 5.16.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: working screenshot

Description Bart Ribbers 2019-10-10 11:25:49 UTC
SUMMARY

On an encrypted system, the theme shows an input field to enter the password to decrypt the system. However, if the user types in the password, this input field is not actually filled.

STEPS TO REPRODUCE
1. Setup an encrypted system
2. Type in the password on bootup
3. Observe no input being displayed

OBSERVED RESULT

No input is being shown.

EXPECTED RESULT

Input being shown, indicating to the user something is happening. Of course it shouldn't show the actual characters, but those dots used on every other password prompt instead

SOFTWARE/OS VERSIONS
Linux: Linux 5.3.1
(available in About System)
KDE Plasma Version: 5.16.5
KDE Frameworks Version: 5.62.0
Qt Version: 5.12.3
Plymouth version: 0.9.4
Comment 1 Harald Sitter 2019-10-10 11:53:38 UTC
That sounds more like a distro or plymouth bug. This is working fine with the test script and plymouth 0.9.3 

https://phabricator.kde.org/source/breeze-plymouth/browse/master/test/plytest.sh$59

And also works fine on a neon user edition I just freshly installed.

Specifically the distro needs to make sure a suitable font (ideally noto sans) is packed into the initrd otherwise rendering the bullet point may fail, which I suspect is what is happening.

Seeing as you get the prompt field there isn't a whole lot that can go wrong, it's literally just filling the prompt with as many bullets plymouth requests. So either the bullet image is broken (which is simply rendered from text) or plymouth fails to report a suitable bullet count.

https://phabricator.kde.org/source/breeze-plymouth/browse/master/breeze/breeze.script.cmake$610
https://phabricator.kde.org/source/breeze-plymouth/browse/master/breeze/breeze.script.cmake$662
Comment 2 Harald Sitter 2019-10-10 11:59:17 UTC
Created attachment 123122 [details]
working screenshot
Comment 3 Nate Graham 2019-10-10 16:04:10 UTC
Yeah sounds like a broken fontconfig to me.