[Kst] [Bug 124453] Multiple levels of plot groups are destroyed shortly after creation

Andrew Walker arwalker at sumusltd.com
Tue Mar 28 23:18:41 CEST 2006


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=124453         




------- Additional Comments From arwalker sumusltd com  2006-03-28 23:18 -------
This problem seems to be caused by the following lines of code in KstToplevelView::releasePressLayoutModeMove(...)

if (container != _pressTarget && !container->children().contains(_pressTarget)) {
  _pressTarget->detach();
  container->appendChild(_pressTarget);
}

which implicitly moves objects from a deeper group up to a higher level. This appears related to the automated parenting of objects following a move, but in this case no move was made.

One solution would be to disable a move operation for objects within a plot group. Only the group could be moved as a whole. However, we might still want to be able to edit an object within a plot group.


More information about the Kst mailing list