Bug 118149 - either Saving or loading plots does not work.
Summary: either Saving or loading plots does not work.
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: HI normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 01:55 UTC by Netterfield
Modified: 2005-12-12 20:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Netterfield 2005-12-12 01:55:22 UTC
Version:           1.2.0_devel (using KDE 3.4.3, Gentoo)
Compiler:          gcc version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
OS:                Linux (x86_64) release 2.6.12-gentoo-r6

Create a plot in kst.
File->saveAs...tmp.kst

start kst
% kst tmp.kst

The plots do not appear (though their description does seem to appear in the kst file.
Comment 1 Andrew Walker 2005-12-12 20:17:58 UTC
SVN commit 487981 by arwalker:

BUG:118149 Plot identifier was changed in kst2dplot.cpp but not here.

 M  +2 -1      kstviewobject.cpp  


--- trunk/extragear/graphics/kst/kst/kstviewobject.cpp #487980:487981
@@ -163,7 +163,8 @@
   while (!n.isNull()) {
     QDomElement el = n.toElement();
     if (!el.isNull()) {
-      if (el.tagName() == "plot") {
+      if (el.tagName() == "Plot" ||
+          el.tagName() == "plot") {
         // get the <tag> value properly
         QString in_tag;
         QDomNode plotNode = el.firstChild();