Kaydet (Commit) fc4dfdc9 authored tarafından Caolán McNamara's avatar Caolán McNamara

tdf#116277 blank frame into which document will load shown too early

normally we want this to be the window that is the parent for any
warning or password dialog. But for these (weird, see also impl_findSlotParam)
frames dispatched with slotid arguments, they are opened before the dialog
which will fill them is launched.

Presumably in sane land the dialog would be dispatched from the menu entry,
then on its create the frame opened with the desired contents.

Change-Id: I1234b648ca1bd7fd2109cb4d3c70d5bfed9ab563
Reviewed-on: https://gerrit.libreoffice.org/51150Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst 9aa70e2d
......@@ -1076,7 +1076,9 @@ bool LoadEnv::impl_loadContent()
{"Parent", uno::Any(xWindow)}
}));
xHandler->initialize(aArguments);
impl_makeFrameWindowVisible(xWindow, false);
//show the frame now, unless (tdf#116277) its the labels/business cards slave frame
if (m_aURL.Arguments.indexOf("slot=") == -1)
impl_makeFrameWindowVisible(xWindow, false);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment