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

            Bug ID: 158186
           Summary: Mismatching config key name and property name in UI
                    code
           Product: LibreOffice
           Version: 24.2.0.0 alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: implementationError
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 190796
  --> https://bugs.documentfoundation.org/attachment.cgi?id=190796&action=edit
The option is first enabled

While searching for unused config keys, I found in Writer.xcs the
ApplyBulletsAfterSpace which is seemingly not used by the code.

This was added recently in commit
https://cgit.freedesktop.org/libreoffice/core/commit/?id=c4fc18308074634e9578ad12d94d937f259aa22a

but when the code wants to save it, the property name in
SvxSwAutoCorrCfg::GetPropertyNames is
"Format/ByInput/ApplyNumberingAfterSpace",                      //48
which is not the same. Changing the value in the UI won't be remembered after
restart of LO.

1. Open Writer, go to Tools - AutoCorrect - AutoCorrect options
2. Go to the Options tab, and in the list enable the new "Bulleted and numbered
lists immediate after pressing space" option
3. Press OK, restart LO
4. Go back to the AutoCorrect options - Options tab
-> "Bulleted and numbered lists immediate after pressing space" option is
unchecked

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 41d9584179ef7b4e18eda47c2c0a955df8c087a5
CPU threads: 16; OS: Linux 5.15; UI render: default; VCL: gtk3
Locale: hu-HU (hu_HU.UTF-8); UI: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to