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

            Bug ID: 171999
           Summary: Editing conditional text fields destroys them
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

- Insert a conditional text field
- Edit the field and change something
- Edit the field again -> the date field dialog page opens
- Save the edited document and reload -> the field is now a hidden text field.

Broken since 
commit 9257e94e5d1b6b29aaadef42ffad6888fb77df6b
Author: Noel Grandin <[email protected]>
Date:   Sat Jul 5 16:35:17 2025 +0200

    move m_nSubType field in SwField down to subclasses

    because it is really different types depending which subclass
    it belongs to.
    Here I do not try to apply correct types to all of the fields
    that are created in the subclasses, only a couple of the
    obvious ones.
    Unfortunately, some of the code is just too awkward to
    fully re-structure, so I add some SwField::GetUntypedSubtype()
    method to allow some code to get/set untyped format values.

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

Reply via email to