Date: prev next · Thread: first prev next last
2010 Archives by date, by thread · List index


There is something of a mess going on at the moment I think.

a)

If you look at desktop/source/app/app.cxx see
DoRestartActionsIfNecessary

If there is no ~/.libreoffice dir, then on first start we register the
extensions, this triggers a restart of the app.

Simply because there is no explict -noquickstart then the quickstarter
is launched. Once the quickstarter is launched it will reappear on every
login because there we're passing "true, true" to the quickstarter, i.e.
"start now", "always start next time"

Now, disable the quickstarter, shutdown LO and

rm -rf ~/.libreoffice/3/user/extensions/bundled to emulate adding a new
bundled extension.

and launch LO again, the quickstarter should reappear, i.e. even though
it was disabled I believe adding a new extension to LO and being forced
to restart LO will reenable it.

b) If you launch LO, enable the quickstarter and it appears in the
systray. Now exit the quickstarter and exit LO, restart LO, and no entry
in the systray. Logout, login, and ta-da its back.

So, I reckon that:

1) DeRestartActionsIfNecessary at a minimum should only *show* the
quickstarter, not set it to restart next time. i.e. single argument
"true" case, not "true, true". Which is what InitializeQuickStartMode
does.
2) DeRestartActionsIfNecessary is actually bogus, and its an attempt to
fix (b) for the specific restart-after-updated-extensions case, but
doesn't address the normal case. And even with 1 will display the
quickstarter applet regardless of your settings if you happen to add a
new extension.
3) We should probably instead modify InitializeQuickStartMode to
effectively || Sfx::ShutdownIcon::GetAutostart() with the IsQuickStart
command line argument so that "b" gets fixed.

If we were to do all through, the first thing people would notice is
that the quickstart applet/systray would appear to change from defaulted
on to defaulted off. So on a fresh install, do we want the systray
quickstarter to be enabled or disabled by default ?

C.


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.