BusyIndicatorContent is visible, indicator is hide, but IsBusy is false

3 posts, 0 answers
  1. Anatoly Chekh
    Anatoly Chekh avatar
    86 posts
    Member since:
    Apr 2010

    Posted 30 Mar 2012 Link to this post

    Hello!

    We have a problem.
    Sometimes our busy indicator show busycontent (Loading...), doesn't show indicator and IsBusy = true.

    The scenario is following:
    1) BusyIndicator.DisplayAfter = 1 second
    2) We call some server method and set IsBusy = true.
    3) Then, after we get answer from server we do some things with answer and call Dispatcher.BeginInvoke(() => BusyIndicator.IsBusy = false);
    After this we see that busy indiactor show busycontent (Loading...), doesn't show indicator.

    We try to find the answer in you source code and suggest following thing:

    When time for displaying indicator is invoke callback - you set IsContentVisible = true and IsBusyIndicationVisible = true;

    So if time for the timer is left, timer append invokation callback. If at this moment we work with server anwer (on point 3 in the list) - BusyIndicator.IsBusy = false can be called before timer callback is invoked but after it added to the dispatcher.

    Do we think right or may be there are any additional thouths about why we see busyindicator content (but it's wrang because IsBusy = false) and don't see indicator?

    Thanks, Anatoly.
  2. Anatoly Chekh
    Anatoly Chekh avatar
    86 posts
    Member since:
    Apr 2010

    Posted 30 Mar 2012 Link to this post

    If we set DisplayAfter = 0 - it never happens (I try about 100 times).
  3. DevCraft banner
  4. Ivo
    Admin
    Ivo avatar
    390 posts

    Posted 03 Apr 2012 Link to this post

    Hi,

    We successfully reproduced this at our side and we can confirm it is a bug at our side. It happens if the time for the service call is almost the same as the DisplayAfter time. I have logged it into our PITS so you can track its status here. We will try to fix this for the next official release.

    Greetings, Ivo
    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top