#1769 ProjectViewer does not restore multiple views properly.

None
open
nobody
5
2014-08-26
2014-01-03
Steve
No

I have several projects I'm working on at once. For each, I have a separate view (and I've named each view thanks to that nice new feature!) If I have only one open, and close jEdit, it is properly restored when I restart (yay!) but if I have more than one open, only that last is restored. :-(

I can't find any control by which I can save and restore views, or select which view to open when I start. I think that would be a very helpful feature. Each saved view should remember: the dockable positions and which were visible, the split positions and which buffer and line was visible in each, which project was open in each (assuming Project Viewer is used), etc.

Discussion

  • Dale Anson
    Dale Anson
    2014-01-03

    It seems to me there is a plugin that does that, Sessions maybe?

     
  • Steve
    Steve
    2014-01-03

    Well, I was not aware of Sessions plugin, but after trying it, I have to say that it is NOT what I'm looking for. It seems to think that both views should be modified as part of the session. It doesn't seem to support having two completely independent projects open in two separate views, and managing them separately. The other complaints I have with Sessions, I'll file as a bug/feature request ticket against the plugin, then uninstall it.

     
  • Alan Ezust
    Alan Ezust
    2014-01-03

    Ticket moved from /p/jedit/feature-requests/477/

     
  • Alan Ezust
    Alan Ezust
    2014-01-03

    • labels: --> ProjectViewer
    • summary: Allow save and restore views --> ProjectViewer does not restore multiple views anymore.
    • Group: v5.2 -->
     
  • Alan Ezust
    Alan Ezust
    2014-01-03

    This is a regression, ProjectViewer used to do this properly. Moving to plugin bugs.

     
  • Alan Ezust
    Alan Ezust
    2014-01-03

    The comment about restoring Dockables and their positions is related to Perspective and should be opened as a separate ticket against jedit core.

    The comment about restoring split configuration properly should also be opened as a separate ticket against jedit core.

    This ticket should only be related to ProjectViewer.

     
  • Alan Ezust
    Alan Ezust
    2014-01-20

    • summary: ProjectViewer does not restore multiple views anymore. --> ProjectViewer does not restore multiple views properly.
     
  • Alan Ezust
    Alan Ezust
    2014-01-20

    I have observed that if I exit jEdit regularly (without a crash), and restart it, then 80% of the time, ProjectViewer properly restores 2 different views properly, each open to the correct project.

    However, if one of them is a git project and the other is not, for some reason, PV tries to get a git status on each file in the non-git project, which for large projects, causes a lot of calls to command line git which should not have happened.