Bug 44758 - CarouselView Stuck on Complex Pages
Summary: CarouselView Stuck on Complex Pages
Status: RESOLVED NOT_ON_ROADMAP
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.2
Hardware: Macintosh Mac OS
: High major
Target Milestone: ---
Assignee: Samantha Houts [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2016-09-26 23:08 UTC by Anuj Bhatia
Modified: 2017-06-19 18:46 UTC (History)
4 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

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 Anuj Bhatia 2016-09-26 23:08:49 UTC
Reproduction:

https://www.dropbox.com/s/an3attukkxbphv6/Carousel%20bug.zip.zip?dl=0


Steps to reproduce
- while on Tab 0,
- populate the Carousel with around ~200 complex controls (StackLayout with a Label and Entry)
- swipe between tabs in carouselview

Result:

Tab stuck between swipe on complex pages

Application Output:

[RecyclerView] Smooth Scroll action is being updated too frequently. Make sure you are not changing it unless necessary
[Choreographer] Skipped 134 frames!  The application may be doing too much work on its main thread.
Comment 1 Samantha Houts [MSFT] 2016-10-03 23:31:21 UTC
Tested reproduction on my Nexus 6 device. While it was not especially responsive, the tabs did switch, and the "[RecyclerView] Smooth Scroll action is being updated too frequently. Make sure you are not changing it unless necessary" message never appeared in my application output.

What device/emulator are you using?
Comment 2 realspkr 2016-11-02 17:38:29 UTC
I am reproducing the same issue using The Nexus 5 (KitKat) 4.4.2
Comment 3 Anuj Bhatia 2016-11-17 17:10:20 UTC
@MPeretz@spherasolutions.com it seems you are able to reproduce this with a KitKat. Samantha, can you work with Mike, to get verification on KitKat.
Comment 4 Samantha Houts [MSFT] 2016-11-18 18:30:26 UTC
I don't have a physical Nexus 5 device, so I tested the attached reproduction with no modifications on the Xamarin Android Player emulator Nexus 5 KitKat API 19 4.4.2.

I loaded 1000 complex controls by typing in 1000 and clicking "FILL COMPLEX". I then attempted to swipe back and forth between all 5 tabs. It was slow, of course, but it *did* successfully show each page, and I did not receive the "[RecyclerView] Smooth Scroll action is being updated too frequently. Make sure you are not changing it unless necessary" message at any time.

I used Xamarin Studio on Mac with the latest stable Xamarin.Android updates to do this test. Perhaps the version of Xamarin.Android makes a difference. Can you tell me what version you are using?
Comment 5 Samantha Houts [MSFT] 2017-06-19 18:46:13 UTC
This issue is not present in the newly proposed version of CarouselView. Closing this issue. Thank you!
	
https://github.com/xamarin/Xamarin.Forms/pull/853