Bug 169535

Summary: .kst save file is corrupt on reloading if tab title contains an "&" symbol.
Product: [Applications] kst Reporter: Robin Phillips <robin>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal CC: arwalker
Priority: NOR    
Version: 1.6.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:

Description Robin Phillips 2008-08-21 15:07:59 UTC
Version:           1.6.0 (using KDE 4.0.5)
OS:                Linux
Installed from:    Fedora RPMs

In this section of the .kst save file:

  <window>
    <tag>welded vs standard (load &  no load)</tag>
    <restore x="2" y="2" w="1270" h="737" />
    <internal x="2" y="2" w="1270" h="737" />
    <name>welded vs standard (load & no load)</name>
    <backgroundColor>#efefef</backgroundColor>

If I try to load the file as shown above, kst says:
"not a valid kst plot specification file"

Deleting the two "&" symbols fixes the problem.
Comment 1 Andrew Walker 2008-08-21 20:12:16 UTC
escape tab properties as they are saved, else we may end up with an invalid kst file