Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 362045

Summary: Closing a Riena application with a lot of sub-modules is very slow
Product: [RT] Riena Reporter: Thorsten Schenkel <thorsten.schenkel>
Component: Look And FeelAssignee: Project Inbox <riena.core-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P2 CC: christian.campo
Version: 4.0.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Thorsten Schenkel CLA 2011-10-26 05:58:22 EDT
I have a Riena (sample) application with about 200 sub-modules. When I close the application, it takes long till the application is closed.
I suppose this is a problem of the life cycle of the navigation nodes. If a node is closed (disposed), for all child nodes it will be checked, if deactivating and disposing is allowed.
Comment 1 Thorsten Schenkel CLA 2011-11-08 04:53:27 EST
It is possible to reduce the time for closing the application if the method "ModuleView.SubModuleListener#childRemoved" only calls resize when the sub-application is active.
(I have added this condition!)
But this improvement doesn't work, if a module/module group with 200 sub-modules will be closed.
I think it is necessary to analyze why the performance of method resize (NavigationViewPart.updateNavigationSize()) is poor.