In-Reply-To: <5b0d8587-2ea7-cac8-1794-327309a7e...@lyx.org> On Tue, Feb 07, 2023 at 11:06:10AM +0100, Jean-Marc Lasgouttes wrote: > Le 06/02/2023 ?? 22:46, Pavel Sanda a écrit : > > Yes. When I load the file the insetinfo shows its information. > > After fraction of second editor/toolbar somewhat blinks (that's normal, > > I think its when previews are initially loaded/shown into the document > > view). > > At this moment it used to crash. Now it does not, but the content > > of insetinfo disappears. I need to move with the mouse over the window > > to have the inset displayed again (no biggie compared to crash). > > The alternative to what I did would be to count "dirty" insets at global > level and only draw when count is zero. However, it strikes me as fragile. > We do not want to end up in a state where LyX does not display anything > after some point, do we? > > For the same reasons (not ready), we already skip display when view is > marked busy or when there is an undo group open. This is not the case here, > but it would make sense to add this condition.
I guess I would add this condition, but I really do not understand painting machinery... Pavel -- lyx-devel mailing list lyx-devel@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-devel