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

            Bug ID: 117228
           Summary: EDITING: crash in SfxItemSet::GetItemState(unsigned
                    short, bool, SfxPoolItem const**) when pasting comment
                    of closed document
           Product: LibreOffice
           Version: 6.1.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Calc
          Assignee: [email protected]
          Reporter: [email protected]

1. open two new Calc documents
2. add some comment to any cell in one document
3. copy that cell to clipboard
4. close the document without saving
5. paste on any cell in the second document => crash

This is almost identical to bug 104967 that was fixed by forgetting some
caption details owned by the closed document, the crash is just some calls
below ScPostIt::CreateCaption() now.

However, in master/6.1 in ScDocument::~ScDocument() asking
ScDocument::IsClipboardSource() returns false because in ScModule::GetClipDoc()
SfxViewShell::Current() returns nullptr, which it didn't before. Some logic
when view shells are destroyed seem to have changed meanwhile. The effect is
that ClosingClipboardSource() is not called anymore and the caption and item
set items are not forgotten and still point to drawing details of the already
closed document.

Hence, asking for bibisect to find the culprit.

-- 
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