GNOME Bugzilla – Bug 648237
proxy settings have unused keys
Last modified: 2017-06-06 08:55:12 UTC
Two of the keys in org.gnome.system.proxy are never set by gnome-control-center, or read by glib-networking: - "use-same-proxy". Regardless of the setting of this key, the behavior is: - If mode is auto, then the automatic proxy URL is used to look up proxies for all protocols - If a manual https or ftp proxy is configured, it is used for https/ftp - If a manual http proxy is configured, it is used for http, and also for https if no https proxy is configured - If a manual SOCKS proxy is configured, it is used for all protocols, except where that would conflict with the above. - "http/enabled". This is redundant/asymmetric; none of the other child schemas have their own enabled flag, and are simply enabled/ disabled automatically based on whether or not the host field is non-empty and the port is non-0, so http should work the same way as well. Of course, simply removing these from the schema would cause crashes in any apps that were mistakenly reading them. I guess the fix is to change the doc strings to mark them as deprecated, but that would be post-branch because of string freeze.
Created attachment 189322 [details] [review] proxy: update documentation In particular, note that /system/proxy/use-same-proxy and /system/proxy/http/enabled are not actually used.
<schema id="org.gnome.system.proxy.http" path="/system/proxy/http/"> <key name="enabled" type="b"> <default>false</default> IMHO should also change the default to true, here.
*** Bug 657515 has been marked as a duplicate of this bug. ***
(In reply to comment #2) > <schema id="org.gnome.system.proxy.http" path="/system/proxy/http/"> > <key name="enabled" type="b"> > <default>false</default> > > IMHO should also change the default to true, here. I don't think that's any better; any code that is looking at this key is just wrong. Changing the default would just mean that some apps might insist on always using a proxy even when they shouldn't, rather than never using a proxy even when they should.
Attachment 189322 [details] pushed as 6cfbb00 - proxy: update documentation
Hi I don't know if this is really the right place to post as a user, but using gnome Network / Network proxy applet, When I set for instance HTTPS proxy to 'http://proxy', the exported proxy in the terminal is 'http://http://proxy:8080/ '.