When opening a document with macros, usually a dialog appears asking if macros should be enabled. However, this doesn't work when opening a document via remote UNO. In this case, all interactions are "muted". We should instead read the "Hidden" MediaDescriptor flag [1] and only if it is set to true, mute the interactions. If the document is visible, the macro dialog (and other dialogs) should be shown. [1] https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1document_1_1MediaDescriptor.html
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=1115a60e6d825c049680e7f2caf318e36d481b12 tdf#118238 Only disable UI interaction when loading document as hidden It will be available in 6.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Samuel Mehrbrodt committed a patch related to this issue. It has been pushed to "libreoffice-6-1": http://cgit.freedesktop.org/libreoffice/core/commit/?id=e873ce870c8d81c842ca5f211e07e42a51fb7cbf&h=libreoffice-6-1 tdf#118238 Only disable UI interaction when loading document as hidden It will be available in 6.1.0.1. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.