Version: HEAD (using KDE KDE 3.5.0) Installed from: Compiled From Sources OS: Linux PROBLEM: Whan saving a .kst file where at least one plot has a child view object the information about the child view object is saved in multiple places within the .kst file STEPS TO REPRODUCE: Start Kst Create a single plot Create a rectangle object within the plot Save to a .kst file RESULTS: The information on the rectangle object is saved twice in the file EXPECTED RESULTS: The information should be saved only once
Created attachment 14532 [details] Fixes creation of .kst files
Here is an updated patch that removes some things that don't need to be in it or shouldn't be in it. Remaining problems: - Labels from 1.1 and below don't show up until the parent plot is resized - Plot groups from 1.1 can't be loaded Created an attachment (id=14563) fix-saving-children.patch
Updated patch fixes plot groups. Labels may not be a loading issue as much as a problem with labels and/or the contentsRect relative positioning. Created an attachment (id=14566) fix-saving-children.patch
SVN commit 507302 by staikos: andrew's saving patch, with a fixme added back, an irrelevant hunk removed, and legacy plotgroup loading fixed. reviewed by Barth BUG: 121319 M +14 -5 kst2dplot.cpp M +2 -1 kst2dplot.h M +12 -1 kstborderedviewobject.cpp M +2 -0 kstborderedviewobject.h M +3 -8 kstdoc.cpp M +1 -6 ksttoplevelview.cpp M +12 -37 kstviewobject.cpp M +1 -3 kstviewobject.h