Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 362045 - Closing a Riena application with a lot of sub-modules is very slow
Summary: Closing a Riena application with a lot of sub-modules is very slow
Status: CLOSED WONTFIX
Alias: None
Product: Riena
Classification: RT
Component: Look And Feel (show other bugs)
Version: 4.0.0   Edit
Hardware: PC Windows 7
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-26 05:58 EDT by Thorsten Schenkel CLA
Modified: 2016-09-26 10:58 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.