Re: [dev] --enable-lockdown
Thorsten Behrens wrote: Mathias Bauer wrote: 2 The gconf backend provides data for configuration set member properties /org.openoffice.Setup/Office/Factories/com.sun.star.XXX.XXXDocument/ooSetupFactoryDefaultFilter, for XXX in Presentation, Spreadsheet, Text. Strictly speaking, this is problematic if some of those components are not installed (like an OOo installation where Impress has deliberately not been installed). The old configmgr implementation probably just ignores those items in such a case. I will need to see how to address that with the new configmgr implementation (see http://wiki.services.openoffice.org/wiki/Performance/Configuration#Platform_Backends for the way I intend to modify those platform backends). IIRC this relates to http://qa.openoffice.org/issues/show_bug.cgi?id=53781 So yes, looks like dead code. Hi Mathias, are you sure you're not referring to the wrong item? To me, issue 53781 looks like dealing with the DisableUICustomization part, not the factory default filters? Yes, sorry, I removed the wrong part of Stephan's mail. I wanted to quote the first part. Thanks for the correction, Mathias (who should better check his quotes next time) -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] --enable-lockdown
Stephan Bergmann wrote: 2 The gconf backend provides data for configuration set member properties /org.openoffice.Setup/Office/Factories/com.sun.star.XXX.XXXDocument/ooSetupFactoryDefaultFilter, for XXX in Presentation, Spreadsheet, Text. Strictly speaking, this is problematic if some of those components are not installed (like an OOo installation where Impress has deliberately not been installed). The old configmgr implementation probably just ignores those items in such a case. I will need to see how to address that with the new configmgr implementation (see http://wiki.services.openoffice.org/wiki/Performance/Configuration#Platform_Backends for the way I intend to modify those platform backends). IIRC this relates to http://qa.openoffice.org/issues/show_bug.cgi?id=53781 So yes, looks like dead code. Regards, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to nospamfor...@gmx.de. I use it for the OOo lists and only rarely read other mails sent to it. - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] --enable-lockdown
Mathias Bauer wrote: 2 The gconf backend provides data for configuration set member properties /org.openoffice.Setup/Office/Factories/com.sun.star.XXX.XXXDocument/ooSetupFactoryDefaultFilter, for XXX in Presentation, Spreadsheet, Text. Strictly speaking, this is problematic if some of those components are not installed (like an OOo installation where Impress has deliberately not been installed). The old configmgr implementation probably just ignores those items in such a case. I will need to see how to address that with the new configmgr implementation (see http://wiki.services.openoffice.org/wiki/Performance/Configuration#Platform_Backends for the way I intend to modify those platform backends). IIRC this relates to http://qa.openoffice.org/issues/show_bug.cgi?id=53781 So yes, looks like dead code. Hi Mathias, are you sure you're not referring to the wrong item? To me, issue 53781 looks like dealing with the DisableUICustomization part, not the factory default filters? Regarding that DisableUICustomization - well, if the disabling of the commands provides the same level of non-configurability, sure, let's get rid of it. Of course, as David pointed out, the general lockdown feature in the gconf backend is used out here. Cheers, -- Thorsten signature.asc Description: Digital signature
Re: [dev] --enable-lockdown
On Tue, Sep 29, 2009 at 04:29:21PM +0200, Stephan Bergmann wrote: OOo appears to have support for an --enable-lockdown configure switch. In the configmgr gconf backend, it enables pulling settings for various configuration items from gconf. Is this still relevant, or is this dead code? (I am asking because I re-work configmgr and related code, so would not mind not having to take care of this specific piece of code...) -Stephan Hello Stephan. Yes, the code is still relevant and working. We use it in Fedora, for example. David - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] --enable-lockdown
On 09/30/09 10:24, David Tardon wrote: On Tue, Sep 29, 2009 at 04:29:21PM +0200, Stephan Bergmann wrote: OOo appears to have support for an --enable-lockdown configure switch. In the configmgr gconf backend, it enables pulling settings for various configuration items from gconf. Is this still relevant, or is this dead code? (I am asking because I re-work configmgr and related code, so would not mind not having to take care of this specific piece of code...) -Stephan Hello Stephan. Yes, the code is still relevant and working. We use it in Fedora, for example. I see. There is two minor issues I have with it: 1 The gconf backend provides data for a non-existent configuration entry /org.openoffice.Office.Common/Misc/DisableUICustomization. The old configmgr implementation probably just ignores it. Can somebody confirm that this specific item is indeed dead code? 2 The gconf backend provides data for configuration set member properties /org.openoffice.Setup/Office/Factories/com.sun.star.XXX.XXXDocument/ooSetupFactoryDefaultFilter, for XXX in Presentation, Spreadsheet, Text. Strictly speaking, this is problematic if some of those components are not installed (like an OOo installation where Impress has deliberately not been installed). The old configmgr implementation probably just ignores those items in such a case. I will need to see how to address that with the new configmgr implementation (see http://wiki.services.openoffice.org/wiki/Performance/Configuration#Platform_Backends for the way I intend to modify those platform backends). -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] --enable-lockdown
Stephan Bergmann wrote: On 09/30/09 10:24, David Tardon wrote: On Tue, Sep 29, 2009 at 04:29:21PM +0200, Stephan Bergmann wrote: OOo appears to have support for an --enable-lockdown configure switch. In the configmgr gconf backend, it enables pulling settings for various configuration items from gconf. Is this still relevant, or is this dead code? (I am asking because I re-work configmgr and related code, so would not mind not having to take care of this specific piece of code...) -Stephan Hello Stephan. Yes, the code is still relevant and working. We use it in Fedora, for example. I see. There is two minor issues I have with it: Hi Stephan, 1 The gconf backend provides data for a non-existent configuration entry /org.openoffice.Office.Common/Misc/DisableUICustomization. The old configmgr implementation probably just ignores it. Can somebody confirm that this specific item is indeed dead code? As far as I know this configuration entry is not used by any framework code that I am aware of. OpenGrok also finds only one occurence in gconfbe within DEV300m60. There are other ways to accomplish the task and from my point of view this entry is dead code. I don't know who invented this entry and for what exact purpose. May be someone else can shed some light to this strange issue. 2 The gconf backend provides data for configuration set member properties /org.openoffice.Setup/Office/Factories/com.sun.star.XXX.XXXDocument/ooSetupFactoryDefaultFilter, for XXX in Presentation, Spreadsheet, Text. Strictly speaking, this is problematic if some of those components are not installed (like an OOo installation where Impress has deliberately not been installed). The old configmgr implementation probably just ignores those items in such a case. I will need to see how to address that with the new configmgr implementation (see http://wiki.services.openoffice.org/wiki/Performance/Configuration#Platform_Backends for the way I intend to modify those platform backends). -Stephan Regards, Carsten - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
Re: [dev] --enable-lockdown
On 09/30/09 11:52, Carsten Driesner wrote: Stephan Bergmann wrote: 1 The gconf backend provides data for a non-existent configuration entry /org.openoffice.Office.Common/Misc/DisableUICustomization. The old configmgr implementation probably just ignores it. Can somebody confirm that this specific item is indeed dead code? As far as I know this configuration entry is not used by any framework code that I am aware of. OpenGrok also finds only one occurence in gconfbe within DEV300m60. There are other ways to accomplish the task and from my point of view this entry is dead code. I don't know who invented this entry and for what exact purpose. May be someone else can shed some light to this strange issue. Thanks for the feedback. I will remove the DisableUICustomization stuff on CWS sb111. -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org
[dev] --enable-lockdown
OOo appears to have support for an --enable-lockdown configure switch. In the configmgr gconf backend, it enables pulling settings for various configuration items from gconf. Is this still relevant, or is this dead code? (I am asking because I re-work configmgr and related code, so would not mind not having to take care of this specific piece of code...) -Stephan - To unsubscribe, e-mail: dev-unsubscr...@openoffice.org For additional commands, e-mail: dev-h...@openoffice.org