mirror of
https://github.com/bitcoin-core/gui-qml.git
synced 2026-12-02 07:54:42 +00:00
Proxy settings: add advanced Qt proxy parity #594
Labels
No labels
Android
Bug
Build system
Design suggestion
Doc
Needs design review
Needs rebase
Stage
UX
Up for grabs
Upstream
Wallet
duplicate
enhancement
good first issue
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
bitcoin-core/gui-qml#594
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Code Gap
QML proxy settings use combined address fields and basic proxy/Tor enablement. Qt exposes deeper proxy UI behavior that QML does not currently match.
Work Needed
I’m working on a settings/onboarding QML branch that partially addresses this issue. This can be considered picked up for now; once the PR is ready, I’ll revisit whether it fully addresses this issue or whether follow-up work should remain tracked here.
There are two configuration-correctness cases to include in the proxy settings work. Both were reproduced on
qt6atd567e3eb2497, macOS / Qt 6.9.0, with the effective proxies checked throughgetnetworkinfoafter restarting.A per-network proxy cannot survive an off/on round trip.
proxy=127.0.0.1:9050=onionunder[regtest]inbitcoin.conf. Core correctly applies it only to onion.=onionand the page reports “Per-network proxy values are not supported in this field.”"proxy": false, which disables the configured proxy list.=onion.=onionto make the field acceptable, save, and restart. IPv4, IPv6, onion and CJDNS now use that proxy, broadening the original onion-only configuration.With multiple per-network
proxy=lines, the page displays only the first entry. A plain proxy value passes the off/on control.The displayed proxy can also disagree with the one Core actually uses. With
proxy=127.0.0.1:9050inbitcoin.conf, change the GUI field to127.0.0.2:9051, save, and restart. The page shows the new address as active, butgetnetworkinfostill reports127.0.0.1:9050.Core processes
-proxyas a list: the config entry is applied after the non-negated GUI entry. QML reads it as a single setting, so its displayed value and override indication can disagree with Core's effective configuration. Core's list handling explains the result; QML needs to represent and edit it consistently.The page should show the effective per-network configuration and preserve its scope when toggling it. Until it can edit these configurations correctly, showing them as read-only with an explanation would avoid saving a broader configuration or reporting an override that does not take effect.