Closed
Bug 140649
Opened 23 years ago
Closed 21 years ago
Mail and newsgroup "set as default" should be disabled on current default
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bugzilla, Assigned: Stefan.Borggraefe)
Details
Attachments
(1 file, 2 obsolete files)
802 bytes,
patch
|
neil
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:0.9.9+)
Gecko/20020426
BuildID: 2002042603
In the "Mail & Newsgroups Account Settings", the "set as default" button is
enabled for every user account, but should be disabled for the one that is
already default (if only to provide reinforcement that the default is in fact
correctly set).
Reproducible: Always
Steps to Reproduce:
Edit > Mail and newsgroups account settings
highlight any mail account
Actual Results: "set as default" always active
Expected Results: "set as default" should be inactive for existing default
Comment 1•23 years ago
|
||
does the button do anything? I think it should be removed since it doesn't seem
to do anything.
Comment 2•22 years ago
|
||
I agree. The button does do anything, but there is visual confirmation about
which account is set as default (other than exiting prefs and seeing which
account is listed first.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee | ||
Comment 3•21 years ago
|
||
> does the button do anything?
On Windows XP you see the New Message count from the Default Account on the
Change User screen. So this setting is actually used.
Assignee | ||
Comment 4•21 years ago
|
||
Taking bug since I have a fix for it.
Assignee: sspitzer → borggraefe
OS: Windows XP → All
Hardware: PC → All
Assignee | ||
Comment 5•21 years ago
|
||
This fix also disables the button when canSetDefault from the incoming Server
of an account is false.
Assignee | ||
Updated•21 years ago
|
Attachment #135395 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 6•21 years ago
|
||
Comment on attachment 135395 [details] [diff] [review]
Fix
>+ if (isAlreadyDefaultAccount ||
Just use currentDefaultAccount == accountManager.defaultAccount
>+ !server.canBeDefaultServer ||
Neat.
Assignee | ||
Updated•21 years ago
|
Attachment #135395 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 7•21 years ago
|
||
> Just use currentDefaultAccount == accountManager.defaultAccount
This wouldn't work, but I think you just wanted me to eliminate the boolean
variable isAlreadyDefaultAccount, right? ;-)
Attachment #135395 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #135397 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 8•21 years ago
|
||
Comment on attachment 135397 [details] [diff] [review]
Addressed Neil's comment.
Actually I think I meant account == accountManager.defaultAccount
Assignee | ||
Updated•21 years ago
|
Attachment #135397 -
Flags: review?(neil.parkwaycc.co.uk)
Assignee | ||
Comment 9•21 years ago
|
||
> Actually I think I meant account == accountManager.defaultAccount
Ah, ok, made it like you said.
Attachment #135397 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #135399 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 10•21 years ago
|
||
Comment on attachment 135399 [details] [diff] [review]
Final patch
See how simple that was?
Attachment #135399 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Assignee | ||
Updated•21 years ago
|
Attachment #135399 -
Flags: superreview?(bienvenu)
Updated•21 years ago
|
Attachment #135399 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Comment 11•21 years ago
|
||
Checked in by timeless. Thanks for this and the super-fast reviews. :-)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Comment 12•21 years ago
|
||
I can no longer set any account as default using an 11/14 build. Every account
always has this button disabled for me.
Comment 13•21 years ago
|
||
I cannot replicate that symptom; I am seeing the Default button enabled for
three of my four mail accounts (all POP), and disabled for News and Local
Folders.
Assignee | ||
Comment 14•21 years ago
|
||
Scott: I tested this with TB on Linux and Seamonkey on Linux and Windows. I can
select a default account in all cases.
To clarify, the button is disabled when:
- the account is already the default account.
- the account can't be a default account (NNTP, Movemail and Local Folder)
- the account has less than one identity (This is currently only the case for
Local Folder as far as I can see)
So you need at least two account of the type POP3 or IMAP to be able to change
the Default Account.
Comment 15•21 years ago
|
||
that was my problem then Stefan. I was trying to select a news acct. I did not
have a 2nd pop/imap acct. Thanks for the clarification.
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•