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

--- Comment #4 from Justin L <[email protected]> ---
(In reply to Justin L from comment #3)
> But something is regenerating the thumbnail.
Apparently, it always has on document close. (Apparently a cancelled save
bypasses this.)

        case SfxEventHintId::OpenDoc:
        case SfxEventHintId::SaveDocDone:
        case SfxEventHintId::SaveAsDocDone:
        case SfxEventHintId::SaveToDocDone:
        case SfxEventHintId::CloseDoc:
        {
            AddDocumentToPickList(pDocSh);
        }
So always on close, the thumbnail is updated if not modified. (Not sure why,
but from 2001 when this was all revised, on CloseDoc was the only item in this
list.) Perhaps now that open/save cover this, we could remove the closeDoc case
completely? Not sure what purpose it serves to remain here.

No unit test failures occurred when removing case SfxEventHintId::CloseDoc:
http://gerrit.libreoffice.org/c/core/+/126649

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

Reply via email to