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

            Bug ID: 104032
           Summary: Pasting single FORMCHECKBOX and undoing then redoing
                    gives !!br0ken!! in release builds, asserts in debug
                    builds
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
        Depends on: 95699

Created attachment 128874
  --> https://bugs.documentfoundation.org/attachment.cgi?id=128874&action=edit
Test file with FORMCHECKBOX

This bug may be reproduced with the fix for bug 95699.

Pasting single FORMCHECKBOX and undoing then redoing gives !!br0ken!! in
release builds, asserts in debug builds

To reproduce:
1. Open the attached document
2. Select the checkbox *only* (without newline), e.g. by putting the cursor to
the end of the first line and using Shift+LeftArrow
3. Copy the checkbox to clipboard (Ctrl+C)
4. Go to second line (Ctrl+End) and paste (Ctrl+V)
5. Undo (Ctrl+Z)
6. Redo (Ctrl+Y)

Expected result: the checkbox added on step 4 should disappear on step 5, then
reappear at step 6

Actual result: in release build, on step 6 "!!br0ken!!" appears instead of
checkbox; in debug build, at step 5, an assertion is triggered.

It's difficult to trace when the problem first appeared, because it's masked by
bug 95699.


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=95699
[Bug 95699] Form field vnd.oasis.opendocument.field.FORMCHECKBOX and
FORMDROPDOWN cannot be copy-pasted or used in AutoText
-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to