Closed Bug 834039 Opened 13 years ago Closed 29 days ago

"Use system proxy settings" doesn't work in KDE

Categories

(Core :: Networking: Proxy, defect, P3)

18 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1814356

People

(Reporter: bugzilla, Unassigned)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [necko-would-take][proxy])

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:18.0) Gecko/20100101 Firefox/18.0 Build ID: 20130117041608 Steps to reproduce: Attempted to make Firefox use KDE system proxy settings. Preferences > Advanced > Network > Settings > Use system proxy settings Actual results: Web pages would not load. Expected results: KDE system proxy settings should have been applied and web pages loaded. System proxy settings were correct, since Konqueror works fine. If I manually apply the proxy settings to Firefox, this also works.
N.B. a bug already exists that claims that a restart of Firefox is sufficient and necessary to utilise proxy settings, but restart does nothing for me. https://bugzilla.mozilla.org/show_bug.cgi?id=632655
What are your system details ? Is gconf installed on your system ?
Blocks: 140751
Component: Untriaged → Networking
Product: Firefox → Core
KDE 4.9.4 Ubuntu 12.10 Firefox 18.0.1 As for gconf, I've got gconftool and gconftool-2, so I think it must be installed.
>As for gconf, I've got gconftool and gconftool-2, so I think it must be installed. I think in that case the gconf settings are used
Oh ok! That's surprising, and not what I'd expect it to refer to for "system" proxy settings for KDE.
Whiteboard: [necko-backlog]
Whiteboard: [necko-backlog] → [necko-would-take]
Whiteboard: [necko-would-take] → [necko-would-take][proxy]
Priority: -- → P5

i suspect it's a proxy with authentication
if it's not too late can you confirm this point

IMHO this bug is similar to : https://bugzilla.mozilla.org/show_bug.cgi?id=1582359

Severity: normal → S3

Moving bug to Core/Networking: Proxy.

Component: Networking → Networking: Proxy

Firefox doesn't respect KDE Plasma's system proxy, which is written in ~/.config/kioslaverc. Therefore, having dconf/gsettings will not make system proxy work on KDE Plasma.

There are basically 2 approaches to solve the problem, one is making libproxy default, which was discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=517655

Another solution is to implement it on Firefox's own, at https://github.com/mozilla-firefox/firefox/tree/main/toolkit/system/unixproxy

The proxy config can be read by kreadconfig6, for example kreadconfig6 --file ~/.config/kioslaverc --group "Proxy Settings" --key socksProxy reads socks proxy. The config can also be written by kwriteconfig6, with a similar pattern.

We may also want to listen on the changes of kioslaverc when we use system proxy. FYI, Chromium uses <sys/inotify> to listen the changes of it. https://chromium.googlesource.com/chromium/src.git/+/refs/heads/main/net/proxy_resolution/proxy_config_service_linux.cc

I don't have the skill to solve the problem, but I hope it would help anyone who's going to solve it.

Flags: needinfo?(stransky)
Priority: P5 → P3

It looks like a duplicate for 1814356

Status: UNCONFIRMED → RESOLVED
Closed: 29 days ago
Duplicate of bug: 1814356
Flags: needinfo?(stransky)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.