Outliner does not respect tree depth after removing text selection inside the section (2.4 regression)

Pavel Sanda sanda at lyx.org
Tue Sep 17 13:03:17 UTC 2024


Hi,

- open some structured text (eg any manual)
- set tree depth to some higher level (eg 2) by the slider in toc dialog
- go inside any section, highlight the text and remove/replace it
- the outliner tree depth gets reset to 0 irrespective of the slider position

Works fine in 2.3; bisect in 2.4 leads to 

commit ac275a66b5d34e211ba6e63ea9a2d02efce7eb72
Author: Juergen Spitzmueller <spitz at lyx.org>
Date:   Sun Sep 17 19:17:12 2023 +0200

    Get rid of unnecessary flickering when clicking in outliner
    
    No need to collapse and re-expand the node where the currently selected
    item is in.


Pavel


More information about the lyx-devel mailing list