[ooo-build] How can I use quickstart tool without libvclplug_gtkli.so?

Xuedong Guo xuedong.guo at gmail.com
Fri Mar 19 00:27:34 PDT 2010


Yes, the libqstart_gtklx.so provides the Quickstarter functionality.
Actually I found the Class ShutdownIcon defined in
sfx2/source/appl/shutdownicon.cxx
implements this functionality, which keeps OOo running on background, and
monitors whether an interactive OOo session is opening.
And in sfx2/source/appl/shutdowniconunx.cxx initialize the Quickstarter
systray tool:

void SAL_DLLPUBLIC_EXPORT plugin_init_sys_tray(){
    //Singleton
    ShutdownIcon *pShutdownIcon = ShutdownIcon::getInstance();
    //some gtk codes, relating with libvclplug_gtklx.so
    ......

    // disable shutdown
    pShutdownIcon->SetVeto( true );
    pShutdownIcon->addTerminateListener();
}

If remove libvclplug_gtklx.so and comment these gtk codes, I can get
quickstart functionality but without systray tool. It is actually faster
when start OOo the second time.
I try to start OOo with these gtk codes but some functions such as
gtk_menu_new( ), gtk_tooltips_new( ),gtk_tooltips_set_tip( ) raise
assertions like,

(process:11041): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(process:11041): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion
`G_TYPE_CHECK_INSTANCE (instance)' failed

It is strange that these gtk functions need libvclplug_gtklx.so. Maybe a KDE
version of Quickstarter alse need a libvclplug_kdelx.so...

I tried oooqs2 but it didn't work...



2010/3/17 Petr Mladek <pmladek at suse.cz>

> On Wednesday 17 March 2010, Tor Lillqvist wrote:
> > > I have got a problem with quickstart tool. I'd like to use this applet
> > > without gtk-vclplug on the whole office. [...] What should I do to
> > > extract this applet?
> >
> > I don't know why you think the quickstarter would be some kind of
> "applet".
> > It is not. As far as I know, the whole point of the Quickstarter is to
> just
> > keep OpenOffice.org running but without a UI, and thus map in many of the
> > shared libraries that OpenOffice.org needs so that then opening an
> > interactive OpenOffice.org session happens faster.
>
> Yes, I think that the Quickstarter functionality is included in the OOo
> module
> /opt/openoffice.org3/basis-link/program/libqstart_gtklx.so. It uses GNOME
> code.
>
> It would be nice create a KDE variant and we are still looking for a
> volunteer. Would you like to help with this?
>
> Well, there exists a standalone applet for KDE but I am not sure how it
> works.
> You might find it at
> http://segfaultskde.berlios.de/index.php?content=oooqs2.
> I have played with the older version for OOo-1.1.x many years ago and it
> had
> many troubles. I think that a QT port of the libqstart_*.so would be a
> better
> solution if anyone implements it.
>
> Otherwise tor is correct, the main purpose of the module/applet is too keep
> OOo running on background. The side effect is that it creates an icon and
> menu in the systray.
>
> --
> Best Regards,
>
> Petr Mladek
> software developer
> ---------------------------------------------------------------------
> SUSE LINUX, s. r. o.                        e-mail: pmladek at suse.cz
> Lihovarská 1060/12                          tel: +420 284 028 952
> 190 00 Prague 9                             fax: +420 284 028 951
> Czech Republic                              http://www.suse.cz/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/ooo-build/attachments/20100319/8583897d/attachment.html>


More information about the ooo-build mailing list