Bug 83554 - 64bit LO for Mac requires restart to activate extension
Summary: 64bit LO for Mac requires restart to activate extension
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Extensions (show other bugs)
Version:
(earliest affected)
4.3.0.4 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-06 08:00 UTC by SMoshagen
Modified: 2014-12-27 07:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description SMoshagen 2014-09-06 08:00:34 UTC
Using a 32bit LibreOffice on MacOSX, newly installed extensions are activated immediately. As far as I can tell, this has always been the case.

But the 64 bit versions for Mac (4.2 and 4.3) behave differently. After installing an extension, one needs to quit LO and start again before the extension is activated and made available for use. This is a regression.

I have tested this with both C++-based extensions (e.g. the LO-voikko 4.0 extensions available on http://divvun.no/libreofficeoxt.html) and with the toy Hunspell extensions in bug https://bugs.freedesktop.org/show_bug.cgi?id=83376. I also built the example code complextoolbarcontrols on http://api.libreoffice.org/examples/examples.html#Cpp_examples, and it behaved the same.

To repeat:

1) download or build any of the mentioned oxt's above
2) install in 64-bit LO for Mac (4.2 or 4.3)
3) observe that the oxt is useless
4) restart LO and observe that the oxt can now be used
5) Redo 1) and 2) with a 32-bit LO (e.g. 32-bit versions of 4.2 or 4.3, or using older, 32-bit only LO versions)
6) observe that the oxt is immediately available for use - no restart of LO required
Comment 1 retired 2014-12-26 17:15:19 UTC
Tried to reproduce:

1. download http://divvun.no/static_files/oxts/fi_LO-voikko-4.0-mac.oxt
2. open LO Version: 4.4.0.1
Build ID: 1ba9640ddd424f1f535c75bf2b86703770b8cf6f
Locale: de_
3. open extension manager
4. Add and select the downloaded file
5. install for all users

all good. how do I "observe that the oxt is useless"? Not sure what it does, you don't mention anything. But I can open it's options and don't see any need for a restart.

Setting to NEEDINFO until we have detailed info on how to check extension availability.

OSX 10.10.1 here.
Comment 2 retired 2014-12-26 17:57:16 UTC
More testing: installed http://extensions.libreoffice.org/extension-center/calendar-for-calc/releases/4.0.1

That showed in Tools > Addons as "Calendar" right after installation. A restart didn't change anything.

I think this is WORKSFORME in 4.4.0.1.

Please re-open if you disagree or I missed something.
Comment 3 SMoshagen 2014-12-27 07:36:23 UTC
(In reply to foss from comment #2)
> More testing: installed
> http://extensions.libreoffice.org/extension-center/calendar-for-calc/
> releases/4.0.1
> 
> That showed in Tools > Addons as "Calendar" right after installation. A
> restart didn't change anything.
> 
> I think this is WORKSFORME in 4.4.0.1.

I just retested with the 4.4.0.1 version of LO, and the problem is solved. It does not exhibit the behavior seen in LibreOffice 4.2 and 4.3. I changed the resolution from WORKSFORME to FIXED.
Comment 4 Jean-Baptiste Faure 2014-12-27 07:48:40 UTC
(In reply to SMoshagen from comment #3)
> [...]
> I just retested with the 4.4.0.1 version of LO, and the problem is solved.
> It does not exhibit the behavior seen in LibreOffice 4.2 and 4.3. I changed
> the resolution from WORKSFORME to FIXED.

Thank you for your tests, but FIXED is used when we know what commit fixed the bug. Otherwise the right status is WorksForMe.

Best regards. JBF