Too many controls?

I have a canvas that hosts a lot of controls, (Rectangles with gradient fills, radial fills, buttons, textboxes etc)

When I display the Canvas, some of the controls dissappear and re-appear at will. Is this a know bug, or is there maybe to many control hosted on the Canvas

Thank you very much,

Jaco



Answer this question

Too many controls?

  • MrSkinnman

    Would it be possible for you to verify that you have the latest driver for your video card I've seen something like this once and it was corrected by updating the video driver.

  • Ivan Arjentinski

    The problem is that we are using VPC's to do our developing. So, yes, the XAML is being software rendered. The controls that are appearing and disappearing's position is static though, so any advice on that
  • Tony_C

    Yes, this is true. I would like to get a simplified repro, though, if you can provide it; that way we can verify the issue.

  • Philippe A.

    Well, yes actually now that I think about it. When you initiate an action like clicking on a combox button, or scrolling over controls that change there state (eg like there background color), the controls start appearing and re-appearing. But that said, it is the "Shape" controls such as the Rectangle and Canvas, etc, that has this strange property.

    Jaco


  • Michael Sync

    Do the controls disappear/reappear at arbitrary times or is it the result of something else happening (window move, animation, value updates, etc.)

  • qfel

    Hi,

    Yes I have the latest drivers, but I guess it is not hardware related, seeing as the thread 'Canvas, Rectangle and WPF slowness' I guess that there is a lot of stuff to be worked out and fixed.

    Thanks,

    Jaco


  • Brian Hill

    I would suggest using Perforator to determine if you are getting hardware rendering rather than software rendering. If your rendering is in software you might get tearing if controls are moving on the screen. I would not expect in either case to see controls disappear and reappear that were stable in position.

  • Too many controls?