[Libreoffice-bugs] [Bug 106154] Extremely slow basic operations on macOS

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Oct 20 18:40:42 UTC 2017


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

--- Comment #24 from Jan-Marek Glogowski <glogow at fbihome.de> ---
So for some reason in your profile, when calling Dialog::Execute, LO processes
a delayed UserEvent generated by BackingWindow::dispatchURL called from
somewhere earlier.

UserEvents have the highest priority in LO, and this adds a whooping 800ms to
the 1.8s of opening the dialog. The dialog generation is actually just 600ms,
so it's faster then in my debug build. I've never seen this in my traces - no
idea, what's going on.
But generally opening the URL should probably be converted to an Idle, or it
should run the scheduler for UI updates.
A single operation with 800ms on your HW is way too long and the priority of
the file open operation is also way too high. Might be Ok, if there is no
document yet open, so the user can't interact in any sensible way… well
actually it's not.

Then there is the "first right click" delay, which initializes all macOS
spelling and grammar checking engines for all languages, which currently is 280
for me. It's just once, but it takes 3.5s in my debug build. Changing this to
an on-demand code, or a thread will be some work. I guess all other OS don't
offer so many engines, or the initialization is cheaper. Never seen this
either.

-- 
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/20171020/183b9b0c/attachment.html>


More information about the Libreoffice-bugs mailing list