[Design] Specifying the default sharing account
Brian Kirsch
bkirsch at osafoundation.org
Tue Apr 17 14:10:01 PDT 2007
Hi Morgen,
For Mail, I never actually change what is the *default* account.
In the getCurrentIncomingAccount and getCurrentOutgoingAccount
methods of
osaf.pim.mail, I stuck addition logic to determine the current
account (default if setup else
first setup account).
My reasoning for doing this was I found it weird from a user standpoint
that Chandler would change default accounts based on
implicit user actions taken in the Account Prefs dialog.
I would vote that the out of the box Chandler accounts are the
*defaults* and never
change for Preview (restore is the exception). I think this makes
more sense from a
user prospective.
-Brian
On Apr 17, 2007, at 10:46 AM, Morgen Sagen wrote:
>
> On Apr 17, 2007, at 1:15 PM, Mimi Yin wrote:
>
>> So just to restate so I'm clear, it sounds like both Sharing and
>> Email accounts are doing the same thing right now?
>
> No, that is not what Sharing is doing, and that is what I will need
> to change it to do.
>
>> If there's no default account set up, then Chandler chooses the
>> next one that's available? Can we stick with that for Preview?
>
> Well, I will *add* this functionality, which is not currently in
> Sharing.
>
>> I agree that at some point, we will need to have a more
>> sophisticated notion of Default accounts.
>
> I'm not sure what was wrong with what we had before.
>
>> One question: Morgen, the hack you described below doesn't
>> actually change anything that the user can see?
>
> It is a subtle change: if you bring up a fresh Chandler, add a
> sharing account (without filling in the out-of-the-box DAV
> account), then when you close the dialog, the account you just
> added becomes the new default sharing account (which you'll see
> marked as "Default" the next time you open the accounts dialog, and
> which will be auto-selected the next time you publish a
> collection). If you happened to add multiple accounts at that
> time, then one is randomly selected as the new default.
>
>> It just skips over the OOTB default sharing account and uses the
>> next sharing account in the list as the default under the hood? I
>> just tried Publishing in r13983.
>
> That works because of the hack I added in rev 13981.
>
>>
>> I think then what we have now for both Mail and Sharing is okay
>> for Preview?
>
> I will go ahead and also add the logic that bkirsch added for Mail,
> and we're done for Preview.
>
>
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
>
> Open Source Applications Foundation "Design" mailing list
> http://lists.osafoundation.org/mailman/listinfo/design
More information about the Design
mailing list