To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=60696
                  Issue #:|60696
                  Summary:|Linux: quick 2nd start
                Component:|framework
                  Version:|680m149
                 Platform:|All
                      URL:|
               OS/Version:|All
                   Status:|NEW
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|PATCH
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tm
              Reported by:|mmeeks





------- Additional comments from [EMAIL PROTECTED] Tue Jan 17 03:59:23 -0800 
2006 -------
So - the attached patch is a tad of a hack - clearly advice wrt. re-factoring
much appreciated. The main part of the hack is 2-fold:

a) using a far simple mangling than md5 for the pipe hash (so this can be
replicated easily & with few dependencies outside OO.o)

b) writing startup progress information to a pipe using fprintf - c'est la vie.

Improvements appreciated.

It's behavior is obvious - and follows from the win32 work in this area. It
gives a very substantial 2nd startup time win - and also shows the splash way
earlier than an equivalent stock OO.o launch.

To make it work - it's necssary to have a number of wrappers eg.

'oowriter':

#!/bin/sh
export OOO_EXTRA_ARG=-writer
/usr/lib/ooo-2.0/program/ooqstart

for each component (at least - that's how we use it).

We use the Gtk+ toolkit to throw up the splash - however, it's not initialized
before the pipe-work is done; so it has no performance impact really.

The use of gtk+ has 2 nice properties:

a) Startup-notification - getting this right is mandatory, gtk+ includes code to
do that - avoiding that being re-written.

b) Splash dithering - on 16bit displays a detailed/gradient splash looks
shockingly bad when rendered by the OO.o code - since there is no dithering,
gtk+ has code to do that rather nicely - (at least in theory) - possibly we need
to do work here to use DITHER_MAX - but, 

Anyhow - patch attached.

---------------------------------------------------------------------
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