Bug 229582

Summary: x11/sddm and plasma components are broken by LC_NUMERIC change
Product: Ports & Packages Reporter: Ivan <bsd>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed Works As Intended    
Severity: Affects Some People CC: bsd, tcberner
Priority: --- Flags: tcberner: maintainer-feedback+
Version: Latest   
Hardware: Any   
OS: Any   

Description Ivan 2018-07-07 13:17:24 UTC
I observe very strange issue - sddm and components like System Settings are broken when lang set to ru_RU.UTF-8
I've seen the similar report with German locale on FreeBSD forum.

How to replicate:
change LANG with System settings for plasma to ru_RU.UTF-8 or sddm_lang="ru_RU" in /etc/rc.conf

1. sddm missing several entries (time, avatar, no asterisks when password typing)
2. if LANG changed for plasma, entire System Settings applet has no text at all

The issue can be worked around with LC_NUMERIC set to en_US.UTF-8, so probably LC_NUMERIC is the cause.
Comment 1 Ivan 2018-07-07 13:21:46 UTC
Here is locale with LC_NUMERIC workaround applied.

LANG=ru_RU.UTF-8
LC_CTYPE="ru_RU.UTF-8"
LC_COLLATE="ru_RU.UTF-8"
LC_TIME="ru_RU.UTF-8"
LC_NUMERIC=en_US.UTF-8
LC_MONETARY="ru_RU.UTF-8"
LC_MESSAGES="ru_RU.UTF-8"
LC_ALL=
Comment 2 Ivan 2018-07-07 13:27:47 UTC
Similar issue reported here https://forums.freebsd.org/threads/kde-plasma-5.47280/post-388949
Comment 3 Tobias C. Berner freebsd_committer freebsd_triage 2018-07-07 14:33:29 UTC
Hi there 

So like described here? https://github.com/sddm/sddm/issues/892

mfg Tobias
Comment 4 Ivan 2018-07-07 17:06:52 UTC
No, only some elements are missing in greeter and in system settings applet. It's almost looks like if localized numeric format breaking parsing of UI elements of different QT components, greeter is only one example of it.
Comment 5 Ivan 2018-07-07 17:07:34 UTC
I can take some screenshots if you wish.
Comment 6 Tobias C. Berner freebsd_committer freebsd_triage 2018-07-07 17:22:59 UTC
(In reply to Ivan from comment #5)
That would probably help, yeah :)
Comment 7 Ivan 2018-07-07 18:07:42 UTC
Sorry for inconvenience, but the issue doesn't exist on my developer machine (with newest ports), but exists on my laptop with ~ 2 months old ports.

Latest sddm has the issue, so I thought the problem with plasma still here. I think, recent minor QT version bumps resolved the matter with plasma and sddm is just too old. 

It is good to see the things are improving :P

I'm sorry again!
Comment 8 Tobias C. Berner freebsd_committer freebsd_triage 2018-07-07 18:15:44 UTC
No worries :)