Bug 143806

Summary: Box object not correctly drawn when placed in image object
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:

Description Andrew Walker 2007-04-03 20:59:20 UTC
Version:           HEAD (using KDE KDE 3.5.1)
OS:                Linux

PROBLEM:

When a box object is placed inside a picture object the box object is not drawn correctly

STEPS TO REPRODUCE:

Start Kst
Create a picture object and set it to contain kst_stringedit.png
Create a box object which is smaller in both dimensions that the picture object
Switch to layout mode
Drag the box object into the picture object

RESULTS:

The box object is clipped to the lit pixels of the picture object 

EXPECTED RESULTS:

The object should not be clipped to the lit pixels of the picture object.

NOTE:

This bug also applies to all of the graphic objects being contained within the picture object.
Comment 1 Andrew Walker 2007-04-05 21:31:34 UTC
The problem seems to be related to the clipping scheme used when painting.
During exporting and printing there is no problem as the clipping scheme is not used then.
Comment 2 Andrew Walker 2007-05-07 23:11:38 UTC
See also related bug reports #121068 and #123561
Comment 3 Andrew Walker 2007-08-15 02:24:29 UTC
SVN commit 700175 by arwalker:

BUG:143806 Fix several problems with clipping mechanism for picture and other view objects

 M  +8 -10     kstgfx2dplotmousehandler.cpp  
 M  +1 -1      kstgfxarrowmousehandler.cpp  
 M  +4 -8      kstgfxellipsemousehandler.cpp  
 M  +7 -7      kstgfxlinemousehandler.cpp  
 M  +0 -1      kstgfxmousehandler.cpp  
 M  +3 -5      kstgfxmousehandlerutils.cpp  
 M  +7 -7      kstgfxpicturemousehandler.cpp  
 M  +8 -9      kstgfxrectanglemousehandler.cpp  
 M  +6 -5      kstgfxtextmousehandler.cpp  
 M  +76 -64    ksttoplevelview.cpp  
 M  +9 -2      kstviewobject.cpp  
 M  +26 -24    kstviewpicture.cpp