[Libreoffice-bugs] [Bug 120141] Templates in shellnew directory not fitting to global settings
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sat Jan 4 22:12:04 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=120141
--- Comment #5 from Nikolaus Kühn <nikolaus.kuehn at gmx.de> ---
Hi,
I have just reproduced this on my partner's new windows 10 computer (fresh
windowsn installation).
- Windows 10, latest version and updates
- German (Germany) locale in the windows system
Since you asked for a more precise reproduction flow @Buovjaga:
* download libreoffice https://www.libreoffice.org/download/download/
* run installer, leave all standard settings
* start libreoffice writer from start menu
* type "Rice Reis" ("reis" is german for rice) -> "rice" underlined by
spell checker, i.e. libreoffice finds the english spellling not OK but the
german one OK.
* close libreoffice
* open windows explorer
* navigate to documents folder
* right click/tap in folder, choose "Neu -> OpenDocument Text" in context menu
("neu" is german for "new")
* type a file name, press return
* double click the file, opens in libreoffice
* type "Rice Reis" -> "Reis" underlined by spell checker, i.e. libreoffice
finds the german spelling not OK but the english one OK.
Expected behavior in last step: "Rice" underlined in spell checker because all
defaults should be properly set to the system locale on a fresh install.
I chose the spell checker because it's an obviously visible use case. But the
document created via the context menu in the explorer is overall not set to the
standard locale.
---
My guess / gut feeling about the issue:
The problem is that creating a new file via the context menu in the windows
explorer is happening without any software interaction with libreoffice.
Windows solely relies on the registry information to decide what file to copy
and create.
"Computer\HKEY_CLASSES_ROOT\.odt\LibreOffice.WriterDocument.1\ShellNew\FileName"
contains the path to the Libreoffice installation folder and the the
libreoffice installer is not language-specific, libreoffice handles locale
defaults at first start but does not change the file in the installation folder
(which is hard because changing them requires administrator privileges).
Maybe LO could put a file into the installation folder's
"share\template\shellnew" that is somemarked as unlocalized so it can detect
that when opening the file and set the configured locale when the file is first
opened (which would again have the downside that the file is changed and the
user would have to save even if nothing is changed).
Not sure how other applications handle the case.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20200104/d37b0522/attachment.htm>
More information about the Libreoffice-bugs
mailing list