To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=84259
                 Issue #|84259
                 Summary|Save memory on startup - forms
               Component|Drawing
                 Version|680m238
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|PATCH
                Priority|P3
            Subcomponent|code
             Assigned to|ka
             Reported by|kendy





------- Additional comments from [EMAIL PROTECTED] Wed Dec  5 11:41:28 +0000 
2007 -------
When you start ./soffice -writer, the forms initialize in the 'design mode', 
which means that you are able to create the form controls, instead of using 
them.  This makes sense - the user starts a new document, therefore will most 
probably want to create stuff.

OTOH - lots of documents do not use forms at all, so it is not necessary to 
load the libfrm680*.so immediately; it is perfectly enough to do so when the 
first form control is created.  This way we could save about 1M of memory, and 
loading at least 5 libraries - libfrm + dependencies, which is libdbtools, 
introspection.uno.so, reflection.uno.so, and libevtatt.

I will attach a patch that does it.  I admit, it is a bit hackish, so I hope 
it does not have any bad consequences ;-)  Either way, please have a look.

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to