Hi,
I am after a spurious bug in a complex ListGrid of my application.
***Sometimes*** (not data related), an update of the DS behind that Grid does not cause the ListGrid to be updated (via DS.updateData()) if grouping is enabled. If the grouping is disabled by the user, that grid instantly shows up-to-date data and freezes again, when the grouping is re-enabled. The column used for grouping does not matter.
The issue happens in FF4 and Chrome12 (all browsers I tested) using GWT 2.3 and SGWT nightly as of 2011-06-13, both in dev-mode and in a prod-mode.
While in dev-mode, setting some of the logging preferences in the debug console to debug (i.e. redraws, draws, resize, visualState) causes the same freezing in cases the grouping freezes the grid as well. However, if the grouping does not cause a freezing, then only setting the redraws and draws logging preferences to debug or sometimes just only redraws causes the freezing. Is there some explanation for this apparently "non-deterministic" behaviour?
The log produced by setting all of the logging preferences (except of redraw) to debug differs in that the one produced with the ungrouped grids shows some additional information for each inserted record (roughly about 25 lines of styling information, e.g. ...scrollHeight: 464,...), so I don't think that this will be valuable debug information here. It is added for convenience, though.
As I was not able to reproduce this with a stand-alone test case so far, I am looking for some ways to further drill down into this "sometimes grouping causes the grid not to update" issue. What would be good override points for the output of debug information? As far as my application is concerned, I cannot see any differences in the program flow between a case in which the ListGrid works as expected and a case in which it doesn't, so somehow the program flow in the SGWT components need to be intercepted to produce useful debug output.
Thanks & regards,
fatzopilot
Debug output when grouped: http://pastebin.com/yNXM4PrW
Debug output when ungrouped: http://pastebin.com/K6sFB3hZ
There is no difference in debug output between a working update and non-working update when grouping is enabled.
I am after a spurious bug in a complex ListGrid of my application.
***Sometimes*** (not data related), an update of the DS behind that Grid does not cause the ListGrid to be updated (via DS.updateData()) if grouping is enabled. If the grouping is disabled by the user, that grid instantly shows up-to-date data and freezes again, when the grouping is re-enabled. The column used for grouping does not matter.
The issue happens in FF4 and Chrome12 (all browsers I tested) using GWT 2.3 and SGWT nightly as of 2011-06-13, both in dev-mode and in a prod-mode.
While in dev-mode, setting some of the logging preferences in the debug console to debug (i.e. redraws, draws, resize, visualState) causes the same freezing in cases the grouping freezes the grid as well. However, if the grouping does not cause a freezing, then only setting the redraws and draws logging preferences to debug or sometimes just only redraws causes the freezing. Is there some explanation for this apparently "non-deterministic" behaviour?
The log produced by setting all of the logging preferences (except of redraw) to debug differs in that the one produced with the ungrouped grids shows some additional information for each inserted record (roughly about 25 lines of styling information, e.g. ...scrollHeight: 464,...), so I don't think that this will be valuable debug information here. It is added for convenience, though.
As I was not able to reproduce this with a stand-alone test case so far, I am looking for some ways to further drill down into this "sometimes grouping causes the grid not to update" issue. What would be good override points for the output of debug information? As far as my application is concerned, I cannot see any differences in the program flow between a case in which the ListGrid works as expected and a case in which it doesn't, so somehow the program flow in the SGWT components need to be intercepted to produce useful debug output.
Thanks & regards,
fatzopilot
Debug output when grouped: http://pastebin.com/yNXM4PrW
Debug output when ungrouped: http://pastebin.com/K6sFB3hZ
There is no difference in debug output between a working update and non-working update when grouping is enabled.
Comment