SfPopupLayout - performance issue in complex Page and strange behavior with CollectionView

Hello team

We have a two problems with SfPopupLayout component.

1.) Opening SfPopupLayout depends on complexity of the Page(at least that's what it looks like in my test app). This is problem for us because it takes roughly 2 seconds to open the popup in our production app. You can repeat this if you add some elements on the MainPage in my test app and you can track opening popup time in debug output.

2.) If we use CollectionView like ContentTemplate of SfPopupLayout and remeber this instance(popup is not recreating every time when it is opened) content of popup is not displayed in next opening(only first opening display content). If we change ListView instead of collection view, it works. It only happens on iOS and UWP.

I tested this issue on - iOS -> iPad Mini 4(A1538) Software version: 15.2(19C56) and simulator

UWP -> Windows 10 20H2 (OS Build 19042.1348)

I created test app which is attached. Can you please take a look whether I do something wrong or confirm my theory?

Thanks,

Lukas


Attachment: SfPopupLayout_94191c83.zip


15 Replies

SV Suja Venkatesan Syncfusion Team January 20, 2022 04:26 PM UTC

Hi Lukas, 

Regarding issue ”Delay in SfPopupLayout opening”

We are unable to replicate the reported issue in our end. We are not clear about “You can repeat this if you add some elements on the MainPage in my test app” which you have mentioned in your update. Can you please explain this in detail with issue replication video or image. It will be more helpful for us to find the exact cause for the issue. 

Regarding issue ”CollectionView in SfPopupLayout not renderering in second time” 

We are able to reproduce the reported issue in our end. We are in need of two more business days to validate this properly. We will update the further details on or before January 24, 2022. We appreciate your patience and understanding.  

Regards, 
Suja 



LS Lukas Sugra replied to Suja Venkatesan January 24, 2022 09:34 AM UTC

Hello Suja,

If you add elements where is commented line in the MainPage.xaml you repeat this issue(check attachment). You can add e.g. 20 elements and track debug output and compare it with time without added elements. There is logged a opening time of popup. If you will add more and more elements, the opening time will be increased. This issue only occurred on iOS. I forgot to mention it before probably. I hope that's clear now.

Regards,

Lukas


Attachment: SfPopupLayoutMainPage_fadbc29a.zip



SV Suja Venkatesan Syncfusion Team January 24, 2022 03:27 PM UTC

Hi Lukas, 

Regarding issue ”CollectionView in SfPopupLayout not renderering in second time” . 
              We would like to let you that the reported issue occurs with Xamarin.Forms components also without SfPopupLayout control. Currently we are checking the issue with Xamarin.Forms framework team.  

Regarding issue ”Delay in SfPopupLayout opening”
              We are able to replicate the reported issue in Xamarin.Forms.iOS platform in our end. Currently, we are in need of two more business days to validate this issue properly. We will update the further details on or before January 27,2022. We appreciate your patience until then. 

Regards, 
Suja.  



SV Suja Venkatesan Syncfusion Team January 27, 2022 03:36 PM UTC

Hi Lukas, 

Regarding issue ”Delay in SfPopupLayout opening”. 

We also replicate the same scenario with Xamarin.Forms DisplayAlert, the loading time gets vary slightly based on ContentPage content. The loading time of SfPopup will be based on the elements loaded in SfPopView ContentTemplate.  Please let us know if you need any other assistance. 

Regarding issue ”CollectionView in SfPopupLayout not renderering in second time” .  
             As we already mentioned in our previous update, reported issue occurs with Xamarin.Forms components also without SfPopupLayout control. We also logged the same scenario issue in Xamarin.Forms framework team. Please find the below bug report link for you reference. 


We will you update the further details once we get the proper solution from framework team. 

Regards, 
Suja 



LS Lukas Sugra replied to Suja Venkatesan February 1, 2022 10:32 AM UTC

Hello Suja,

Regarding issue ”Delay in SfPopupLayout opening”. 

