Inconsistent UI update

I have one Dispatchertimer with Interval 100ms in the Home page.

I see that the component in question is not updating correctly, sometimes it's ok while sometimes it doesn't update.

Also SfCircularProgressBar it has the same behavior.

Is it OK to use the Dispatcher Timer to update the UI?

Can you advise me how best to update the graphical interface?

In attached you found the project.

You find the code in the Home page in the private void Timer_Tick(object? sender, EventArgs e) method


Attachment: lima_fch50m.02_230624main_6c81cd86.zip


8 Replies

HD Hemalatha Duraisamy Syncfusion Team July 4, 2023 05:01 PM UTC

We tried to reproduce the reported issue, but we were unable to reproduce any issue on provided sample with SfCircularProgressBar. 


Kindly provide the following details to investigate further on this issue.  

  1. Replication procedure to reproduce the issue.
  2. Screen shot or video for illustrating the issue.

The above details will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest. 



EG Edoardo Gazzola July 5, 2023 05:45 AM UTC

Hi Hemalatha,

As soon as I have the opportunity, I try to give you additional information with a video or image.

I'll need some time.

For the moment, thank you



EG Edoardo Gazzola July 5, 2023 06:05 AM UTC

Hi Hemalatha,

If I try to refresh the background of the SfLinearProgressBar component it doesn't refresh (code behind).

Of course this has nothing to do with the other problem.

but to test I would like to use the backgroud change of this component.

In theory I should override the style from code behind.



HD Hemalatha Duraisamy Syncfusion Team July 6, 2023 05:44 PM UTC

Could you please confirm whether you have faced an issue with changing the linear progress value on the backend? It doesn't seem to refresh, as like in the sample below.

https://www.syncfusion.com/downloads/support/directtrac/general/ze/LinearProgress-2129899163


If our understanding is different from your requirement, could you please explain briefly about your requirement? 

Kindly provide the following details to investigate further on this issue.  

  1. Replication procedure to reproduce the issue.
  2. Screen shot or video for illustrating the issue.

The above details will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest. 



EG Edoardo Gazzola July 7, 2023 05:58 AM UTC

Hi Hemalatha,

I can confirm that I have no problems changing the prograss property of SfLinearProgressBar, this property works fine.

I'm having problems with the background property from code behind, if I try to change it nothing happens.

I have attached a video for you


Attachment: 20230707_075342_9e76c5ca.zip


HD Hemalatha Duraisamy Syncfusion Team July 10, 2023 05:13 PM UTC

Could you please confirm whether you need to apply the color for background of progress value? If yes to use the track color properties, as like in the sample and video below.

https://www.syncfusion.com/downloads/support/directtrac/general/ze/LinearProgress868187409

https://www.syncfusion.com/downloads/support/directtrac/general/ze/Linear1344931471


Please find the use link for track color properties

https://help.syncfusion.com/wpf/linear-progressbar/appearance#color-customization


or else need to apply the background color of Progress Bar ? If our understanding is different from your requirement, could you please explain briefly about your requirement? 

Kindly provide the following details to investigate further on this issue.  

  1. Replication procedure to reproduce the issue.
  2. Screen shot or video for illustrating the issue.

The above details will be more helpful for us to reproduce the issue in our side and assist you with the better solution at the earliest. 




EG Edoardo Gazzola July 10, 2023 05:56 PM UTC

Hi Hemalatha,

I confirm that in changing the ProgressColor property the ProgressBar actually changes color from code behind.

As for the interface that didn't update, it was a software bug of mine.

Thanks for the technical support



HD Hemalatha Duraisamy Syncfusion Team July 12, 2023 07:25 AM UTC

Most welcome. Please get back to us if you need any assistance.


Loader.
Up arrow icon