We are seeing a strange behavior on TableView forms in the Web Client. If a foundset search results in a few hundred records and it is displayed in a Table View form, after the form is displayed and rendered and the “Loading” indicator has disappeared and the browser indicates that the request has completed, the page is not responding for 6-7 seconds - the can click on different records on the grid but current record selection does not change, the grid columns cannot be resized, etc. As if the browser is busy doing something (without any indication) and all of a sudden the page will “come to live” and the user will see all his actions “replayed” - for example, the current record selection will jump briefly through the different records which the user has clicked on while the page was “frozen” indicating that the clicked were “queued” but could not be processed. And this happens even while debugging the application in Servoy Developer on the same machine so no network issues. The profile in the Developer shows that our method has been executed in fraction of a second (20-30ms) and yet the web client staggers. After that initial pause everything seems fine until the form is hidden and then displayed again (for example, switching tabs). Some times after such switches, the web client will “pausse” again for 6-7 seconds, at other times it will work without the delay. Somtimes while the profiler is running, the issue will not happen, but if we stop only the profiler without killing the debug session and try again the issue will appear - turning on the profiler again in the same debug session will make the Web Client run fine again. Other times the profiler will not have any effect and the issue will always happen. When trying the same on the server, the issue happens every time.
We are confident that our methods are executed very fast and the issue is in the web client after that. The strange thing is that the web page is completely rendered (all data is visible) and the grid paging buttons are calculated and displayed - basically everything is ready and yet the Web Client “pauses” for a ridiculously long time. There are no onRender event hooked to any of the grid fields or forms - the only styling is through the standard Servoy odd/even/selected styles. Adding onRender event to the grid fields does however make the “pause” even longer (10-13 seconds).
We had not seen this issue before - it started with the 6.0.6 (or maybe some of the intermediate builds after that) Have any other users reported similar issue? What is causing this?