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

            Bug ID: 153235
           Summary: Layout is broken after a macro until
                    update/save-and-reload
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mikekagan...@hotmail.com

Created attachment 184955
  --> https://bugs.documentfoundation.org/attachment.cgi?id=184955&action=edit
A document with an as-character OLE, to-paragraph image, and a macro to set
objects' properties

Open the attached document, and run SetDefaultStyle macro.
Often (but not 100%), immediately after the macro, the image is located above
the OLE object, and the latter is partly visible at the bottom of the first
page (there's no second page). In this case, saving and reloading, or using
Tools->Update->Update All, fixes the layout: the OLE object gets above the
image, and the latter goes to the second page, as expected.

The problem seems to only appear when the macro is run using Tools->Macros->Run
Macro; and additionally, when the dialog overlaps the document window. It does
not appear when the macro is run from IDE; also it does not happen when the
Macro Selector dialog is moved elsewhere, so that the mouse is not inside the
document window after clicking the [ Run ] button.

It looks related to *some* processing of application events inside
SbiRuntime::Step.

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

Reply via email to