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

            Bug ID: 164097
           Summary: Deleting header do not delete all header style data
           Product: LibreOffice
           Version: 24.2.7.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 197870
  --> https://bugs.documentfoundation.org/attachment.cgi?id=197870&action=edit
xml data in table to compare differences.

In a odt file, when a header is unset ([ ] Header on), there are style data
that is not delete.
This affects the default tabs position (center and right) in the header when a
new paper format is selected.
I compared the styles.xml subfile of a new empty document without header, a new
empty document with header, and a new empty document with the header removed.
See in the attachment.

Steps to reproduce:
1. Set header in a document.
2. Unset the header.

Actual results:
After step 2, there are unused(?) style data that remains.

Expected results:
After step 2, unused style data must disappears, so if a different paper format
is selected, center and right tab stops are correctly positioned.

I hope implementing this won't be a difficult task.

Version: 24.2.7.2 (X86_64) / LibreOffice Community
Build ID: ee3885777aa7032db5a9b65deec9457448a91162
CPU threads: 4; OS: Windows 10.0 Build 19045; UI render: Skia/Vulkan; VCL: win
Locale: es-MX (es_ES); UI: en-US
Calc: CL threaded

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

Reply via email to