Open Bug 1909923 Opened 2 years ago Updated 5 months ago

[Flatpak] Warning "locale not supported" causing incorrect date format

Categories

(Thunderbird :: General, defect)

Thunderbird 128
defect

Tracking

(Not tracked)

People

(Reporter: ezh, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: flatpak)

Fedora 40, KDE 6.1.3.

Installed TB from flatpak, now I see it is using US date format, but I have Russian as my locale.

Console gives error:
$ flatpak run org.mozilla.Thunderbird
[2, Main Thread] WARNING: Locale not supported by C library.
Using the fallback 'C' locale.: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:187

(thunderbird-esr:2): Gtk-WARNING **: 19:06:45.424: Locale not supported by C library.
Using the fallback 'C' locale.
[Child 94, Main Thread] WARNING: Locale not supported by C library.
Using the fallback 'C' locale.: 'glib warning', file /builds/worker/checkouts/gecko/toolkit/xre/nsSigHandlers.cpp:187

(/app/lib/thunderbird/thunderbird-bin:94): Gtk-WARNING **: 19:06:48.226: Locale not supported by C library.
Using the fallback 'C' locale.

Summary: [Flatpak] locale not supported → [Flatpak] Warning "locale not supported" causing incorrect date format
Blocks: tb128found

Same on openSUSE Tumbleweed, Tb 128.2.0 flatpak.

What locale is actually used? Time is 24h - that is OK, but the date is US like: mm/dd/yy

duplicate?

Flags: needinfo?(daniel)

I was able to duplicate this in openSUSE Tumbleweed using both the Thunderbird Flatpak and also a non-Flatpak Thunderbird installation (using zypper), so this doesn't seem to be a Flatpak issue.

This bug/comment seems fairly similar to the issue you're having, Eugene. Maybe your OS locale is causing this? If so, you could change the preference intl.regional_prefs.use_os_locales to see if that fixes things.

As for Fedora, the Thunderbird Flatpak they offer in their default flatpak repo is built by them and not us. They run their own flatpak repo separate from Flathub.

Flags: needinfo?(daniel)

(In reply to Daniel Darnell [:dandarnell] from comment #3)

I was able to duplicate this in openSUSE Tumbleweed using both the Thunderbird Flatpak and also a non-Flatpak Thunderbird installation (using zypper), so this doesn't seem to be a Flatpak issue.

This bug/comment seems fairly similar to the issue you're having, Eugene. Maybe your OS locale is causing this? If so, you could change the preference intl.regional_prefs.use_os_locales to see if that fixes things.

Eugene?

Flags: needinfo?(ezh)
Keywords: flatpak

I found the intl.regional_prefs.use_os_locales setting.
It was set to "false".
Changed to "true".
Nothing changed.

I'm on Tumbleweed, Tb flatpak ESR 140.11.1.

~> locale
LANG=en_US.UTF-8
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC=ru_RU.UTF-8
LC_TIME=ru_RU.UTF-8
LC_COLLATE="en_US.UTF-8"
LC_MONETARY=et_EE.UTF-8
LC_MESSAGES="en_US.UTF-8"
LC_PAPER=ru_RU.UTF-8
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE=et_EE.UTF-8
LC_MEASUREMENT=ru_RU.UTF-8
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

Flags: needinfo?(ezh)

Eugene, can you confirm where you're getting the flatpak from?

We maintain the flathub flatpak for Thunderbird, and Fedora maintains the fedora flatpaks.

I'm on Tumbleweed for two years now and with same problem.

Official Flathub package. I was on ESR, as no monthly was available. Now I moved to monthly (org.mozilla.thunderbird).

You need to log in before you can comment on or make changes to this bug.