SfTabView issues on Android

Hello,

I found two issues with SfTabView on Android.

1) If i set "TabWidthMode" to "BasedOnText" and "IsVisible" to true dynamically(in Appearing event handler), I can see how sfTabView selection indicator is placed under this item but Selection index is not changed(it is still 0). At the same, header content is scrollable even if it(all visible items) fits to the screen. You can reproduce this issue in attached app(Tapping on "TabWidthMode issue" button).If you will not able to reproduce it first time, navigate back to the main page and try it again.

Broken Selection Layout:


Header content scrollable:


2) If i change "IsVisible" from code behind dynamically and I have set up "EnableVirtualization=true", app crashes occasionally on Java exception which you can see in attached log. You can reproduce this issue in attached app(Tapping on "EnableVirtualization crash").You only have to tap on "Change visible items"(maybe more times not only once) button and app crashes after a while.


Device: Samsung Galasy Tab S6 Lite(OS Android 11)


Attachment: TabViewTest_e6fb82e4.zip


12 Replies

JK Jeya Kasipandi Syncfusion Team May 3, 2022 12:06 PM UTC

Hi Lukas,

We have analyzed the reported issue. We were able to reproduce the reported issues in SfTabView and we have confirmed this as a bug and logged a defect report. You can track the status of the bug from the below link.


We will provide a patch for this issue on May 17, 2022. We appreciate your patience until then.

Note: The provided feedback link is private, and you need to log in to view this feedback.

If you have any more specifications/precise replication procedures or a scenario to be tested, you can add them as a comment in the portal.

Regards,
Jeya K


RS Ruba Shanmugam Syncfusion Team May 17, 2022 03:41 PM UTC

Hi Lukas,

We have fixed the reported issue[Android] IsVisible property dynamic cases not working properly in SfTabView”. Please find the patch below link,

Please find the patch assemblies alone below location:

https://syncfusion.com/Installs/support/patch/20.1.0.55/1391212/F174733/SyncfusionNuget_20.1.0.55_1391212_5172022081651585_F174733.zip


(OR)

Please find the NuGet from below location:


https://syncfusion.com/Installs/support/patch/20.1.0.55/1391212/F174733/SyncfusionPatch_20.1.0.55_1391212_5172022081651585_F174733.zip


Assembly Version: 20.1.0.55

Disclaimer:

Please note that we have created this patch for version 20.1.0.55 specifically, to resolve the issue reported in this incident. If you have received other patches for the same version for other products, please apply all patches in the order received.

Note: Please clear the NuGet cache, before using the latest one.

https://www.syncfusion.com/kb/6987/how-to-clear-nuget-cache

This fix will be included in our weekly NuGet release which will be rolled out on May 31, 2022, weekly release. We appreciate your patience until then.

Regards,

Ruba Shanmugam



RS Ruba Shanmugam Syncfusion Team June 1, 2022 04:54 AM UTC

Hi Lukas,


Thanks for your patience.

We have included the fix in our latest Weekly NuGet release v20.1.0.58 which is available for download (https://www.nuget.org/ ). We thank you for your support and appreciate your patience in waiting for this update. Please get in touch with us if you would require any further assistance.


Regards,

Ruba Shanmugam



LS Lukas Sugra June 13, 2022 01:50 PM UTC

Hello thank you for resolving issues mentioned above but i have found two more issues on Android and iOS.

1) If i dynamically select of some index and there exists some invisible items before this index so Andorid crashes and iOS select correct index but selection indicator stay on the same place(on the first tabItem ->its similiar bug like mentioned above) -> you would be able to reproduce this issue if you tap on Android selection index crash page

Problem is TabWidthMode="BasedOnText"


2) Strange behavior of selection - I try to implement selection mechanism that last tabItem will remember and then it will be selected for other itmes if exists.

STR:

a) Navigate to "STRANGE BEHAVIOR OF SELECTION" page

b) Tap on "Select second item" button

c) Select "Tab item 5"

d) Tap on "Select first item" button

e) "Tab item 5" should be selected but it is not .(on Android "Tab item 6 is selected", on iOS "Tab item 3" is selected)


It seems that problem is count of visible items. If that count is equal so "Tab item 5" is selected.

If you try to set visibility of "Tab item 3" to Visible in "HandleOnSelectSecondItemClicked" event handler and try to repeat of steps to reproduce so it will work correctly.


Check this issue on iOS too because behavior is a little bit different.

