This is a migrated thread and some comments may be shown as answers.

Freeze when resizing GridView with .NET 4.7.2

3 Answers 53 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Bastien
Top achievements
Rank 1
Bastien asked on 06 Dec 2018, 04:30 PM

Hello,

In our application we are using a few separator that are used to resize the two panels (right & left), those two panels contain GridViews. It used to work perfectly but when switching to .NET 4.7.2 (from 4.5.2), this resizing causes the app to freeze entirely. Removing the GridView controls seems to fix the issue, hence why I think there is something wrong with the GridView (or one of the Windows API its using)

Now, the issue only seems to happen on a specific hardware and some kind of setup. An easy way to reproduce it is (in our case) to run the app on the main screen on a Lenovo E580 laptop. We are currently running WPF 2018 R2, but upgrading to R3 doesn't fix the issue.

I was simply wondering, before I open a bug and build a test app to show the error, if you were aware of an issue with the GridView (or other Telerik control for that matter) when running .NET 4.7.2?

 

Best Regards,

Bastian

3 Answers, 1 is accepted

Sort by
0
Vladimir Stoyanov
Telerik team
answered on 11 Dec 2018, 01:01 PM
Hi Bastian,

Currently we are not aware of any issues with the Telerik controls related to .Net 4.7.2. I am afraid that I cannot say for certain what causes the described behavior without being able to reproduce it on my end.

With that in mind, as you suggested, the best course of action would be to prepare a sample project and provide some steps which we can follow in order to reproduce the observed behavior. This will allow us to investigate the scenario and hopefully find the underlying cause.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Bastien
Top achievements
Rank 1
answered on 11 Dec 2018, 07:57 PM

Hi Vladimir,

We did build a sample project and reproduced the issue pretty reliably. For future reference, this seems to be a bug in .NET Framework (starting 4.7): https://github.com/Microsoft/dotnet/blob/master/Documentation/compatibility/wpf-hang-when-resizing-a-grid.md

It is claimed to be fixed in 4.7.1 but can still be reproduced reliably in 4.7.2 as of today:

https://developercommunity.visualstudio.com/content/problem/244615/setfinalsizemaxdiscrepancy-getting-stuck-in-an-inf.html

Hope this helps someone!

Best regards,

Bastian

0
Vladimir Stoyanov
Telerik team
answered on 14 Dec 2018, 01:00 PM
Hello Bastian,

Thank you for sharing your findings with the community.

Regards,
Vladimir Stoyanov
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Tags
GridView
Asked by
Bastien
Top achievements
Rank 1
Answers by
Vladimir Stoyanov
Telerik team
Bastien
Top achievements
Rank 1
Share this question
or