LyXLyx outline bug EXTREMELY annoying

Information and discussion about LyX, a WYSIWYM editor, available for Linux, Windows and Mac OS X systems.
Post Reply
huckepick
Posts: 4
Joined: Mon Nov 30, 2009 12:46 am

Lyx outline bug EXTREMELY annoying

Post by huckepick »

Hey guys,

I use lyx for creative writing and I have a lot of subsections to jump to with the help of the toc in the outline.

I use Lyx 1.6.3 and I find it EXTREMELY annoying in my writing process that the tree always collapses because it prevents me from keeping the overview, it slows down the workflow and it needs excessive clicking. With this behaviour the toc-outline becomes useless for me.

Is there any way to fix this?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

rlevin
Posts: 5
Joined: Sat Mar 26, 2011 5:42 pm

Re: Lyx outline bug EXTREMELY annoying

Post by rlevin »

.....bump.....
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Lyx outline bug EXTREMELY annoying

Post by meho_r »

I don't have version 1.6.* installed at the moment, but in 2.0.0.rc1 there is an option to keep TOC expanded, shown in the screenshot attached.
Attachments
LyX_TOC.jpg
LyX_TOC.jpg (32.64 KiB) Viewed 7314 times
huckepick
Posts: 4
Joined: Mon Nov 30, 2009 12:46 am

Lyx outline bug EXTREMELY annoying

Post by huckepick »

meho_r wrote:I don't have version 1.6.* installed at the moment, but in 2.0.0.rc1 there is an option to keep TOC expanded, shown in the screenshot attached.
Hi guys, hi meho_r!

I stumbled upon your answer to my question.
Unfortunately, the bug keeps annoying me even in Version 2.0.

From your answer I can see that I didn't explain my worries in detail.

So, here is what the bug is REALLY about and how you can reproduce it in LYX 2.0.

(By the way, the "keep" button even existed in Version 1.6.3 but - in my view - also failed to work properly.)

THE BUG:

Even with the "keep" checkbox activated, when switching between two documents in different tabs of the LYX window, the outline collapses unintendedly.

REPRODUCING THE BUG:

10)
create a file flat.lyx
with sections:
sec a
sec b

create a file deep.lyx
with sections:
sec a
sec b
and a subsection:
subsec c

20) playing with different scenarios

case 1:

focus on file deep
set cursor on a section of your choice
set slider bar on level 0 (far left)
"keep" not checked

expand the parent section of the subsection
switch tabs back and forth

result:-> collapsed tree !


case 2:

focus on file deep
set cursor on a section of your choice
set slider bar on level 1 (far right)
"keep" not checked

expand the parent section of the subsection
switch tabs back and forth

result:-> collapsed tree !


case 3:

focus on file deep
set cursor on a section of your choice
set slider bar on level 1 (far right)
"keep" checked

expand the parent section of the subsection
switch tabs back and forth

result:-> collapsed tree !

30)

=> my conclusion:

The keep checkbox is useless in these cases.
Imagine you are working on a large writing project, switching between 2 files and the whole outline collapses regularly!

Sure, you can oben every document in a different window and the erroneous behaviour is gone but I should think that this is not the way document tabs in lyx were supposed to work: forcing you to open every document in a different window ...

Can you reproduce this behaviour with your installation? I guess so.

Any advice to eliminate this?
meho_r
Posts: 823
Joined: Tue Aug 07, 2007 5:28 pm

Re: Lyx outline bug EXTREMELY annoying

Post by meho_r »

Yes, it's reproducible and looks like a bug. You should file a bug report.
huckepick
Posts: 4
Joined: Mon Nov 30, 2009 12:46 am

Lyx outline bug EXTREMELY annoying

Post by huckepick »

meho_r wrote:Yes, it's reproducible and looks like a bug. You should file a bug report.
I commented an existing bug:

http://www.lyx.org/trac/ticket/6675#comment:7

similar bug:

Ticket #6061 (new defect)

another description:

http://www.mail-archive.com/lyx-devel@l ... 44343.html

> Unfortunately, this bug has been there for ages.

Let's see if they fix it in a 2.0.x realease.
alexxx
Posts: 1
Joined: Wed Apr 20, 2016 9:37 am

Re: Lyx outline bug EXTREMELY annoying

Post by alexxx »

I find it funny that this bug is still alive and kicking - april 2016 !

(lyx v 2.1.3)
scottkosty
Site Moderator
Posts: 542
Joined: Sat Sep 01, 2012 6:38 am

Lyx outline bug EXTREMELY annoying

Post by scottkosty »

alexxx wrote:I find it funny that this bug is still alive and kicking - april 2016 !

(lyx v 2.1.3)
It is a difficult bug to solve.

Since you find it funny though, you might get a laugh that there are much older bugs than the one you referenced, e.g.:
http://www.lyx.org/trac/ticket/396

Once you start programming complex software, you gain an understanding for things like this. Open source or proprietary, there are often old bugs.
roberthannah89
Posts: 6
Joined: Thu Apr 28, 2016 9:56 pm

Re: Lyx outline bug EXTREMELY annoying

Post by roberthannah89 »

Seems trivial to fix to me...
Sahas
Posts: 8
Joined: Wed Aug 31, 2011 10:59 am

Lyx outline bug EXTREMELY annoying

Post by Sahas »

roberthannah89 wrote:Seems trivial to fix to me...
if you have a patch, please show it :)
Post Reply