Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 364069

Summary: LibreOffice macro security not functioning
Product: Gentoo Linux Reporter: onyx
Component: Current packagesAssignee: Gentoo Office Team <office>
Status: RESOLVED DUPLICATE    
Severity: normal CC: alexanderyt, onyx
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://bugs.sabayon.org/show_bug.cgi?id=2308#c7
Whiteboard:
Package list:
Runtime testing required: ---

Description onyx 2011-04-18 20:05:24 UTC
~Cross-post from Sabayon bug track~

Macro security is unable to be changed (tools->options->security->macro
security). Button fails to activate.

This means that for documents that have macros in them, we are unable to use
them!

There used to be a fix for Openoffice that involved editing the Common.xcu
file.
http://forums.gentoo.org/viewtopic-t-598196.html?sid=7cece0ccbd0b5f1f59055d2d6f85b636
That no longer exists in LibreOffice.

LibreOffice maintainers advise distribution maintainers: compile without
--disable-mozilla


Reproducible: Always

Steps to Reproduce:
1.Open LibreOffice
2.Click tools > options > security > macro security
3. Does the Macro Security dialog box open?
Actual Results:  
Dialog box fails

Expected Results:  
Dialog box opens, enabling user to adjust macro security for this session or permanently

I am not running Gentoo directly, but rather Sabayon. I have helped Jancici, who runs Gentoo, to get their Gentoo fixed. http://forums.gentoo.org/viewtopic.php?p=6656741#6656741

The issue is not upstream, nor other distros.
Comment 1 onyx 2011-04-18 20:10:30 UTC
Sabayon bug tracker: http://bugs.sabayon.org/show_bug.cgi?id=2308#c0 in case it is relevant.
Comment 2 Eugeny Shkrigunov 2011-06-21 05:38:34 UTC
Try to rebuild app-office/libreoffice with USE flag nsplugin. There is old bug (since OpenOffice).
Comment 3 Andreas Proschofsky (RETIRED) gentoo-dev 2011-06-21 06:06:31 UTC
(In reply to comment #2)
> Try to rebuild app-office/libreoffice with USE flag nsplugin. There is old bug
> (since OpenOffice).

If I call it correctly: This is hard to call a "bug". It's simply that OOo / LibreOffice uses mozilla components.
Comment 4 Eugeny Shkrigunov 2011-06-21 17:48:35 UTC
(In reply to comment #3)
> If I call it correctly: This is hard to call a "bug". It's simply that OOo /
> LibreOffice uses mozilla components.

I don't know.
There is another (resolved) bug report: http://bugs.gentoo.org/show_bug.cgi?id=244917
Comment 5 Andreas Proschofsky (RETIRED) gentoo-dev 2011-07-06 22:18:38 UTC
As explained above LibreOffice needs the nsplugin use flag set for working macro security as this depends on Mozilla libs. I agree this is not optimal, but there is really nothing we can do here, please file a bug upstream if you want to further discuss this. 

https://bugs.freedesktop.org/

*** This bug has been marked as a duplicate of bug 244917 ***
Comment 6 sphakka 2011-12-01 14:21:27 UTC
Hi there,

(In reply to comment #5)
> As explained above LibreOffice needs the nsplugin use flag set for working
> macro security as this depends on Mozilla libs. 

Err... how to do that with *libreoffice-bin*? There's no 'nsplugin' use flag for that, indeed. Maybe enabling it globally?

^s
Comment 7 Tomáš Chvátal (RETIRED) gentoo-dev 2011-12-01 14:45:21 UTC
(In reply to comment #6)
> Hi there,
> 
> (In reply to comment #5)
> > As explained above LibreOffice needs the nsplugin use flag set for working
> > macro security as this depends on Mozilla libs. 
> 
> Err... how to do that with *libreoffice-bin*? There's no 'nsplugin' use flag
> for that, indeed. Maybe enabling it globally?
> 
> ^s

In lo-bin nsplugin is enabled by default.
Also this bug is fully fixed in 3.5 series so if it is not working just wait till then. (also please do not post to duplicated bugs that are already closed but rather open new ones.