sbergman at redhat.com
Thu Nov 5 06:02:57 PST 2015
On 11/05/2015 02:29 PM, İrem Şendur wrote:
> I 'm working on this bug
> I looked files under the extensions directory but I couldn't find where
> checking installation of extensions. I should add a dialog about
> installation extensions and user should restart LibreOffice.
> I asked this question on IRC and <@jmadero> suggested me that I might
> mail the LibreOffice mail list.
> Can anyone help me with finding the file or about what should I do ?
The code of the "Tools - Extension Manager..." dialog is in
desktop/source/deployment/gui/dp_gui_theextmgr.cxx (all the
extension-related functionality is in desktop/source/deployment/),
TheExtensionManager::installPackage is the starting point for installing
an extension from within that dialog.
However, what we probably want is something more elaborate than simply
urging the user to restart LO upon every extension installation (as well
as extension update, deinstallation, enabling, disabling?).
The referenced bug quotes some issues (missing menu update for already
open documents) that can probably be addressed without needing a
restart. There might be other issues that cannot be resolved without a
restart, but then we should only urge the user to restart LO if the
given extension really triggers that issue.
More information about the LibreOffice