https://bugs.documentfoundation.org/show_bug.cgi?id=158128

            Bug ID: 158128
           Summary: Writer - Changes tab saves the Mark configuration
                    incorrectly compared to documentation
           Product: LibreOffice
           Version: 24.2.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: UI
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: kelem...@ubuntu.com
            Blocks: 102187

The documentation of the Writer/Revision/LinesChanged/Mark key says the
possible values are 0-4:

https://cgit.freedesktop.org/libreoffice/core/tree/officecfg/registry/schema/org/openoffice/Office/Writer.xcs#n2549

However the code of the Options - Writer - Changes dialog saves (and loads) the
value set in the Mark dropdown as text::HoriOrientation type, which does not
match the value range in the documentation.

This is unnecessary, and makes it more difficult to create lockdown extensions
pre-setting this to some value.

1. Open Writer, go to Options - Writer - Changes
2. In the Mark dropdown select the Right margin option. Press OK, restart
Writer.
3. Open Options - Advanced - Expert Configuration
4. Search for LinesChanged
-> the Mark key has value 1 instead of the documented 2. 
Setting the Left Margin option results in a value of 3 instead of the
documented 1.
Setting the Outer Margin option results in a value of 5 instead of the
documented 3.
Setting the Inner Margin option results in a value of 4, matching the
documented 4.
Setting the None option results in a value of 0, matching the documented 0.

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 97b6b6b16c4b623f8a34393a906272439a7f0314
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: hu-HU
Calc: threaded


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=102187
[Bug 102187] [META] Options dialog bugs and enhancements
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to