You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2013/04/26 21:54:16 UTC

[jira] [Resolved] (WICKET-5160) Throttle the animation in DebugWindow when there are many errors

     [ https://issues.apache.org/jira/browse/WICKET-5160?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-5160.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 6.8.0

>From now on the animation will be postponed for 300ms after the last error. If an error occurs during this period the timer is reset.

Extra note: this change makes wicket-ajax-jquery-debug.js depending on wicket-ajax-jquery.js. I see no use case when the debug window will be used without wicket-ajax.js. The throttling can be easily implemented with clearTimeout/setTimeout if needed. 
                
> Throttle the animation in DebugWindow when there are many errors
> ----------------------------------------------------------------
>
>                 Key: WICKET-5160
>                 URL: https://issues.apache.org/jira/browse/WICKET-5160
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 6.7.0
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>            Priority: Minor
>             Fix For: 6.8.0
>
>
> When the Ajax response causes several/many errors the debug window starts flashing for any logged error. This may lead to unresponsiveness.
> It would be good to throttle the animation and execute it once the logging of the errors have finished (for some period) 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira