bugGNU Octave - Bugs: bug #53711, Tab order not maintained on...

 
 

bug #53711: Tab order not maintained on close/reopen despite "Restore editor tabs" setting

Submitter:  Marshall <marsian>
Submitted:  Fri 20 Apr 2018 05:11:22 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Fixed Assigned to:  None
Originator Name:  Marsian Open/Closed:  * Closed
Release:  * 4.3.90 Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 21 Apr 2018 08:36:06 PM UTC, comment #1: 

Thanks for the report. This is fixed with changeset
http://hg.savannah.gnu.org/hgweb/octave/rev/ae0518976e2b

Torsten Lilge <ttl>
Group Member
Fri 20 Apr 2018 05:11:22 PM UTC, original submission:  

For a long time now, I've noticed that when closing and reopening octave, the tabs don't maintain their order as expected, even though the "Restore editor tabs" option is selected. To demonstrate I have the following file as the only file open in the editor "nameOrderTest.m":


%test file reordering
names = 'lmnopqrabcdefghijk';
for i=1:length(names)
edit([names(i) '.m'])
end


After running it I get a large number of files open in the editor in the expected order ("nameOrderTest" then "l", "m" ... "k"), and "k.m" is active. (I allow the files to be created if they don't exist before, for this example).
I close and reopen octave and the order is now:
"nameOrderTest","lcdefghijkmnopqrab" and "b.m" is active. Close/reopen octave and now:"NameOrderTest","lkmnopqrabcdefghij",with "j.m" active. Repeat and now: "NameOrderTest","lbcdefghijkmnopqra", with "a.m" active.

The expected behavior is that the tab order remains the same every time. Even better is if the same active tab when closed is the active tab the next time Octave starts up.

Marshall <marsian>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by marsian (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-21 ttl StatusNone Fixed
        Open/ClosedOpen Closed
        Operating SystemMicrosoft Windows Any

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code