Bug 122190 - Default font remains Liberation when creating ODT from File explorer, even if changed in Options-Writer-Basic Fonts
Summary: Default font remains Liberation when creating ODT from File explorer, even if...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.3.2 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Desktop-Integration Templates
  Show dependency treegraph
 
Reported: 2018-12-19 09:23 UTC by wroot
Modified: 2022-12-16 08:00 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wroot 2018-12-19 09:23:17 UTC
Description:
If i change default fonts in Writer, they are applied if i run Writer from programs list. But if i create an odt document by right clicking in a folder and selecting OpenDocument and then open it, it will have regular Liberation font defaults. Windows 7 x64.

Steps to Reproduce:
1. Run Writer and change default fonts to other than Liberation.
2. Right click in a folder and select to create new OpenDocument file.
3. Open created file.

Actual Results:
Liberation is still a default font in a file created that way.

Expected Results:
Writer should always use default font set in Options no matter how file is created.


Reproducible: Always


User Profile Reset: No



Additional Info:
If i try to create RTF file this way it actually works correctly and such file used my set default font instead of Liberation. For some reason doesn't work with ODT the same way.
Comment 1 Durgapriyanka 2018-12-19 16:25:19 UTC
Thank you for reporting the bug. I can not reproduce the bug in 

Version: 6.3.0.0.alpha0+
Build ID: 3c964980da07892a02d5ac721d80558c459532d0
CPU threads: 2; OS: Windows 6.1; UI render: default; VCL: win; 
TinderBox: Win-x86@42, Branch:master, Time: 2018-12-12_02:07:45
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded
Comment 2 Hiromi Kuramoto 2018-12-25 07:03:17 UTC
Hello, I can confirm your reporting bug in macOS Sierra.

Version: 6.1.3.2
Build ID: 86daf60bf00efa86ad547e59e09d6bb77c699acb
CPU threads: 4; OS: Mac OS X 10.12.5; UI render: default; 
Locale: en-US (ja_JP.UTF-8); Calc: group threaded
Comment 3 Timur 2018-12-25 11:35:53 UTC
I reproduced in Windows LO 6.1.3 and 6.3+ like this:
1. delete user profile to have clean profile
2. run Writer and change default fonts to other than Liberation in Tools-Options-Writer-Basic Fonts
3. close and reopen writer to see that default font is other and is there in Basic Fonts
4. right click in a folder and select to create new "OpenDocument Text" file
5. open created file and see it has Liberation and that Basic Fonts still show Liberation (how?)
6. close and reopen Writer via LO shortcut to see that it opens other font as default.

Note: testing with master dev version is possible is MSI is edited to set Write Registry as 1.
Comment 4 Aron Budea 2019-03-15 02:15:03 UTC
As I understand LO ships four empty files in share\template\shellnew, and adds shell commands in Windows registry to use them when the user creates a new file from Explorer.
Comment 5 QA Administrators 2022-06-05 03:40:30 UTC Comment hidden (obsolete)
Comment 6 wroot 2022-06-05 07:52:41 UTC
Bug is still present

Version: 7.3.3.2 (x64) / LibreOffice Community
Build ID: d1d0ea68f081ee2800a922cac8f79445e4603348
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: lt-LT (lt_LT); UI: en-US
Calc: threaded
Comment 7 Mike Kaganski 2022-12-16 08:00:55 UTC
I expect this be fixed by tdf#139962.