[Kst] [Bug 121108] Kst assertion failure when line or arrow moved outside of window
staikos at kde.org
Thu Feb 2 22:31:22 CET 2006
On Thursday 02 February 2006 14:14, Barth Netterfield wrote:
> This patch does the correct thing when you drag outside the window.
> BUT: if you drag an endpoint outside the parent, but still in the window,
> it similarly truncates. It should not. Rather, it should re-parent (eg,
> to the tlv).
> George's patch exhibits a variation of the same behavior: the line remains
> a parent of the original plot, but attemps to extend outside the parent.
> Outside the parent, it flickers, but does not stay around.
Any flicker is due to broken clipping. Reparenting is easy:
while (line->_parent && static_cast<KstViewObject*>(line->_parent) !=
KstViewObjectPtr p = static_cast<KstViewObject*>(line->_parent);
KDE Developer http://www.kde.org/
Staikos Computing Services Inc. http://www.staikos.net/
More information about the Kst