Closed
Bug 41245
Opened 24 years ago
Closed 23 years ago
Cancel does not work in Accept langauge preference
Categories
(SeaMonkey :: Preferences, defect, P5)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.2
People
(Reporter: teruko, Assigned: jbetak)
References
()
Details
(Keywords: intl, Whiteboard: r=nhotta sr=alecf a=blizzard wait for check in)
Attachments
(4 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
When you add the Accept Languages in Preference dialog and changed the
order of the languages, the order is persist even thought you hit cancel button.
Steps of reproduce
1. Open the Preference dialog by selecting menu View|Preferences...
2. Click on Navigator ->Languages
3. Click on Add.. button to display "Add Languages" dialog
4. Select several languages,
For example, select Albanian [sq], Bulganian [bq], and Catalan [ca], then
click "OK"
Now the order of Accept Language is
English [en]
Albanian [sq]
Bulganian [bq]
Catalan [ca]
5. Select English [en] and use the down allow button to move one.
Now the order of Accept Language is
Albanian [sq]
English [en]
Bulganian [bq]
Catalan [ca]
6. Select Cancel button at the right bottom of the preference dialog.
7. Open the preference dialog agan
The order of Accept Language is
Albanian [sq]
English [en]
Bulganian [bq]
Catalan [ca]
The order of Accept Language should be back to
Albanian [sq]
English [en]
Bulganian [bq]
Catalan [ca]
Tested 2000-06-01-08 Mac, Linux, and Win32 build.
Assignee | ||
Comment 2•24 years ago
|
||
Ben, this is my bad - the wsm needs to be hooked up for this pref.
Comment 4•24 years ago
|
||
low priority item. Mark it as P5 and Future.
Reassign to nhotta.
Assignee: ftang → nhotta
Priority: P3 → P5
Target Milestone: --- → Future
Comment 5•24 years ago
|
||
Shanjian, could you take a look at this? Does this still happen?
Assignee: nhotta → shanjian
This still happens; I'm not sure I agree with the low priority, but you know
better :-)
Forgot to mention, I used Netscape 6 RTM, Windows NT US to reproduce the bug
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 9•24 years ago
|
||
I'd suggest closing this bug. It seems that the windows state manager (wsm),
which caches the user preference settings until "OK" is clicked in the
preference window does not work with the list widget. This is confirmed by
other preference dialogs using the list widget:
Preference window->Navigator->Helper Applications
Preference window->Instant Messenger->Away
Alternatively, I could follow up with the UI group and file a bug requiring a
change to the wsm.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 10•24 years ago
|
||
reopening, marking dependency on 42893. It looks like the proposed solution in
42893 can easily accommodate this bug also.
Assignee | ||
Comment 11•24 years ago
|
||
marking 0.9.1, accepting
Status: REOPENED → ASSIGNED
Target Milestone: Future → mozilla0.9.1
Assignee | ||
Comment 12•24 years ago
|
||
oops - correcting incorrect dependency
Assignee | ||
Comment 13•24 years ago
|
||
Comment 14•24 years ago
|
||
Is the patch ready?
If so, please put into the status whiteboard
Have you ask anyone to review. If so, please put the name (reviewer) and time
(when do you ask review) here.
Assignee | ||
Comment 16•24 years ago
|
||
Comment 17•24 years ago
|
||
hrm.. I could have sworn there was a way to do this without registering an ok
callback function - isn't there a way to initialize a page in the onload
handler, and save is again in the unload handler?
Assignee | ||
Comment 18•24 years ago
|
||
alecf,
are you referring to GetFields() or SetFields()? As far as I know, they do not
provide a mechanism for that. I might be able to avoid using the call-back
handler by a more artful caching of the pref value. I might trick the wsm to do
it for me, but it seems kinda hacky...
Are call-back handlers out of favor?
Assignee | ||
Comment 19•23 years ago
|
||
Assignee | ||
Comment 20•23 years ago
|
||
alecf:
would you risk another look? I replaced the OK callback function with a
slightly hacky exploit of the wsm/prefwindow caching mechanism; there is a new
attribute called prefvalue on the active_languages tree. The actual widget
content mapping is still done manually.
Comment 21•23 years ago
|
||
r=nhotta
Assignee | ||
Comment 22•23 years ago
|
||
Comment 23•23 years ago
|
||
quite a reasonable solution
sr=alecf
Assignee | ||
Updated•23 years ago
|
Whiteboard: r=nhotta sr=alecf need a=
Assignee | ||
Comment 24•23 years ago
|
||
adding blizzard for a=
Comment 25•23 years ago
|
||
a=blizzard on behalf of drivers for the trunk
Updated•23 years ago
|
Whiteboard: r=nhotta sr=alecf need a= → r=nhotta sr=alecf a=blizzard wait for check in
Assignee | ||
Comment 26•23 years ago
|
||
closing after mere 369 days - thanks everyone!
Status: ASSIGNED → RESOLVED
Closed: 24 years ago → 23 years ago
Resolution: --- → FIXED
Updated•23 years ago
|
URL: vrfy on trunk → trunk only
Comment 28•23 years ago
|
||
vrfy fixed using comm trunk bits: 2001.06.07.08 [linux and mac], 2001.06.07.09
[winnt].
how i tested this:
1. after adding languages, i clicked Cancel. reopened the prefs, and the added
langs were not there --expected.
2. after adding languages, i clicked OK. reopened the prefs, and the added langs
were there --expected.
3. after (2), i changed the order of the languages [moved English below
Albanian], then clicked Cancel. reopened the prefs, and saw that the order of
langs was unchanged --expected.
Status: RESOLVED → VERIFIED
Summary: Cancel does not work in Accept languge preference → Cancel does not work in Accept langauge preference
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•