unable to navigate

Kornel Benko kornel at lyx.org
Wed Jun 29 07:41:38 UTC 2022


Am Wed, 29 Jun 2022 08:22:31 +0200
schrieb Kornel Benko <kornel at lyx.org>:

> Am Tue, 28 Jun 2022 23:53:32 +0200
> schrieb Jean-Marc Lasgouttes <lasgouttes at lyx.org>:
> 
> > Le 28/06/2022 à 10:13, Kornel Benko a écrit :  
> > >> For example, some people may want to use the toc to redo a search at a
> > >> different place in the document.    
> > > 
> > > Setting the cursor manually (mouse click) would help here.    
> > 
> > You mean that if people have a different use case than yours, they 
> > should do extra effort ? Interesting ;)  
> 
> Since there seems to be no one using it so extensively as me, this is a good approach :)
> Anyway, this should only apply if findadv dialog has the cursor, so a mouse-click
> seems inevitable anyhow.
> 
> > >> To solve that, we could add the shift-click action that moves without
> > >> setting the cursor.
> > >>
> > >> But this is getting far from the original problem and post-2.4 stuff.
> > >> You pointed a bug, I will try to fix it.    
> > > 
> > > Very well :)    
> > 
> > What about this one?  
> 
> Nearly perfect.
> 
> > JMarc
> >   
> 
> I get crash, this time also with gdb.
> 
> 1.) open UserGuide.lyx and Formula-numberling.lyx
> 2.) select TOC-dialog
> 3.) select findadv-dialog
> 4.) search 'test'
> 5.) click somewhere in TOC
> 6.) search again
> 7.) click on panel with Formula-numberling
> 	==> crash (  
> Seems like endless recursive loop, the backtrace never ends
> Here the repetitive part, starting at #2340, repeated at #2369
> 
> I stopped the BT-check at #15527, without comming to an end.
> 
> 	Kornel

I tried to omit recursion in indAndReplaceWidget::eventFilter()

No crash after this. There may be better places though.

	Kornel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FindAndReplace.cpp.patch
Type: text/x-patch
Size: 2813 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220629/b7132ca7/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: Digitale Signatur von OpenPGP
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20220629/b7132ca7/attachment.asc>


More information about the lyx-devel mailing list