Changes between Version 4 and Version 5 of Features/SessionManagement


Ignore:
Timestamp:
Mar 16, 2011, 3:38:10 PM (4 years ago)
Author:
szabgab
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Features/SessionManagement

    v4 v5  
    2626== Test == 
    2727 
    28  1. save the session 
    29  1. close all tabs 
    30  1. load the session that you saved before 
     28 1. Start padre 
     29 1. Open 3 files 
     30 1. Save the session via '''File -> Save Session..''' and call it '''Abc''' 
     31 1. Close the middle tab 
     32 1. Open a 4th file 
     33 1. Open the session that you saved before by '''File -> Open Session''' (TODO: it probably should NOT close the files that are already open) 
     34 1. Observer that the original 3 files are now open 
     35 1. Close the middle tab again 
     36 1. Open the 4th file again 
     37 1. Press Ctrl-Alt-S 
     38 1. You should see the Save Session dialog with the current session selected 
     39 1. Save it 
     40 1. Close all tabs (via '''File -> Close ... -> Close All Files''') 
     41 1. Open the earlier session by pressing Ctrl-Alt-O and selecting the name of the session 
     42 1. Open the preferences window and set '''Preferences -> Behaviour -> Open files:''' to '''session''' 
     43 1. Close padre 
     44 
     45 1. Start Padre 
     46 1. Observe there is a pop-up window listing all the sessions you saved 
     47 1. Select session "Abc" and load 
     48 1. Observe that the 4 files that we last open are opened again. 
     49 1. Close Padre 
     50 
     51 1. Start Padre with  {{{ padre --session=Abc }}} 
     52 1. Observe that Padre opens with the 4 files that were open earlier 
    3153 
    3254== TODO == 
    3355 
    3456 * Improve the speed at which Padre can switch between sessions. 
    35  * Describe autosave of session. 
    36  * Enlarge the tests 
     57 * Describe autosave of session and include it in the test case 
    3758