Bug 140874 - LibreOffice in a French desktop environment creates Letter-sized documents by default
Summary: LibreOffice in a French desktop environment creates Letter-sized documents by...
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected) release
Hardware: All Linux (All)
: medium normal
Assignee: Not Assigned
Depends on:
Blocks: User-Locale
  Show dependency treegraph
Reported: 2021-03-08 09:17 UTC by herve
Modified: 2023-01-05 16:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description herve 2021-03-08 09:17:08 UTC
Environment: Arch Linux, libreoffice-fresh and libreoffice-fresh-fr installed, package version 7.1.1-1

Gnome desktop environment set in France/French in the Country and Language parameters


Excepted: When opening LibreOffice Writer (but also Draw and all), the default document should be in the default local paper format for my country and language, which is A4.

Result: All documents are in the US Letter format, which of course messes up printing the document.

I double checked in the options Writer is using the default locale (reported as "French (France)").

The paper size is part of the locale:
$ locale -k LC_PAPER

I can't remember when it started to drift. It used to "just work" so I didn't have to check and correct the paper size on every document I create.

Please note I was pretty sure I already opened a similar bug, but I can't find it either here or on the Arch Linux bug tracker, even in closed bugs.
Comment 2 herve 2021-03-11 14:39:01 UTC
I wonder if it's related, but Calc no longer writes numbers with a comma from the numeric keypad (the decimal separator is the comma in French).

Quite annoying when I do accountancy.
Comment 3 Philippe Noroy 2021-06-19 09:58:00 UTC
Same on:
Version: / LibreOffice Community
Build ID: 10(Build:2)
CPU threads: 6; OS: Linux 5.10; UI render: default; VCL: kf5
Locale: fr-FR (fr_FR.UTF-8); UI: fr-FR
Calc: threaded
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.10.42-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Processors: 6 × AMD Ryzen 5 4500U with Radeon Graphics
Memory: 7.3 Gio of RAM
Graphics Processor: AMD RENOIR

Problem recently discovered, may be after an update: LO creates Letter-sized documents by default, language being on default option (french France).
Problem solved by choosing explicitly french France in the drop-down list.
Note that my really-A4 printer was set to Letter at the same time, but ressetting to A4 did not change the default behavior in LO (first thing I tried).
Comment 4 Julien Nabet 2021-12-18 16:26:46 UTC
Laurent: thought you might be interested in this one since you fixed tdf#143956.
The weird thing here is this the exact contrary of tdf#143956.
Comment 5 Stéphane Guillou (stragu) 2023-01-05 14:05:34 UTC
From comments, only reported on Linux.

I tested in 7.1:

- with default UI language (en-US) but FR locale
- with FR for both UI and locale

Format > Page style in a new document is always A4.

Version: / LibreOffice Community
Build ID: f6099ecf3d29644b5008cc8f48f42f4a40986e4c
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (en_AU.UTF-8); UI: en-US
Calc: threaded

I also tested the upcoming 7.5 version, with both options as above, still not able to reproduce. A4 is the default.

Version: (X86_64) / LibreOffice Community
Build ID: 77cd3d7ad4445740a0c6cf977992dafd8ebad8df
CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: fr-FR (en_AU.UTF-8); UI: en-US
Calc: threaded

Herve and Philippe, are you please able to test again with a version that is currently supported (for example 7.4), with a fresh user profile, and let us know if you can still see the issue?
Comment 6 herve 2023-01-05 15:04:05 UTC
Hi, I'm the OP. I since switched to another distribution (Fedora), and I cannot reproduce this anymore. LibreOffice Writer opens a blank A4 document when I open it.
Comment 7 Stéphane Guillou (stragu) 2023-01-05 16:19:03 UTC
Thanks Hervé! Marking as "resolved - works for me", but if Philippe still sees the issue, feel free to set to "unconfirmed" again.