Fixed sample for bug in GroupedGridView sample with SemanticZoom RRS feed

  • Question

  • When you select a group in the zoomed-out (summary) view of the new SemanticZoom control, it does not navigate to the correct group. The old JumpViewer did that correctly. You can easily verify that in the GroupedGridViewSample, scenario 3: switch views and tap on R.

    Is this a bug or is there something missing in the sample ?

    Wednesday, February 29, 2012 9:07 PM


All replies

  • I can reproduce this - it seems like a bug in the sample.  I'll check into this a bit more and see if there's a simple fix or if we may need to report it.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator

    Thursday, March 1, 2012 4:04 PM
  • This is a bug in the sample. I've filed a bug report for this.  Thanks for reporting.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator

    Monday, March 5, 2012 8:37 PM
  • If it is a bug in the sample, can you just provide us the code fix?  Or is it really a bug in the SemanticZoom control?  I am working on a separate project that uses the SemanticZoom control as the central UI functionality and I can not find a way around this issue.  The previous JumpViewer control worked properly.  SemanticZoom is a critical control for Metro applications, can we have a fix soon?
    Sunday, March 11, 2012 10:14 AM
  • I was told that the current sample is supposed to be fixed.  I haven't tried it myself.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator

    Tuesday, March 13, 2012 7:55 PM
  • The XAML grouped data controls sample still mentions 'Last Updated 2/29/2012' and still doesn't work properly...
    Tuesday, March 13, 2012 8:12 PM
  • Hi Diederik - I have an updated sample here: 


    Please email me directly MSMALL at Microsoft if you have any problems getting this.

    Matt Small - Microsoft Escalation Engineer - Forum Moderator

    Thursday, March 15, 2012 1:49 PM
  • Hi Matt,

    Thank you for updating the sample. I made the two code changes that I could find to my code and it also synchronizes the views as expected. The code changes are:

    1. Changing TargetType="ListViewItem" to TargetType="GridViewItem" on line 40 of ScenarioOutput3.xaml
    2. Changing the StackPanel to a WrapGrid on line 91 of the same file.

    When I made these changes to my own code it works.

    However, in my real-world application with a real-world amount of data, the grouped view and semantic zoom are slow and become increasingly so as you interact with them. After a while the whole thing will lock up for several seconds while it switches views, or even while attempting to swipe-scroll the main view. 

    I modified your sample to have 500 data items by copying and pasting the items in the SampleDataSource file. I also gave many of them new names so that all the letters of the alphabet were represented by fairly large groups of items.

    It seems that there may be a memory issue. When I start the application with 500 items, it uses 161MB. After interacting with it for a while, to the point where it might take 20 seconds to switch views, then the application is using nearly 500MB. I tried commenting out the <Image> part of the data template, expecting everything to be zippy with only text. But the performance was the same. While it took longer to get to 500MB, it was still always increasing, and performance was still terrible.

    Will this be fixed?

    Thursday, March 15, 2012 4:53 PM
  • When using this the first items snap to the left nicely. However the further into the list I go the more the zoomed-in items go to the right. Also with a regular wrapgrid all items need to be the same size or it will be alot of empty space?

    Thursday, March 15, 2012 8:23 PM
  • Matt, thanks for the update.

    dtnorris, thanks for your research:

    Changing the StackPanel to a WrapGrid on line 91 of the same file.

    This resolved my synchronization issues.

    Friday, March 16, 2012 9:21 AM
  • I've found this as well and almost a year on, and there is no fix! Please can someone help?
    Monday, February 18, 2013 11:36 AM