Bug 169535 - .kst save file is corrupt on reloading if tab title contains an "&" symbol.
Summary: .kst save file is corrupt on reloading if tab title contains an "&" symbol.
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.6.0
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-21 15:07 UTC by Robin Phillips
Modified: 2008-08-21 20:12 UTC (History)
1 user (show)

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 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