Search

[C#] [Windows Store App] GroupedItemsPage causes horizontal scrollbar to fail by Simon Mattes

Closed
as External Help for as External

2
0
Sign in
to vote
Type: Bug
ID: 771499
Opened: 11/17/2012 11:09:45 AM
Access Restriction: Public
1
Workaround(s)
1
User(s) can reproduce this bug
When using the GroupedItemsPage example for a Windows Store App the horizontal scrollbar jumps around in a weird way when the groups have big differences in the amount of items hosted.
Details (expand)

Visual Studio/Team Foundation Server/.NET Framework Tooling Version

Visual Studio 2012

Steps to reproduce

Implement the GroupedItemsPage and create some groups with different amounts of items hosted.

I have attached a sample demo-solution to this ticket.

Product Language

English

Operating System

Windows 8

Operating System Language

English

Actual results

When dragging the horizontal scrollbar it jumps around in a weird way and changed size constantly.

Expected results

The scrollbar keeps the same size and moves to the left site as expected.
File Attachments
File Name Submitted By Submitted On File Size  
App2.zip 11/17/2012 37 KB
0.png 11/17/2012 33 KB
1.png 11/17/2012 32 KB
2.png 11/17/2012 36 KB
3.png 11/17/2012 36 KB
Sign in to post a comment.
Posted by Simon Mattes on 1/13/2013 at 5:42 AM
Hi Tim,

thank you for clarifying this! The workaround works like a charm.

Regards
-Simon
Posted by Microsoft on 1/7/2013 at 1:06 PM
Hi Simon,

Thanks for reporting the issue. "Closed as External" in this case means the issue is not one of Visual Studio but rather the underlying API platform not delivered by Visual Studio (e.g., Windows Runtime).

Unfortunately the issue you note is a known issue with virtualized items within grid/list view controls where we have a dynamically resizing scrollbar issue. As noted in the workaround that a user provided you can change to a StackPanel and will not have this issue but depending on your scenario might add a different challenge as the items will not be virtualized.

We are hoping to address this in a future release and are aware of the issue.

-th
Tim Heuer
Program Manager, Windows
Posted by Simon Mattes on 12/18/2012 at 3:46 AM
So what does "Closed as External" mean in this case? Even the sample in the SDK has this issue...
Posted by Microsoft on 11/19/2012 at 9:34 PM
Thanks for your feedback.

We are rerouting this issue to the appropriate group within the Microsoft Visual Studio Connect Support Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Microsoft on 11/19/2012 at 9:50 AM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)
Sign in to post a workaround.
Posted by L Norder on 11/27/2012 at 3:26 AM
It seems as if it's the VirtualizingStackPanel in the itemGridView's ItemsPanelTemplate that is the root of this behavior.
Replacing it with a regular StackPanel makes the scrolling behave as expected. This workaround may impact performance if you have a large number of groups/items.