[Libreoffice-bugs] [Bug 118731] Dialogs like Format page/ format header open with a annoying delay since 6.2
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 7 15:25:06 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=118731
--- Comment #12 from Caolán McNamara <caolanm at redhat.com> ---
I see no slowdown under Linux so its hard for me to be certain, but I can see
that is is plausible that the bisect is right...
Taking SvxXRectPreview::SetAttributes in svx/source/dialog/dlgctrl.cxx that
ends up calling XFillBitmapItem::checkForUniqueItem going on to call
XPropertyList::Load in both 6-1 and master. In 6.1 however it takes the early
return because maPath was empty, while in master maPath is not empty, its
file:///.../instdir/program/../share/palette;file:///.../instdir/user/config
and so now in master .../instdir/program/../share/palette/standard.sob ends up
getting loaded and lots on IO action as its unzipped and parsed.
so I think its the case in 6.1 that the models for the previews in the dialogs
in question here are created in svx/source/dialog/dlgctrl.cxx and have an empty
aTablePath which in 6.1 causes the standard.so* files not to be parsed by those
preview models while now they are always parsed, plausibly explaining the delay
and the bibisect results. In which case
https://gerrit.libreoffice.org/#/c/58693/ would make a difference (if that's
something we should do?)
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180807/25631829/attachment.html>
More information about the Libreoffice-bugs
mailing list