Bug 52426 - Item gets rearranged in Carousel View while moving the focus to Label in UWP platform
Summary: Item gets rearranged in Carousel View while moving the focus to Label in UWP ...
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Forms
Classification: Xamarin
Component: Windows ()
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: UWP
Assignee: Chris King
URL:
Depends on:
Blocks:
 
Reported: 2017-02-09 19:02 UTC by Dinesh
Modified: 2017-06-19 21:36 UTC (History)
6 users (show)

Tags:
Is this bug a regression?: Yes
Last known good build: carouselview grid label uwp ac


Attachments
Items get redisplay in UWP platform (3.25 MB, application/x-zip-compressed)
2017-02-09 19:02 UTC, Dinesh
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NOT_ON_ROADMAP

Description Dinesh 2017-02-09 19:02:08 UTC
Created attachment 19777 [details]
Items get redisplay in UWP platform

Hi Team,

I have found a strange issue “Items get rearranged while moving the focus towards label” while working with Carousel View in UWP platform.

In my scenario, I have customized a layout(named as CustomView) derived from Grid and arrange the N number of labels to the CustomView and layout it into the CarouselView. And loaded a Grid in the ContentPage, within the Grid I have arranged the CarouselView(Contains CustomView and its items) in 0th row and another Grid(Contains a Label with Text property as “GridLabel”) in 1st row.
	
Run the application in UWP platform(Desktop) with below PC specifications and follow the below steps to replicate the issue.
Step 1: Move the cursor on CustomView Item1 using mouse.
Step 2: Now, move the mouse down to the Grid Label (pointer should focus on the text) text.

Issue: Note that items get redisplay and the OnSizeAllocated method of CustomView gets triggered.

PC Specification:
Machine: Non touch screen monitor
OS : Windows 10 anniversary V1607

Xamarin Forms version: v2.3.3.180

Note:
Please note that issue gets replicated only in the computer with non-touch screen monitors and in the mentioned Windows OS. If you have a touch screen monitor this issue does not replicate and also the issue gets replicate only for the first time while deploying the application.

For your reference, we have attached the sample in the attachment.

Please let us know if you require any clarification.

Regards,
Dinesh Babu Yadav
Comment 1 Paul DiPietro [MSFT] 2017-02-23 18:31:42 UTC
Thank you for the reproduction -- I'll set this to confirmed for the time being.
Comment 2 Chris King 2017-06-19 21:36:53 UTC
CarouselView has been deprecated and will be replaced with https://github.com/xamarin/Xamarin.Forms/pull/853