[sip-comm-dev] auto switching for account selector in the gui


#1

Hi Yana,

I think we have already talked about it : the selection of the
appropriate account to issue a call. It's sometimes annoying
when a call fails just because the currently selected account in the
AccountSelectorBox can't handle the call that we try to make, while
there is another account in the list which is able to do so. The attached patch is an attempt to provide a rational way to do it :
an automatic swich to the pps of the contact that we try to call.
And of course, the user always have the ability to switch back to whatever account he wants.

Annother thing : is there a good reason for which when we click a
contact, the chat window is opened on the mousepressed
event instead of the mouseclicked ? I know that thereis
an open discussion on what to do on user click, nevertheless,
without changing the actual behaviour, I feel like the mouseclicked
event is the most "logic" event to use for this action, isn't it ?
I have moved the code in this sens. Hope you will be ok with that.

Regards.

···

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net


#2

As always, the patch comes in a separate mail :o)

Sympho a �crit :

pps-auto-switch.patch (4.5 KB)

···

Hi Yana,

I think we have already talked about it : the selection of the
appropriate account to issue a call. It's sometimes annoying
when a call fails just because the currently selected account in the
AccountSelectorBox can't handle the call that we try to make, while
there is another account in the list which is able to do so. The attached patch is an attempt to provide a rational way to do it :
an automatic swich to the pps of the contact that we try to call.
And of course, the user always have the ability to switch back to whatever account he wants.

Annother thing : is there a good reason for which when we click a
contact, the chat window is opened on the mousepressed
event instead of the mouseclicked ? I know that thereis
an open discussion on what to do on user click, nevertheless,
without changing the actual behaviour, I feel like the mouseclicked
event is the most "logic" event to use for this action, isn't it ?
I have moved the code in this sens. Hope you will be ok with that.

Regards.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@sip-communicator.dev.java.net
For additional commands, e-mail: dev-help@sip-communicator.dev.java.net