On 23/03/2020 21:07, julien2412 wrote:
I'm giving a try to tdf#46014 (LibreOffice cannot connect to the internet via a proxy that requires authentification). First I thought about reducing the use of m_xConfigurationUpdateAccess. For this, I'd like to use "officecfg::...". The problem is, I'm not sure if I should use it to replace in SvxProxyTabPage::ReadConfigData_Impl which uses: Reference< container::XNameAccess > xNameAccess(m_xConfigurationUpdateAccess, UNO_QUERY_THROW); (see https://opengrok.libreoffice.org/xref/core/cui/source/options/optinet2.cxx?r=ed1ece19#192) or SvxProxyTabPage::ReadConfigDefaults_Impl which uses: Reference< beans::XPropertyState > xPropertyState(m_xConfigurationUpdateAccess, UNO_QUERY_THROW); (see https://opengrok.libreoffice.org/xref/core/cui/source/options/optinet2.cxx?r=ed1ece19#251) I think only one is concerned. If I remember well officecfg::... uses ./user/registrymodifications.xcu I must recognize that reading: - https://opengrok.libreoffice.org/xref/core/udkapi/com/sun/star/container/XNameAccess.idl?r=3bf4af8d - https://opengrok.libreoffice.org/xref/core/udkapi/com/sun/star/beans/XPropertyState.idl?r=3bf4af8d didn't help me to find the one which would correspond. Any thoughts here?
I fail to understand your questions, and how different ways of accessing the configuration should be related to the core issue of <https://bugs.documentfoundation.org/show_bug.cgi?id=46014> "LibreOffice cannot connect to the internet via a proxy that requires authentification". (Do note <https://bugs.documentfoundation.org/show_bug.cgi?id=46014#c14>, though:
(In reply to Hans Deragon from comment #7)Oddly, I cannot try "system" setting. When I select "system" and click "ok", as soon as I return to the proxy dialog bug, the "manual" setting shows up. LO refuses to go back to "system" setting. No message shows up.that is bug 33697
i.e., <https://bugs.documentfoundation.org/show_bug.cgi?id=33697> "Unable to choose proxy type 'system'".)