diff options
author | Justin Luth <justin.luth@collabora.com> | 2020-12-31 17:45:39 +0300 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2021-01-07 15:30:44 +0100 |
commit | b8d9334b9d4cc03a9b7d1e570a35e0ac6ca42338 (patch) | |
tree | c6d3cdd67490d977f953ec44a7f849e4ff00a507 /ure | |
parent | aa1ce583f0ad64b4ea5096c3ce9c6bd0a84794fe (diff) |
tdf#138544 sw LoadUserSettings: default PrinterIndependentLayout
I hope I understand this correctly.
In Options - Load/Save - General, there is option
"Load user-specific settings with the document" (default = true).
Turning this off seems to simply mean, don't read the settings in
Options - LibreOffice Writer - Compatibility from the document.
The assumption I guess is that this would instead use system defaults.
(Well, actually the user can "modify" these and "set as default".)
Well, that wasn't quite true in a few cases, like this one.
The general logic says "if the setting is not specified in the doc,
set to some old behaviour". And that makes sense. Of course there
is no setting in old documents - the concept didn't exist yet.
But when we explicitly exclude these user-enforceable
compat items, do we really want to force old behaviour
instead of current behaviour? And if the user has actually modified
these defaults, do we want to ignore the user's settings? I doubt it.
So here is the first patch.
When you start a new document, Writer compat setting
"Use printer metrics for document formatting" is off.
Now, when saving and reloading it with LoadUserSettings disabled,
it is still the program default of "off", instead of "on".
And if the user modifies it to always be on, it will still
turn on - so no regression there.
Change-Id: I13b236852da843ce72be16d79e2fdace1550523c
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/108545
Tested-by: Jenkins
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'ure')
0 files changed, 0 insertions, 0 deletions