[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845788: plasma-desktop: Incorrect values in ~/.config/plasma*



On 2016-11-29 14:43, Maximiliano Curia wrote:
Control: reassign -1 qtbase5-dev 5.7.1~20161021+dfsg-6

¡Hola Jeroen!

El 2016-11-26 a las 18:54 +0100, Jeroen N. Witmond escribió:
Package: plasma-desktop Version: 4:5.8.2-1 Severity: normal

jeroen@zandbak:~$ echo $LANG en_NL.UTF-8

Mmh, I see the en_NL option in the formats kcm, which isn't a valid
locales value. This seems to be a qt issue, the combos are filled
calling:
QList<QLocale> allLocales =
QLocale::matchingLocales(QLocale::AnyLanguage, QLocale::AnyScript,
QLocale::AnyCountry);

I'm attaching a minimal qlocale's ls names, that can be compiled with:
c++ -fPIC -lQt5Core main.cpp
-I/usr/include/x86_64-linux-gnu/qt5/QtCore
-I/usr/include/x86_64-linux-gnu/qt5 -o main

In the hope that this might ease the reproducibility of the issue. The
script returns error if the en_NL name is present.

This could be improved using the "official" list of valid locales
entries (/usr/share/i18n/SUPPORTED).

Happy hacking,

I have reset the language to its intended value of en_US.UTF-8 using `kcmshell5 formats`.

Thanks for your helpful answer.


Reply to: