Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Repainting problems while resizing tile?
posted

We seem to have a problem with the Infragistics Tiles control, where the resize of a tile may leave

artifacts in its wake. The example program that we have supplied demonstrates this in the simplest

possible manner.

Steps to reproduce:

1. Run the example program. You will find there are two tiles, one containing a button labeled 'A

button', and one containing a label reading 'Hello world'.
2. Maximize te 'Hello world' tile.
3. Click the button labeled 'A button' in the other tile. Note that nothing will happen because nu

action has been associated with the button, but it should now have focus, as indicated by the

'dotted' rectangle inside it.
4. Click on the maximze button of the tale containing the button. Be sure to quickly move the mouse

pointer away from that position during the animation, preferably out of the program window

entirely.
5. Note that, while the tile with the button has resized and moved, the focus rectangle has not.

The ghost of the focus rectangle can be made to disappear by moving over one of tiles' title bar

buttons. You may find it possible to reproduce a similar problems in multiple ways. Essentially,

this effect seems to be triggered by maximizing a tile and then making sure that the mouse pointer

is not over any of the tile title bar buttons as the animation finishes.

In our actual application we see this effect not only with the focus rectangle, but also with an

adorner that we use. While the effect of an adorner floating somewhere where it should not be

concerns us more than the focus rectangle, we suspect that both effects have the same or similar

cause, and we choose this example to keep it as simple as possible.

 

Thanks in advance,

 

Dave

IGTilesDemo.rar