Bug 131741

Summary: Crash when creating and subsequently moving objects
Product: [Applications] kst Reporter: Andrew Walker <arwalker>
Component: generalAssignee: kst
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Proposed patch

Description Andrew Walker 2006-08-02 19:51:03 UTC
Version:           HEAD (using KDE KDE 3.5.0)
OS:                Linux

PROBLEM:
Start Kst
Switch to childframe mode
Select the rectagnel creation tool
Click and drag the mouse from the top left corner of the window to beyond the bottom right of the window by as much as possible (at least so that the total size exceeds that of the window)
Switch to layout mode
Start to move the rectangle by clicking and dragging
Release the mouse button
Maximize the default window

RESULTS:
Crash

EXPECTED RESULTS:
The rectangle object is automatically restored to be within the window during creation
Comment 1 Andrew Walker 2006-08-02 21:01:20 UTC
Created attachment 17206 [details]
Proposed patch

Forces newly created objects to lie within the bounds of the parent
Comment 2 Andrew Walker 2006-08-03 20:18:22 UTC
Was fixed along with bug report #131738