Opening Document > Settings feels a bit laggy to me
Scott Kostyshak
skostysh at lyx.org
Wed Mar 12 10:35:56 UTC 2025
On Mon, Mar 10, 2025 at 09:53:34AM +0100, Jürgen Spitzmüller wrote:
> Am Sonntag, dem 09.03.2025 um 18:23 +0100 schrieb Jean-Marc Lasgouttes:
> > With 2.5, this is dwarfed by ColorCombo, but that is a different
> > story.
>
> One thing that probably is expensive (and might be optimized) is that
> the color combo needs to be updated regularly to catch up with the
> custom colors (from buffer params).
>
> We might employ signals and slots here and maybe also only update these
> handful of entries rather than the whole list of colors.
>
> Alas, I am a bit short of time now (classes started).
This seems to be triggered by a few different code paths (I'm guessing
anything that calls GuiDocument::updateCustomColors()?). For example
table settings, adding a module. Is that expected?
Is it the for loop in updateCustomColors() that we think is taking up
the cycles?
Scott
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20250312/d2ea70f3/attachment.sig>
More information about the lyx-devel
mailing list