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

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



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,
--
"There are two ways of constructing a software design.  One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that there are no obvious deficiencies."
-- C.A.R. Hoare
Saludos /\/\ /\ >< `/

Attachment: signature.asc
Description: PGP signature


Reply to: