outline pane issues and huge note slowness

V K sovhist at yahoo.com
Sat Oct 16 00:39:36 UTC 2021








On Tuesday, October 12, 2021, 07:18:38 PM GMT+3, Jean-Marc Lasgouttes <lasgouttes at lyx.org> wrote: 





Le 05/02/2021 à 20:07, V K a écrit :
> Regarding huge note. I created a new file, pasted some random generated text in English and Russian, placed them in note an yes, it is not as bad. But when I pasted my text in Lithuanian to note, it's almost unusable. Same situation even after converting all text to plaintext (so there is no notes or links to missing footnotes, only text). After buffer-anonymize performance is much better, like with notes in other languages. So, problem is with language, I think – Lithuanian has letters ąčęėįįšųųūž. So I copied public lithuanian text to the note. Strangely situation is better (but worse than with English or Russian notes).
> I attached file with public text and I can send file with my text privately if you wish.

Hi Valdemaras, Hi Everyone,

I have made some work regarding big insets in ticket
https://www.lyx.org/trac/ticket/12297

This was regarding a large branch inset with lots of math insets. I have 
made some progress there, but not enough. But I believe that the 
situation is much better regarding plain text. (this work is not merged 
in master yet).

The case you describe is more just large text insets, but I cannot 
reproduce any slowness with such file son my computer. Can you give more 
details about your setting?

Everyone: if you have a file that is terribly slow to edit, please tell 
me about it.


JMarc



Hello.

JMarc, it is very good to hear, that there is progress with a big insets. I'm working with master (bit outdated, because I compile once in a month or two), so I'll check after changes will be merged.
 
I modified anonymized lyx file with several insets in it. It is working well while insets are closed (regardless of file length), but it is completely unusable after selecting "open all insets" in view toolbar even after anonymization, without Lithuanian letters. Branch inset with several opened huge notes in it is performing extremely bad. I can barely use mouse or touchpad to scroll – it stalls and scrolls after quite a long time with CPU usage rising drastically. I was trapped several times when searched word was in a big inset in my usual file – search opens inset to show a word and it consumes some time to get out of it :). 
Insets of hugenote_anon.lyx are ridiculously big, but the bigger is inset the more obvious are lag.

Thank you for your work,

Valdeamras
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hugenote_anon.lyx
Type: application/x-lyx
Size: 271364 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20211016/cf393219/attachment-0001.lyx>


More information about the lyx-users mailing list