Closed
Bug 109997
Opened 23 years ago
Closed 23 years ago
<wizard/> doesn't display (default or manual) radio selection on first launch
Categories
(Core :: XUL, defect, P2)
Tracking
()
VERIFIED
FIXED
mozilla0.9.9
People
(Reporter: racham, Assigned: racham)
References
Details
Attachments
(2 files, 3 obsolete files)
78.85 KB,
image/jpeg
|
Details | |
3.55 KB,
patch
|
hewitt
:
review+
racham
:
superreview+
asa
:
approval+
|
Details | Diff | Splinter Review |
When the first page contains a set of choices represented as radiogroup, on the
first launch, <wizard/> is failing to display the selection made either
programatically via javascript or manually via user clicks.
Here is something I noticed. Even though none of the radio buttons are selected,
I can proceed clicking next, it picks up the default (ex: mail account setup).
Also, I can manullay click on other radio choice and proceed next and the
selection is honored (ex: news account setup). Paint problem ?
If I close the wizard and relaunch, then everything works fine.
Updated•23 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
*** Bug 123884 has been marked as a duplicate of this bug. ***
Data from bug 123884 which detailed steps to reproduce :
--begin
Trunk build 2002-02-06-03: WinMe
Trunk build 2002-02-06-09: Linux RH 7.1
Trunk build 2002-02-06-08: Mac 10.1
Overview: Open the Account Wizard and no radio button appears selected.
Steps to reproduce:
1. Select Edit|Mail & Newsgroups Account Settings
2. Select the Add Account button
Actual Results:
- No radio button is auto selected
Workaround: Cancel out of the Account Wizard, reopen the Account Wizard and now
the Email Account radio button is selected.
Expected Results: The Email Account radio button should be selected by default
when the Account Wizard opens.
------- Additional Comment #1 From Ninoschka Baca 2002-02-06 11:06 -------
Marking nsbeta1 because this is not a good first experience
Additional Information:
Actual Results:
- Acct Wiz 1st dialog: Progressing through the Account Wizard by selecting Next
and Back doesn't effect the Email Account radio button, it's still does not
appear selected with the black dot in the radio button. Only workaround is to
exit Account Wiz and open it again.
- Acct Wiz 2nd dialog, Server dialog: Interesting that the Server dialog's radio
buttons are performing as expected.
--end
Keywords: mailtrack
Updated•23 years ago
|
Target Milestone: mozilla0.9.9 → mozilla1.0
*** Bug 124572 has been marked as a duplicate of this bug. ***
*** Bug 125222 has been marked as a duplicate of this bug. ***
*** Bug 125262 has been marked as a duplicate of this bug. ***
*** Bug 126696 has been marked as a duplicate of this bug. ***
Comment 9•23 years ago
|
||
Comment 10•23 years ago
|
||
reassigning to racham since the fix is all in account wizard
Assignee: hewitt → racham
Status: ASSIGNED → NEW
Comment 12•23 years ago
|
||
I cannot beleive this bug has been futured to moz 1.0,
Who in Gods name would use a mail client if we cant even get the radio buttons
to paint correctly? This is stuff we need to pay attention to. I know if im a
normal user and go to setup mail/news and the button doesnt get painted im just
going to assume that the client is unusable. This needs to be brought back to
0.9.9 so that we can stop getting bad reviews because we let stuff like this
fall through the cracks.
-dcran-
Comment 13•23 years ago
|
||
*** Bug 128637 has been marked as a duplicate of this bug. ***
Comment 14•23 years ago
|
||
BTW, it worked for me with yesterdays branch build (March 3rd 2002), but it
still does not with the trunk build.
Comment 15•23 years ago
|
||
Carsten,
Was this a new profile or a previous profile? I have only tested it with a new
profile, which if anyone installs mozilla for the first time, they WILL see this
bug. Which is why we need to move this to 0.9.9 rather than 1.0 nsbeta1+.
Comment 16•23 years ago
|
||
AFAIK it was a new Profile, because, I never completed to set up the profile to
see if this problem is solved. So everytime when I go Tasks->Adressbook for
example the wizard pops up. I hit always cancel, and with the trunk build the
radio button was *NOT* there, but with the branch build the radio button appeared.
Will build again tomorrow, can tell you if it's still the same then.
Assignee | ||
Comment 17•23 years ago
|
||
Patch in there allows the first radio button to have 'selected' look. But the
problem comes when user clicks on the next/other radio item (please see the
snapshot). Along the rectangular box, we also need to change 'dot' selection to
not to confuse users. Radiogroup bindings/stlyes seem to be broken when we use
selected attribute on one of it's elements.
Comment 18•23 years ago
|
||
Donnie I think Racham got it exactly as I got it. However I have not checked to
select the other radio button what seems to be still the problem in this bug.
Comment 19•23 years ago
|
||
racham,
Since we know this is a big problem especially since it basically destroys the
use of mail/news setup for new unfamiliar users can we get a nomination for 0.9.9?
Syd seems to concur with this idea. Thanks
-dcran-
Assignee | ||
Comment 20•23 years ago
|
||
Needed to remove the initialization code, which once was introduced to make
default selection of the radio item, in order to allow the radiogroup element
to respond to user's actions in changing the choice (to newsaccount, etc).
I will move the milestone back to 099 and try to get this one in on both branch
and trunk.
Time to get reviews..
Blake, Hewitt, Can you do r & sr ? thanks. I have removed the Init() function,
as can be seen in the patch, as we are not doing the selection from js code
anymore. I had to add setAccountTypeData() in unload, as it is only by then
correct value for radiogroup.selectedItem is getting returned. Let me know if
you have more questions. I will send r & sr requests in mail separately.
Attachment #71163 -
Attachment is obsolete: true
Assignee | ||
Comment 21•23 years ago
|
||
We should get this in on both branch & trunk. Changing the milestone to 099.
Target Milestone: mozilla1.0 → mozilla0.9.9
Assignee | ||
Comment 22•23 years ago
|
||
*** Bug 129145 has been marked as a duplicate of this bug. ***
Comment 23•23 years ago
|
||
var selectedItemId = rg.selectedItem.getAttribute('id');
Instead of .getAttribute('id');, please use .id
Why only now do we have to call setAccountTypeData from the unload? How were we
previously doing it? (I see that we did it in Init, but what happened if the
user changed the selection...?)
Assignee | ||
Comment 24•23 years ago
|
||
Thanks.
Will change it to use '.id'.
Appropriate routines are called from oncommnd handlers (see below). So, if user
clicks on one of the radio items, it will taken care of via those handlers.
handlers :
1. Mail Accounts :
http://lxr.mozilla.org/mozilla/source/mailnews/base/prefs/resources/content/AccountWizard.xul#56
2. News Accounts :
http://lxr.mozilla.org/mozilla/source/mailnews/base/prefs/resources/content/AccountWizard.xul#73
Comment 25•23 years ago
|
||
Ah, ok. So since we're doing it when you leave the page now (which seems right
to me anyway), can we remove those radio command handlers?
Assignee | ||
Comment 26•23 years ago
|
||
Blake, here is the new patch. Please review when you get a chance. thanks.
Attachment #72605 -
Attachment is obsolete: true
Updated•23 years ago
|
Attachment #72690 -
Flags: superreview+
Comment 27•23 years ago
|
||
Comment on attachment 72690 [details] [diff] [review]
patch, v1.2 - updated with Blake's comments
sr=blake if you remove the dump in acctTypePageUnload() while you're there.
Assignee | ||
Comment 28•23 years ago
|
||
Attachment #72690 -
Attachment is obsolete: true
Assignee | ||
Comment 29•23 years ago
|
||
Comment on attachment 72692 [details] [diff] [review]
patch v1.3 - removed the dump statement
c/f sr=blake.
Attachment #72692 -
Flags: superreview+
Comment 30•23 years ago
|
||
If this has driver approval lets go ahead and get this in....
Im trying to get my Solaris 0.9.9 builds built for testing and this is
prohibiting mail / news testing.
Comment 31•23 years ago
|
||
drivers would like to see this land on the 0.9.9 branch. If it gets the
necessary review today it could still make it.
Blocks: 122050
Assignee | ||
Comment 32•23 years ago
|
||
Sure. I planned on requesting driver's approval for this one as soon as r= is
stamped. I will ping Hewitt again and get that done. I will get a r= (from
Hewitt, ot from others if he is busy) and will get this in today (after a=).
Comment 33•23 years ago
|
||
Comment on attachment 72692 [details] [diff] [review]
patch v1.3 - removed the dump statement
r=hewitt
Attachment #72692 -
Flags: review+
Comment 34•23 years ago
|
||
Comment on attachment 72692 [details] [diff] [review]
patch v1.3 - removed the dump statement
a=asa (on behalf of drivers) for checkin to the 0.9.9 branch and the 1.0 trunk
Attachment #72692 -
Flags: approval+
Assignee | ||
Comment 35•23 years ago
|
||
Fix checked in onto both 099 branch and trunk.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•