Bug 456139 - Numeric mode, posix collation implementation : many lines printed on terminal after opening the settings
Summary: Numeric mode, posix collation implementation : many lines printed on terminal...
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: General (other bugs)
Version First Reported In: 5.1.0-beta1
Platform: Appimage Linux
: NOR minor
Target Milestone: ---
Assignee: Krita Bugs
URL: https://invent.kde.org/sysadmin/ci-im...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-29 17:29 UTC by David REVOY
Modified: 2022-07-08 13:28 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David REVOY 2022-06-29 17:29:53 UTC
Hi, 

When I open the settings on Krita 5.1(beta1)~appimage, I have many lines printed in the terminal suddently: 597 lines telling the same things, and then it ends with another message:

```
[...]
Numeric mode unsupported in the posix collation implementation
Numeric mode unsupported in the posix collation implementation
Numeric mode unsupported in the posix collation implementation
Numeric mode unsupported in the posix collation implementation
Numeric mode unsupported in the posix collation implementation
Numeric mode unsupported in the posix collation implementation
Numeric mode unsupported in the posix collation implementation
Numeric mode unsupported in the posix collation implementation
Numeric mode unsupported in the posix collation implementation
Numeric mode unsupported in the posix collation implementation
Failed to fetch display info: "current platform doesn't support fetching display information"
```

It doesn't affect stability and only appear on the terminal, so I marked this bug as 'minor'.

It might have something to do with my French numeric mode being with number using comma instead of dot as a separator while I'm using a local in English for the software translation.  This mix of FR_fr numerics and EN_Us locales sometimes doesn't blend well together.
Comment 1 Alvin Wong 2022-06-29 17:35:34 UTC
Yeah, this has been known for some time and also happens on en_US locale. It is caused by the update of the AppImage base from Ubuntu 16.04 to 18.04. I have no idea what exact change caused these to appear, though a potential fix is to build Qt with the ICU library.
Comment 2 Halla Rempt 2022-07-05 15:27:12 UTC
See https://invent.kde.org/qt/qt/qtbase/-/blob/v5.12.12/src/corelib/tools/qcollator_posix.cpp#L58

libs/widgetutils/xmlgui/KisShortcutsEditorItem.cpp
Comment 3 Alvin Wong 2022-07-08 11:28:10 UTC
Should be gone in the latest AppImage builds.
Comment 4 David REVOY 2022-07-08 13:28:13 UTC
I confirm, I can no longer reproduce when I open the settings, thanks!