#165 Sessions plugin discards buffer order

closed-accepted
Alan Ezust
None
5
6 days ago
2013-06-13
leblanc_kevin
No

If buffer sorting is disabled, when saving a session using the Sessions plugin the manual buffer order set by the user gets lost, and on reopen the buffers are in what amounts to random order. I'm attaching a patch which uses a LinkedHashMap to store the current edit pane's buffers, which are in the proper order as set by the user. There may be a better way to solve this (perhaps while addressing bug 2698271), but this seems to work for now.

Discussion

  • leblanc_kevin
    leblanc_kevin
    2013-06-13

    Patch allowing buffer order to be remembered.

     
    Attachments
  • Alan Ezust
    Alan Ezust
    2014-11-30

    Ticket moved from /p/jedit/plugin-bugs/1719/

     
  • Alan Ezust
    Alan Ezust
    2014-12-01

    I would have seen this sooner (I think) if it had been posted to the correct tracker, plugin-patches, rather than plugin-bugs.
    Committed Rev# 23747 to sessions plugin trunk. This will be in Sessions 1.6.2

     
  • Alan Ezust
    Alan Ezust
    2014-12-01

    • status: open --> closed-accepted
    • assigned_to: Alan Ezust
    • Group: --> 4.3