[Kst] [Bug 123561] ellipse fails to clip child objects

Andrew Walker arwalker at sumusltd.com
Thu Aug 30 22:48:24 CEST 2007


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




------- Additional Comments From arwalker sumusltd com  2007-08-30 22:48 -------
SVN commit 706597 by arwalker:

CCBUG:123561 Also fix the same problem for resizing objects

 M  +6 -2      ksttoplevelview.cpp  


--- branches/work/kst/1.5/kst/src/libkstapp/ksttoplevelview.cpp #706596:706597
 @ -988,8 +988,13  @
       // we are resizing rectangular object(s)
       releasePressLayoutModeResize(pos, shift);
     }
+
+    if (_pressTarget->parent()) {
+      _pressTarget->parent()->invalidateClipRegion();
+    }
+
     _pressTarget->setFocus(true);
-  } else { 
+  } else {
     // selecting objects using rubber band
     releasePressLayoutModeSelect(pos, shift);
   }
 @ -1050,7 +1055,6  @
       thisObj->move(_pressTarget->position() + thisObj->geometry().topLeft() - old.topLeft());
     }
   }
-  container->invalidateClipRegion();
 
   if (updateViewManager) {
     KstApp::inst()->updateViewManager(true);


More information about the Kst mailing list