<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - macOS 100% CPU usage when minimizing screen if multiple documents are opened"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=103571#c53">Comment # 53</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - macOS 100% CPU usage when minimizing screen if multiple documents are opened"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=103571">bug 103571</a>
from <span class="vcard"><a class="email" href="mailto:michael.meeks@collabora.com" title="Michael Meeks <michael.meeks@collabora.com>"> <span class="fn">Michael Meeks</span></a>
</span></b>
<pre>Nice trace - so; I imagine that DisplayChanged is presumably the right thing to
emit only when something changed - eg. the space available for the app (does
that happen when the dock re-sizes ?
Also - I'm suspicious of:
svx/source/tbxctrls/tbcontrl.cxx- else if ( ( rDCEvt.GetType() ==
DataChangedEventType::FONTS ) ||
svx/source/tbxctrls/tbcontrl.cxx: ( rDCEvt.GetType() ==
DataChangedEventType::DISPLAY ) )
I guess this is perhaps to handle things like font-hint changes on Linux
(perhaps) - and I imagine that this particular font combo box is -very-
expensive to setup & re-render.
Might be nice to just use FONTS for that - and try to detect if any display
settings affect font rendering - and emit a FONTS changed if they do (?) =)
The:
// HACK: Comparing is incomplete
comment in lcl_GetDocFontList looks particularly interesting to investigate I
guess =) if we can avoid re-building it I imagine life is far better.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>