tdf#126728: About FTP proxy settings on KDE5

julien2412 serval2412 at yahoo.fr
Wed Aug 7 13:28:37 UTC 2019


Hello,

Taking a look at https://bugs.documentfoundation.org/show_bug.cgi?id=126728 
"LibreOffice slow start due to FTP access failure (kde5 only)", I noticed
these lines:
109              case KProtocolManager::EnvVarProxy: // Proxy values set
through environment variables
110                  // In such cases, the proxy address is not stored in
KDE, but determined dynamically.
111                  // The proxy address may depend on the requested
address, on the time of the day, on the speed of the wind...
112                  // The best we can do here is to ask the current value
for a given address.
113                  aFTPProxy = KProtocolManager::proxyForUrl(
114                      QUrl(QStringLiteral("ftp://ftp.libreoffice.org")));
115                  break;
116              default: // No proxy is used
117                  break;
118          }
...
and almost the same block around line 140

See
https://opengrok.libreoffice.org/xref/core/shell/source/backends/kf5be/kf5access.cxx?r=d3c6ac6d#114

The problem is "ftp://ftp.libreoffice.org" doesn't exist, so :
1) url proxy for FTP won't be retrieved
2) it slows down (depending on timeout value) the LO startup (at least for
those who use KDE5/Plasma)

Any thoughts? (What ftp address to put?)

Julien



--
Sent from: http://document-foundation-mail-archive.969070.n3.nabble.com/Dev-f1639786.html


More information about the LibreOffice mailing list