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

            Bug ID: 152340
           Summary: Capitalize Every Word operation creates gazillion undo
                    entries, when change tracking is enabled
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

1. Create a new text document
2. Type lorem
3. Press F3
   => a "Lorem ipsum" 3-paragraph autotext is inserted
4. Edit->Track Changes->Record
5. Select all (Ctrl+A)
6. Format->Text->Capitalize Every Word
7. Undo (Ctrl+Z)
   => only the second word ot the last paragraph ("velit") gets restored.
8. Look at undo list (in the Undo button's drop-down)
   => tens of Delete "foo" entries there. Why "Delete", not "Replace", by the
way?
9. Press and hold Ctrl+Z to undo one-by-one everything.
   => it only undoes the last paragraph and a small part of the second
paragraph, because undo stack ends (org.openoffice.Office.Common/Undo/Steps is
100 by default).

Compare to what UPPERCASE does: when executed in step 6 instead of Capitalize
Every Word, it creates three undo operations, one for each paragraph. Well,
also not ideal, but per-paragraph is way better than per-word.

Ideally, it would be best to have the same single undo operation that appears
when change tracking is not used. But at least, make it no worse than
UPPERCASE.

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

Reply via email to