Bug 143806 - Box object not correctly drawn when placed in image object
Summary: Box object not correctly drawn when placed in image object
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.x
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-03 20:59 UTC by Andrew Walker
Modified: 2007-08-15 02:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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