Closed Bug 321807 Opened 19 years ago Closed 12 years ago

"Use this proxy server for all protocols" problem when change is canceled

Categories

(Firefox :: Settings UI, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: alfred.peng, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8) Gecko/20051226 Firefox/1.5 Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.8) Gecko/20051226 Firefox/1.5 I found two problems in the "connection settings" window. Steps to Reproduce for #1: 1. Edit->preferences->connection settings 2. Input proxy server info into the "HTTP Proxy" 3. Check the checkbox of "Use this proxy server for all protocols" Actual Results: All the proxies below including "SOCKS Host" changes accordingly. Expected Results: The "SOCKS Host" info doesn't change. Steps to Reproduce for #2: Reproducible: Always Steps to Reproduce: 1. Edit->preferences->connection settings 2. Uncheck the checkbox of "Use this proxy server for all protocols" 3. Input proxy server info into the "HTTP Proxy", "SSL Proxy", "FTP Proxy" and Click OK 4. Click "connection settings" again, check the checkbox of "Use this proxy server for all protocols" and click OK 5. Click "connection settings" again, uncheck the checkbox of "Use this proxy server for all protocols" and click Cancel 6. Click "connection settings" one more time, uncheck the checkbox of "Use this proxy server for all protocols" Actual Results: The proxy servers info user inputs disappears. Expected Results: The proxy servers info user inputs can still be shown correctly in the corresponding textbox.
Attached patch Patch for trunk (obsolete) — Splinter Review
The backup preference info shouldn't be reset when user uncheck the checkbox of "Use this proxy server for all protocols". The value should be changed when user click the OK button. For the "readProxyProtocolPref" function, remove the useless part, return undefined instead.
Attachment #207078 - Flags: review?(mconnor)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch patchSplinter Review
Fixes the backup pref to not get reset on window close, and actually persists. Also makes sure we don't copy socks from http, and does less weirdness/looping on changing the pref when the checkbox is ticked. There's a small hack (commented) because of how onsynctopreference works, since onchange on <preference/> elements seems to fire twice, which I'll look at later.
Assignee: nobody → mconnor
Attachment #207078 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #207078 - Flags: review?(mconnor)
Mike, any plan on this bug?
fwiw: this bug exists for both Firefox and Thunderbird
Mike: I think this was fixed at some point, because I looked at FF3.0.1, and it doesn't happen. If you unselect the "all protocols" checkbox, and cancel, it seems to operate correctly (and not change the prefs block).
Summary: Functional error in "connection settings"->"Use this proxy server for all protocols" → "Use this proxy server for all protocols" problem when change is canceled
I don't think this is fixed. If I understand the second problem correctly it's been reported in bug 446536 and bug 451132. I am able to reproduce as reported in those bugs but I'm not sure if they're the same as this one.
Assignee: mconnor → nobody
This is WFM using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10.
This is a mass change. Every comment has "assigned-to-new" in it. I didn't look through the bugs, so I'm sorry if I change a bug which shouldn't be changed. But I guess these bugs are just bugs that were once assigned and people forgot to change the Status back when unassigning.
Status: ASSIGNED → NEW
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: