Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.8-beta-3
-
Fix Version/s: 1.7.6, 1.8-beta-3
-
Component/s: ast builder
-
Labels:None
-
Number of attachments :
Description
In AST Browser UI, if I change some parameters like Show Script flag (free form/class form) or Compile Phase and then press Refresh
1) There is no proper progress indicator of the work that is happening in the background in the non-UI threads. The hourglass also appears if I move the mouse on the small area that shows the AST tree. In most of the remaining screen, mouse pointer looks normal. A progress indicator is needed.
2) As soon as the refresh is pressed, the tree and property tables can be cleared as they take time to get populated and decompiled data comes up very fast and they look out-of-sync till the whole work is completed.
For issue 1 - This is correct behavior... the component that is loading has an hourglass but not the full window. The decompiler runs a lot faster than the tree view, so the decompiler comes up quick and you can work with it. This feature needs to remain in the browser. But you are correct... somehow the Loading message disappeared and we need to put a progress bar or loading tree node back in.
It would be possible to create a progress bar based on the number of methods in every class in the AST, and then tick the progress bar forward once each time the ScriptToTreeNodeAdapter finds a method.