pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Volkert (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIVOT-166) WatermarkDecorator overruns its bounds
Date Wed, 08 Jul 2009 12:13:14 GMT
WatermarkDecorator overruns its bounds

                 Key: PIVOT-166
                 URL: https://issues.apache.org/jira/browse/PIVOT-166
             Project: Pivot
          Issue Type: Bug
          Components: wtk-effects
            Reporter: Todd Volkert
            Assignee: Todd Volkert
             Fix For: 1.3

Run the WatermarkDecoratorTest to see this behavior.  WatermarkDecorator reports the component's
bounds in getBounds(), it uses an identity transform, and it doesn't alter the clip rect of
the graphics, yet the watermark is being painted outside the bounds of the decorated component
(in the case of the test, the decorated component is the CardPane that lives in the TablePane's
row beklow the line).

It's possible that the Graphics.rotate() that WatermarkDecorator applies in update() is the
cause of this, and maybe it should return a rotate transform in getTransform() - this is where
I'll start the investigation.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message