outline pane issues and huge note slowness

V K sovhist at yahoo.com
Fri Feb 5 19:07:02 UTC 2021

On Friday, February 5, 2021, 4:48:38 PM GMT+2, Jean-Marc Lasgouttes <lasgouttes at lyx.org> wrote: 

Le 04/02/2021 à 01:15, V K a écrit :
> Hello.
> Lyx is approaching 2.4 and I want to draw attention of devs to the outline pane functionality and problem of the huge notes. Maybe some of these issues can be fixed relatively easy and quickly till the new release.

These issues probably deserve their own tickets on trac (either grouped 
or separated). Concerning the performace issue, it is a known problem 
which is generally not as bad, but it will be difficult to fix before 
2.4.0 IMO. I would appreciate to have a file to play with (you may want 
to use buffer-anonymize on it).


Thank you for the replay!

Ticket #12108 for 1 and 2 issues and Ticket #12109 for 3 issue.

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.


> 1. "Keep" tikbox in the outline pane is working inconsistently. Let's say, I opened all navigation tree elements by sliding bottom slider of the outline pane to the right and ticked "keep". It's keeping tree while I am navigating through the document, but after going to another document and coming back I see collapsed tree (ticbox is still ticked). This situation is particularly discomfortable when working with master-child documents.
> 2. Navigation tree in the outline pane collapses after ctrl+z (undoing) while "keep" is still ticked.
> 3. Situation with notes and footnotes selection in outline. I am using Lyx notes, greyedout and comments severely while preparing texts. And it is very common situation when I want to go through all or some notes to correct text, delete notes. So I open notes list in the outline, search note I need, go to text to correct it and... all notes disapper in the outline and I see navigation tree there. So I must open notes list anew, select next note and so on. Ticking "keep" tikbox do nothing. Maybe such behaviour is intentional (to search only one note and automatically go back to navigation tree), but maybe "tickbox" can be used to keep notes list?
> 4. This isn't related to outline pane. My notes can be huge (to hide parts of the text temporary) and navigating in such huge notes is painfully slow, CPU usage rises dramatically (99% of one of the cores of the CPU). Such slowness presents only when huge note is opened and is visible in Lyx work area. Slowness disappears after collapsing note or after scrolling till it disappears from work area. The same problem is with big branches. Such slow was note with 75 000 characters (incl. spaces), more smaller notes and a lot of citations in it.
> Such situation is with master (bit dated – Built from git commit hash 9e1db659) and with stable too, as I remember.
> Thank you for your hard work – it is much more pleasant to work with Lyx office than with traditional offices.
> Valdemaras


lyx-users mailing list
lyx-users at lists.lyx.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hugenote.lyx
Type: application/x-lyx
Size: 372621 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-users/attachments/20210205/989b90e0/attachment-0001.lyx>

More information about the lyx-users mailing list