Bug 55273 - TabIndicator not updating on switching tabbed pages in Xamarin.Forms Android
Summary: TabIndicator not updating on switching tabbed pages in Xamarin.Forms Android
Status: RESOLVED NOT_REPRODUCIBLE
Alias: None
Product: Forms
Classification: Xamarin
Component: Android ()
Version: 2.3.4
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Jimmy [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2017-04-17 12:54 UTC by Paul Anderson
Modified: 2018-01-11 19:03 UTC (History)
5 users (show)

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


Attachments
sample project (43.86 KB, application/x-zip-compressed)
2017-04-18 16:54 UTC, Jimmy [MSFT]
Details
Video footage for the reported bug (769.71 KB, application/zip)
2017-04-21 09:56 UTC, Paul Anderson
Details
DemoSample (76.88 KB, application/zip)
2017-08-22 07:35 UTC, Paul Anderson
Details
ExceptionScreenShot (30.58 KB, image/png)
2017-08-24 12:25 UTC, Paul Anderson
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_REPRODUCIBLE

Description Paul Anderson 2017-04-17 12:54:34 UTC
TabIndicator is not updating while switching one page to another page by tapping in Xamarin.Forms Android. At the same time if we changed to another page by swiping means the tab indicators denotes the page correctly.
Comment 1 Jimmy [MSFT] 2017-04-18 16:54:14 UTC
Created attachment 21601 [details]
sample project

I was not able to reproduce the issue with the sample project I am attaching.

I tested with Forms 2.3.4 and 2.3.5-pre1 on an Android 6.0 device and I observed the tab indicator updating properly even when tapping on the tab instead of swiping.

If you are experiencing this issue with Forms 2.3.4 or newer, please attach a project that reproduces the issue so we can look into this further. Note, we my close this report after thirty days of no response so when providing the requested information set the report status to NEW. Thanks!
Comment 2 Paul Anderson 2017-04-21 09:56:03 UTC
Created attachment 21680 [details]
Video footage for the reported bug
Comment 3 Paul Anderson 2017-04-21 09:56:34 UTC
We have used third party Xamarin.Forms components in another page(Where indicator not shown) due to licensing issues we were unable to share sample project to you. 

For your convenience we have recorded a video footage for the same and attached. From the video you can see that the indicator(white line) will not indicate the page(entitled as Navigation_Drawer)where custom component were place while tapping. 

But the same time if we have moved to other page by swiping means the indicators will be in correct place.
Comment 4 Paul Anderson 2017-04-21 09:57:08 UTC
We have used third party Xamarin.Forms components in another page(Where indicator not shown) due to licensing issues we were unable to share sample project to you. 

For your convenience we have recorded a video footage for the same and attached. From the video you can see that the indicator(white line) will not indicate the page(entitled as Navigation_Drawer)where custom component were place while tapping. 

But the same time if we have moved to other page by swiping means the indicators will be in correct place.
Comment 5 Jimmy [MSFT] 2017-04-21 15:14:08 UTC
So the tab where the indicator does not work has a page with a custom control? What does the custom control do and how are the pages organized? Can you verify if the issue still happens without the custom control?
Comment 6 Paul Anderson 2017-04-25 09:07:57 UTC
We have tried with third party  calendar and navigation drawer controls both experienced the same problem. And if we removed it works as expected.

Note:
If we tapped headers in very fast manners the indicators goes to the correct place.
Comment 7 Paul Anderson 2017-05-11 11:16:18 UTC
Any update on this?. Is there any other way to call tab indicator through methods?. Please suggest me on this?
Comment 8 Rui Marinho 2017-06-20 17:24:56 UTC
Unfortunately, we’re unable to reproduce this report using just Xamarin.Forms. If this issue is still occurring for you without a custom component, please reopen this issue or when you can attach a reproduction to the bug by starting with a clean Xamarin.Forms project adding just the code necessary to demonstrate the issue even the custom component don't worry about license, we will try to get one.
Comment 9 Paul Anderson 2017-08-22 04:52:48 UTC
Here I have attached the error reproducing sample.Run the sample and follow our replications steps to reproduce the issue.
Comment 10 Paul Anderson 2017-08-22 07:35:07 UTC
Created attachment 24345 [details]
DemoSample
Comment 11 Paul Anderson 2017-08-24 12:24:45 UTC
I have checked the reported issue in  Xamarin.forms 2.4.0-pre1 release version and I got nullreference exception on IVisulaelement platforms property. So i couldn't able to check the reported issue "System.ObjectDisposedException". I have also attached the screenshot image for your reference.
Comment 12 Paul Anderson 2017-08-24 12:25:31 UTC
Created attachment 24397 [details]
ExceptionScreenShot
Comment 13 Paul Anderson 2017-09-20 13:00:54 UTC
Please check this sample and let me know if you want any details to reproduce this issue. We will wait for your response.
Comment 14 Paul DiPietro [MSFT] 2018-01-11 19:03:36 UTC
I cannot reproduce a crash or an incorrectly behaving tab indicator on an S8 device with the latest reproduction attachment using the latest 2.5.0 version of Forms. Please file a new issue on GitHub with more information and a new reproduction if this issue is still occurring. Thanks!