RadChart Designer Crash

3 posts, 0 answers
  1. Sean McConnell
    Sean McConnell avatar
    38 posts
    Member since:
    Aug 2007

    Posted 31 Mar 2008 Link to this post

    This may be related to the other crash we are seeing with the Runtime, but this is far easier to reproduce:

    1. Make a new windows app project.
    2. Drag RadChart control onto form, leave default settings.
    3. Vertically size the chart to make it smaller - once small enough, the entire development environment will crash (hard lock).

    This appears to  be related to the Legend, because I can size the chart down to the size of the legend, but if I go any smaller, it crashes.

    EDIT: This was performed using Visual Studio 2005 Version 8.0.50727.867 (vsvista.050727-8600) on Windows Vista 32-bit (no SP1).

  2. Sean McConnell
    Sean McConnell avatar
    38 posts
    Member since:
    Aug 2007

    Posted 31 Mar 2008 Link to this post

    The source of this problem has been located.

    In RenderEngine.cs

    The method:

    private SizeF MeasureLabel(ExtendedLabel label)
    {
    ...
    }

    This method begins a loop at Line#2250

    for(int i=0;i<itemsCount;i++)

    Within this loop, some conditional code does this (Line#2282):

     i--;

    Obviously, this loop gets stuck, locking up Visual Studio.


  3. UI for WinForms is Visual Studio 2017 Ready
  4. Nikolay
    Admin
    Nikolay avatar
    1804 posts

    Posted 01 Apr 2008 Link to this post

    Hello Randall Kohltfarber,

    Thank you for bringing our attention to this issue.

    I was able to reproduce it and it will be addressed for one of our future versions.

    Your Telerik points were updated. If you have additional questions, do not hesitate to contact me.

    Kind regards,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top