Bug 165677 - Order of tabs not retained in .kst file
Summary: Order of tabs not retained in .kst file
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.7.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-04 00:59 UTC by D. V. Wiebe
Modified: 2008-07-04 20:25 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description D. V. Wiebe 2008-07-04 00:59:17 UTC
Version:           1.7.0 (using KDE 3.5.9)
Installed from:    Compiled From Sources
Compiler:          gcc (GCC) 4.2.3 
OS:                Linux

The order of tabs in the session aren't remembered when saving the session to a .kst file.

Steps to reproduce:

1. Start kst
2. Create three tabs: W1, W2, W3
3. Add empty plots to each tab (this step is only required to get around Bug:165676 )
4. Move W3 left one position by right clicking on the tab and selecting "Move left".  The order of the tabs is now: W1, W3, W2
5. Save the session to a .kst file.
6. Open the .kst file just created.

Results:

The tabs are restored in the order of creation, ie. W1, W2, W3.

Expected Results:

The tabs should be restored in the order they had when the .kst file was written, ie. W1, W3, W2.
Comment 1 Andrew Walker 2008-07-04 20:25:16 UTC
SVN commit 828124 by arwalker:

BUG:165677 save the tabs to the kst file in the current order, rather than the order in which they were created

 M  +15 -0     kst.cpp  
 M  +1 -0      kst.h  
 M  +4 -16     kstdoc.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=828124