Menu

#716 Outline view collapses are random times

v0.7.x
open
nobody
None
5
2023-06-21
2021-06-22
No

Often the Outline view just collapses by itself. It's very frustrating. I'm using the Epic Perl Editor and have the Outline view on the far right-hand side with the Outline expanded so I can see the subroutines. Often the tree just collapses on its own. How can I tell it not to collapse?

Bonus points - How can I configure the Outline view to NOT change the editor to jump to the subroutine that just so happens to be under my mouse cursor. If I point my mouse point to a subroutine that I'm not currently editing and have it hover there for a few seconds the editor jumps to whatever subroutine my mouse point is above without me clicking. I'd like to turn that off too.

Thanks.

Discussion

  • Andrew@DeFaria.com

     

    Last edit: Andrew@DeFaria.com 2021-06-22
  • Andrew@DeFaria.com

    The collapse may not be that random. Observing things I noticed that it definitely happens sometime after modification of the file in question. For example, I was re-arranging my subroutines in a Perl module to be alphabetic. I would look at the outline view, which presents the subroutines in alphabetic order, locate the next sub to be moved, select it and put it in place. I first noticed that the subroutine lacked the little widget that would allow you to collapse it. I thought it strange. Then a few seconds (like 10-30 seconds) it would suddenly get that little widget while out of my side vision I saw the outline collapse.

    Now I'm think, well of course! Some background process re-indexed the file and re-calculated the list of subroutines. So it had to update the outline. And it would make sense for it to redraw it.

    So it appears the 'bug' would be that it fails to out the Outline view back to displaying the Subroutines. IOW it left it collapsed where I believe that after re-calculating the Outline it should fully re-draw it back to it's non-collapsed state.

    Is there something I should do to report this as a true bug?

     
  • Andrew@DeFaria.com

     

    Last edit: Andrew@DeFaria.com 2021-07-11
  • Bodo Hugo Barwich

    On how to reproduce it.
    1) open your module with outline
    2) expand the outline
    3) click on the outline to find a module method
    4) hit tab or enter to edit the source code
    ->
    result:
    the outline is collapsed, the cursor jumps to the package name and the package name is marked.

    recovery:
    use the last edit mark to refind your editing possition.
    do not use the outline to navigate back

     
  • Bodo Hugo Barwich

    actually this is very annoying and contra-productive because you loose your current editing position and your package name is erased.

     
  • Andrew@DeFaria.com

    <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"> <link rel="stylesheet" type="text/css" href="https://defaria.com/maps/css/MAPSPlain.css"> <title>MAPS Registration</title>

    ATTENTION: Your email has not yet been delivered!!!

    To send your email click on the button below and type your name

    Click here
    Click Here

    That's it! You will be added to my whitelist, your previous email(s) will be delivered as well as all future emails. Sorry for the inconvenience.

    For more information about this click here

     

Log in to post a comment.