I understand it depends on ContentTemplate complexity too, but we don't have such complex popup layouts in our app. Anyway, I added scenarios with complex popup layout and simple popup layout and the performance is not so different. Simple popup 50ms, complex popup 100ms -- these measurements are for simple MainPage, running on my iPad (iPad Mini 4 - 2015(A1538)). When the Page gets a little bit more complex, the time for displaying the popup is increasing (even for simple popup layout). For example, I added 30 buttons to the MainPage.xaml and displaying popup took twice as long as before. Imagine a Page where we have a ListView with 12 items visible and each item is composed of ~30 views - in the end, there are hundreds of views on the screen and showing even simple popup takes very long time( ~ 2 seconds).I have attached new version of test app. I want to ask you what options do we have to resolve this issue?


Regarding issue ”CollectionView in SfPopupLayout not renderering in second time” .  

Thank you for your help.


Regards

Lukas


Attachment: SfPopupLayout_3c60c585.zip


SV Suja Venkatesan Syncfusion Team February 2, 2022 02:45 PM UTC

Hi Lukas, 

Currently, we are validating the reported issue in our end. We will update you with further details on or before February 5,2022. We appreciate your patience until then. 

Regards, 
Suja 



LN Lakshmi Natarajan Syncfusion Team February 5, 2022 07:00 AM UTC

Hi Lukas, 
 
We are still analyzing the scenario on our side and update you further details on or before February 8, 2022. We appreciate your patience until then. 
 
Lakshmi Natarajan 
 



SV Suja Venkatesan Syncfusion Team February 8, 2022 03:45 PM UTC

Hi Luka, 

Currently, We are analyzing the reported issue on our end. We will update you the further details on or before February 10, 2022. We appreciate your patience until then. 

Regards, 
Suja 



SV Suja Venkatesan Syncfusion Team February 10, 2022 02:28 PM UTC

Hi Lukas, 

Currently , we are validating the reported issue to find the exact root cause of the issue. We will update you the further detail on or before February 15, 2022. We appreciate your patience until then.. 

Regards, 
Suja 



SV Suja Venkatesan Syncfusion Team February 15, 2022 02:47 PM UTC

Hi Lukas, 

We have logged a bug report for the reported issue “performance issue in complex Page". We will fix the issue and include the fix in our weekly nuget which is scheduled on March 8,2022. We will let you know once it is released with the fix. We appreciate your patience until then.

You can also track the status of the report from the below link.   

Regards, 
Suja  



SV Suja Venkatesan Syncfusion Team March 8, 2022 03:11 PM UTC

Hi Lukas, 

We regret to inform you that we could not include the fix as promised. We need time to fix this issue on our end. So we will include the fix in our upcoming weekly nuget release, which is planned to roll out on March 29,2022. We will let you know once it is released with the fix. We appreciate your patience until then. 

Regards, 
Suja 



SV Suja Venkatesan Syncfusion Team March 29, 2022 12:51 PM UTC

Hi Lukas, 


We regret to inform you that we could not include the fix as promised. We need time to fix this issue on our end. So we will include the fix in our upcoming weekly nuget release, which is planned to roll out on April 12,2022. We will let you know once it is released with the fix. We appreciate your patience until then. 


Regards, 

Suja 



SV Suja Venkatesan Syncfusion Team April 13, 2022 02:04 PM UTC

Hi Lukas, 


We regret to inform you that we could not include the fix as promised. We need time to fix this issue on our end. So we will include the fix in our Volume1 2022 SP1 release, which is scheduled to roll out in the end of April month. We will update you once it’s rolled out.


Regards,

Suja




LS Lukas Sugra replied to Suja Venkatesan May 4, 2022 12:08 PM UTC

Hello Suja,

Have you fixed it yet?


Thanks

Lukas



SV Suja Venkatesan Syncfusion Team May 4, 2022 02:10 PM UTC

Hi Lukas,


We have fixed the reported issue “SfPopupLayout Performance issue based on MainPage content” and included the issue fix in our latest Weekly NuGet release version 20.1.0.52 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 require any further assistance. 


Regards,

Suja


Loader.
Up arrow icon