gui: fix non-sticking proxy setting #3005

pull theuni wants to merge 1 commits into bitcoin:master from theuni:qt-fix-proxy changing 1 files +1 −1
  1. theuni commented at 1:00 AM on September 17, 2013: member

    Addresses the last (I believe) work-item in #2371.

    I'm unsure of the correct fix here, but I hope this can at least get some discussion going. This change at least fixes the problem on the surface. Here's the summary as I see it:

    There's a mix of current-proxy-setting and saved-proxy-setting logic. Assuming the proxy is currently enabled: User unchecks the proxy checkbox, hits apply, the dialog checks to see what the new proxy setting should be, GetProxy() returns true because it's currently enabled, check remains in the checkbox, user is confused.

    Logically (to me) it makes sense to be checking the setting rather than the current runtime values, as the setting should reflect what user sees on next restart. But there are plenty of other GetProxy()/SetProxy() calls, so I'm inclined not to trust that line of reasoning.

  2. gui: fix non-sticking proxy setting b07659bf46
  3. theuni commented at 1:08 AM on September 17, 2013: member

    Summary fail. This attempts to fix an issue in bitcoin-qt where checking or unchecking the "Connect through SOCKS proxy" box does not work as expected. It's easily reproduced by enabling/disabling and clicking 'apply'.

  4. BitcoinPullTester commented at 1:35 AM on September 17, 2013: none

    Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/b07659bf46deb7e81428aea64ac600975a6360ed for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.

  5. Diapolo commented at 5:57 AM on September 17, 2013: none

    That whole proxy stuff in current Bitcoin-Qt settings is IMHO a mess, because we try to change it on the fly, which doesn't even work for bitcoind, you may want to take a lookt at #2612.

  6. laanwj commented at 12:11 PM on January 10, 2014: member

    Fixed by #3347

  7. laanwj closed this on Jan 10, 2014

  8. DrahtBot locked this on Sep 8, 2021

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-18 15:16 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me