"Tab item 3 is selected" on iOS and if i want to tap on tab item 5 so i see change of content but selection indicator is still placed under the Tab item 3


Modified sample app is attached


Attachment: TabViewTest_59842ee7.zip



RS Ruba Shanmugam Syncfusion Team June 14, 2022 02:05 PM UTC

Hi Lukas,


We were able to reproduce the reported issue [Android, iOS] IsVisible property is not updated dynamically and we have confirmed this as a bug and logged a defect report. You can track the status of the bug from the below link.


Link: https://www.syncfusion.com/feedback/34617/android-ios-isvisible-property-is-not-updated-dynamically


We will provide a patch for this issue on June 29, 2022. We appreciate your patience until then.


Note: The provided feedback link is private, and you need to log in to view this feedback.


If you have any more specifications/precise replication procedures or a scenario to be tested, you can add them as a comment in the portal.


Regards,

Ruba Shanmugam



RS Ruba Shanmugam Syncfusion Team June 29, 2022 02:04 PM UTC

Hi Lukas,


We have fixed the reported issue “[Android, iOS] IsVisible property is not updated dynamically” and find the assembly from the attachment.


Note: Please refer to the below link to apply the custom assembly


https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget


Currently, we have patch support only for the main and service pack release version, not for the weekly NuGet release. So only provided an assembly with the 20.1.0.61 version.


This fix will be included in our weekly NuGet release which will be rolled out on our next weekly release on mid of July 2022. We appreciate your patience until then.


Regards,

Ruba Shanmugam


Attachment: SfTabView_IsVisibleAssembly_b6889c77.zip


LS Lukas Sugra July 13, 2022 01:29 PM UTC

Hello,

I have found more issues on UWP too.

1) If you navigate to "STRANGE BEHAVIOR OF SELECTION" page and select tab item 6, app crashes on NullReferenceException:


2) STRs:

a) Navigate to "Strange behavior of selection UWP(Empty tab item)" 

b) Tap on "Select second item" button

c) Select "Tab item 2"

d) Tap on "Select first item" button(SelectedIndex = 0 is hardcoded in click handler)

e) Tab item is empy

I attach new version of sample app:



LS Lukas Sugra July 13, 2022 01:35 PM UTC

You can skip step b) and you get same result.

I attach new version of sample app


Attachment: TabViewTest_524ad741.zip



RS Ruba Shanmugam Syncfusion Team July 14, 2022 01:58 PM UTC

Hi Lukas,


We were able to reproduce the reported issue “[UWP] The tab item content is not updated properly when changing the visibility dynamically” and we have confirmed this as a bug and logged a defect report. You can track the status of the bug from the below link.


Link: https://www.syncfusion.com/feedback/36335/uwp-the-tab-item-content-is-not-updated-properly-when-changing-the-visibility


The fix will be available on our next weekly release, which is scheduled for July 28, 2022.


Note: The provided feedback link is private, and you need to log in to view this feedback.


If you have any more specifications/precise replication procedures or a scenario to be tested, you can add them as a comment in the portal.


Regards,

Ruba Shanmugam



RS Ruba Shanmugam Syncfusion Team July 28, 2022 01:52 PM UTC

Hi Lukas,


We have fixed the reported issue [UWP] The tab item content is not updated properly when changing the visibility dynamically” and find the assembly from the attachment.


Note: Please refer to the below link to apply the custom assembly


https://www.syncfusion.com/kb/8279/how-to-apply-the-custom-assemblies-when-configured-the-project-with-syncfusion-nuget


Currently, we have patch support only for the main and service pack release version, not for the weekly NuGet release. So only provided an assembly with the 20.2.0.39 version.


This fix will be included in our weekly NuGet release which will be rolled out on mid of August weekly release. We appreciate your patience until then.


Disclaimer: Inclusion of this solution in the weekly release may change due to other factors, including but not limited to QA checks and work reprioritization.


Regards,

Ruba Shanmugam


Attachment: SfTabView_Assembly_f878203f.zip


LS Lukas Sugra September 28, 2022 07:43 AM UTC

Any updates about this issue?? Was it already released?



RS Ruba Shanmugam Syncfusion Team September 29, 2022 07:29 AM UTC

Hi Lukas,


Sorry for the inconvenience.


We have moved the fix in our latest weekly release. Can you please check your application with the latest version and let us know if you have any other details?


Regards,

Ruba Shanmugam


Loader.
Up arrow icon