Unanswered Flickering problem

  • 12 aprilie 2012 10:46
     
     

    Hi,

    I have a strong flickering problem with my App. That's even worse when you go with the mouse over the Grids or ListBoxes or click it. How can I fix this problem?

    Thanks

Toate mesajele

  • 13 aprilie 2012 23:26
    Moderator
     
     

    Can you explain what you mean more clearly?

    What sort of flickering? What does the Xaml look like? Does it occur only with your app or with others as well? Can you reproduce this in a minimal app?

    --Rob

  • 16 aprilie 2012 09:12
     
     

    Hi Rob,

    thanks for reply. I could reproduce this in a minimal app. Can I send you this?

    Thanks

  • 16 aprilie 2012 14:30
     
     

    Same issue.

    I get this problem. Create a blank app, with a ListBox in the default grid, so it fills the whole screen. Put some random ListBoxItems in it. Start it and move the mouse cursor around randomly. I get heavy flickering.

    My setup is a Sandy Bridge i7-2600, ATI HD6950 in a dual screen setup (2x 24" @ 1920x1200 each). Hyper-V is installed.

  • 17 aprilie 2012 02:55
    Moderator
     
      Are cod

    Hi Tom,

    I'm not seeing any flicker with the following Xaml:

     <Grid Background="{StaticResource ApplicationPageBackgroundBrush}">
            <ListBox x:Name="listBox" ItemsSource="{Binding}" FontSize="36" >
            </ListBox>
    </Grid>

    And code behind:

            protected override void OnNavigatedTo(NavigationEventArgs e)
            {
                ObservableCollection<string> items = new ObservableCollection<string>();
                for (int i = 0; i < 100; i++)
                {
                    items.Add("Item " + i);
                }
                listBox.DataContext = items;
            }
    

    Does that reproduce for you? If so, there may be a driver issue here. I'll check it out on a couple of other machines as well. If not, let me know what changes you need to make to see the problem.

    Lowterm, can you also let me know if this matches your repro? If not, can you make your minimal app available on SkyDrive?

    --Rob

  • 17 aprilie 2012 09:27
     
     

    Hello Rob,

    the file is up and available on SkyDrive. How can I send it to you?

    Thanks