[jitsi-users] Contact list and connection bugs in OSX


#1

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi all,

Following my mail inquiring how to file bugs, Emil suggested I post the
series of bugs I found in getting Jitsi to run on my Mac here.

I apologize, profoundly, in advance -- this is a LOT to send you at
once, particularly when I haven't participated on this list much before.
As I mentioned before, I work for the Open Internet Tools Project, where
helping improve usability is my job, so I can devote time to testing
this with you. We might also be able to help find more developers who
might be willing to help get these problems taken care of. Hackathons
are one thing we sometimes do :slight_smile:

I have checked the mailing list for a few of these bugs, but couldn't find
answers. I felt it was a good idea to send them together; many of them
seem related.

Here is what I found, with some recommended solutions. I have
screenshots for these if they would help. All of these bugs were found
when communicating from a Mac running either OS 10.9.x or 10.8.x and the
latest version of Jitsi, communicating to a Linux laptop using Ubuntu
with the latest version of Jitsi.

BUG #1:
In both Mac 10.8 AND 10.9:
Open Add Contact window. Select SIP myaccount@ostel.co . I enter the
name of the contact in ID or Number, WITHOUT adding ostel.co at the end.
Jitsi does not pop up an alert warning me this might be a problem or
asking me if I mean @ostel.co .
The contact is added to the list. Mousing over it, I see it is
registered as ContactName@ostel.co . When that contact is online,
however, Jitsi does not list them as online, and I cannot put a call
through to that contact.
When I try to initiate a chat, it opens the window and appears to send
text without any indication that the contact is invalid.
When I delete that contact, and add it again as ContactName@ostel.co,
Jitsi DOES list them as online when they are online.
I have tried this process in adding two separate contacts, both of whom
were on ostel.co .

THE PROBLEM:
This makes it look to the user as if the ostel.co contact has been added
without any problems, but then it looks as if their contacts are never
online.

RECOMMEND:
1) Separate the workflows for registrarless SIP accounts and registrar
SIP accounts.
2) For ostel.co (and possibly other) registrar SIP accounts, prompt
users to add in the domain name if they only put in ID
OR
Fix the autocomplete that adds the registrar to IDs without registrar,
so that calls can successfully go through.

BUG #2:
In Mac 10.9:
In trying to fix the contact problem in Bug #1, I was able to add a
second account that was ContactName@ostel.co . When I did this, each
ContactName@ostel.co contact was able to see the chat history of the
other account. I assume it happened because Jitsi was seeing one as
registrarless, even though it had added ostel.co at the end of the ID.
(When I tried to re-create this problem a second time, Jitsi did warn me
that I had two contacts with the same address and wouldn't let me create
the second one. I am not sure how I was able to do it the first time, as
both times I made one account with just ContactName and one with
ContactName@ostel.co)

THE PROBLEM:
It is probably not good that two distinct contacts could be added with
the same ID. It is definitely not good that the chat history of one is
displayed for the other.

RECOMMEND:
1) Make sure that the check to see if an address is a duplicate is
functioning correctly. I am assuming that distinguishing between
registrarless and registrar SIP accounts may help with this.
2) Ensure that the chat histories of accounts are indexed correctly.

BUG #3:
In Mac 10.9:
When I deleted the duplicate accounts from Bug #2, then added the
account again to continue my test, the chat history for the deleted
account still appeared.

THE PROBLEM:
In the community of users I work with (human rights activists and
journalists), conversations being stored on a user's machine can be a
matter of life and death if a machine is seized by police, governments,
or criminals. I assume that most of our users will choose not to save
their chat histories as a result, but in case they do, we should protect
their contacts by deleting chat history along with a deleted contact.

RECOMMEND:
When a user deletes a contact, prompt if they would like the chat
history for that contact erased as well.

BUG #4
In Mac 10.9:
I can't find a way to delete chat history. Unclicking "log chat history"
does not do it.

THE PROBLEM:
May be PEBCAC (Problem Exists Between Computer And Chair), i.e. it's my
fault I can't find this :wink: However, it should be relatively clear to
users how to do this. Again, for users in sensitive situations, it will
be important to make this an option.

RECOMMEND:
Put a "delete chat history" capability within the chat window.

BUG #5:
In Mac 10.9:
When there are two contacts with the same name, selecting "Remove
Contact" by right-clicking on the contact name sometimes doesn't work.

RECOMMEND:
Not sure what to recommend, as this seems to be a technical problem
rather than usability.

BUG #6
In Mac 10.9:
After multiple times adding and deleting a contact while testing, a SIP
contact appropriately entered as ContactName@ostel.co did not appear as
online (grey icon, not green), when the contact confirmed to me in a
side channel that he was in fact online.

RECOMMEND:
Again, a technical problem, I'm not sure what to suggest. Try adding and
removing the same contact as registrarless and registrared multiple
times to re-create.

BUG #6:
In Mac 10.9:
Despite the contact being greyed out in Bug #5, I was still able to
initiate a call to the contact.
The call window popped up. The status registered as "incoming call" on
his end, then "connecting" on both our ends. This took a very long time,
and nothing happened. Then the status changed to "ringing," though the
ring noise did not play.

RECOMMEND: again, a technical problem, I'm not sure what to suggest.

BUG #7:
In Mac 10.9:
Red "hang up" button in call window does not work while calls are
pending, or after incoming call has been accepted. Happens in multiple
calls to this user.

RECOMMEND: again, a technical problem, I'm not sure what to suggest.

BUG #8:
In Mac 10.9:
When receiving a call from this same contact (when his indicator was
green and he was in fact online), green phone button in the "incoming
call" alert pulled up the call window but did not open the voice
channel. Calling beep continued.

RECOMMEND: again, a technical problem, I'm not sure what to suggest.

BUG #9:
In Mac 10.9:
My contact initiated a second call while the first was pending. Rather
than give me a warning or canceling one call, Jitsi made two beeping
noises instead of one.

RECOMMEND:
Don't allow two calls from the same caller; end one to begin another? I
am not sure whether two calls from the same caller is a desired attribute.

BUG #10:
In Mac 10.9:
I was unable to establish an audio connection to the contact above at
any point. His install of Ubuntu seemed to be missing some audio drivers
(only PortAudio was available in his Options), so that may have been the
problem. However, Jitsi did not make it clear to either of us that that
was the problem; the connection simply never appeared to go through.

RECOMMEND:
More-specific messaging about the nature of the problem when a
connection does not go through.

BUG #11:
In Mac 10.8 -- this was with a different contact:
When a call was established, and my webcam was on, user on the other end
(using Ubuntu on a laptop with a built-in camera) heard a constant,
repeated high-pitched beeping noise, sort of like a heart monitor in a
hospital. Likewise, when the other user's webcam was on, I heard the
high-pitched beeping noise.

RECOMMEND:
Not sure if this is supposed to be a feature -- does the beep let you
know the other person can see you because their webcam is on? If it is a
feature, it needs to be clearer how to turn it off. If it is a bug, it
should be dealt with accordingly.

If you'd like my help in confirming these bugs or getting more
information about them, I'm on IRC most weekdays on US East Coast Time
(GMT-4); I'm gusgus in #openitp on freenode, and I've started hanging
out in #jitsi too :slight_smile:

Regards,
Gus

- --
Gillian "Gus" Andrews
Senior Program Associate, Secure User Practices
Open Internet Tools Project
openitp.org


#2

Hey Gus,

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi all,

Following my mail inquiring how to file bugs, Emil suggested I post the
series of bugs I found in getting Jitsi to run on my Mac here.

I apologize, profoundly, in advance -- this is a LOT to send you at
once, particularly when I haven't participated on this list much before.
As I mentioned before, I work for the Open Internet Tools Project, where
helping improve usability is my job, so I can devote time to testing
this with you. We might also be able to help find more developers who
might be willing to help get these problems taken care of. Hackathons
are one thing we sometimes do :slight_smile:

I have checked the mailing list for a few of these bugs, but couldn't find
answers. I felt it was a good idea to send them together; many of them
seem related.

Here is what I found, with some recommended solutions. I have
screenshots for these if they would help. All of these bugs were found
when communicating from a Mac running either OS 10.9.x or 10.8.x and the
latest version of Jitsi, communicating to a Linux laptop using Ubuntu
with the latest version of Jitsi.

BUG #1:
In both Mac 10.8 AND 10.9:
Open Add Contact window. Select SIP myaccount@ostel.co . I enter the
name of the contact in ID or Number, WITHOUT adding ostel.co at the end.
Jitsi does not pop up an alert warning me this might be a problem or
asking me if I mean @ostel.co .
The contact is added to the list. Mousing over it, I see it is
registered as ContactName@ostel.co . When that contact is online,
however, Jitsi does not list them as online, and I cannot put a call
through to that contact.
When I try to initiate a chat, it opens the window and appears to send
text without any indication that the contact is invalid.
When I delete that contact, and add it again as ContactName@ostel.co,
Jitsi DOES list them as online when they are online.
I have tried this process in adding two separate contacts, both of whom
were on ostel.co .

THE PROBLEM:
This makes it look to the user as if the ostel.co contact has been added
without any problems, but then it looks as if their contacts are never
online.

RECOMMEND:
1) Separate the workflows for registrarless SIP accounts and registrar
SIP accounts.
2) For ostel.co (and possibly other) registrar SIP accounts, prompt
users to add in the domain name if they only put in ID
OR
Fix the autocomplete that adds the registrar to IDs without registrar,
so that calls can successfully go through.

Actually all of the above should be working with regular accounts. Your next BUG seems to indicate the tests above were performed with a registrarless account. Once you have a regular account (one that is attached to a specific server like ostel.co) you can freely add contact names by just their contact handle, without the domain part, and everything will work.

(It is important to note that a RegistrarLess account is one you create through the "Add new account..." dialog and where you only enter a username. This can only be a source of trouble so we generally advise strongly against it and I don't really know why we are still allowing it).

This has been a long source of confusing and we need to make RegistrarLess accounts a bit more hidden. Hristo do you think you can have a look at that in the following days?

BUG #2:
In Mac 10.9:
In trying to fix the contact problem in Bug #1, I was able to add a
second account that was ContactName@ostel.co . When I did this, each
ContactName@ostel.co contact was able to see the chat history of the
other account. I assume it happened because Jitsi was seeing one as
registrarless, even though it had added ostel.co at the end of the ID.
(When I tried to re-create this problem a second time, Jitsi did warn me
that I had two contacts with the same address and wouldn't let me create
the second one. I am not sure how I was able to do it the first time, as
both times I made one account with just ContactName and one with
ContactName@ostel.co)

THE PROBLEM:
It is probably not good that two distinct contacts could be added with
the same ID. It is definitely not good that the chat history of one is
displayed for the other.

RECOMMEND:
1) Make sure that the check to see if an address is a duplicate is
functioning correctly. I am assuming that distinguishing between
registrarless and registrar SIP accounts may help with this.
2) Ensure that the chat histories of accounts are indexed correctly.

Probably caused by the same issue.

BUG #3:
In Mac 10.9:
When I deleted the duplicate accounts from Bug #2, then added the
account again to continue my test, the chat history for the deleted
account still appeared.

THE PROBLEM:
In the community of users I work with (human rights activists and
journalists), conversations being stored on a user's machine can be a
matter of life and death if a machine is seized by police, governments,
or criminals. I assume that most of our users will choose not to save
their chat histories as a result, but in case they do, we should protect
their contacts by deleting chat history along with a deleted contact.

RECOMMEND:
When a user deletes a contact, prompt if they would like the chat
history for that contact erased as well.

Agreed. We can try to address this in the following weeks. Could you please open a ticket (and pester us if you don't see any movement?).

BUG #4
In Mac 10.9:
I can't find a way to delete chat history. Unclicking "log chat history"
does not do it.

THE PROBLEM:
May be PEBCAC (Problem Exists Between Computer And Chair), i.e. it's my
fault I can't find this :wink: However, it should be relatively clear to
users how to do this. Again, for users in sensitive situations, it will
be important to make this an option.

RECOMMEND:
Put a "delete chat history" capability within the chat window.

Did you try the "erase history" options in the history menu in the chat window?

BUG #5:
In Mac 10.9:
When there are two contacts with the same name, selecting "Remove
Contact" by right-clicking on the contact name sometimes doesn't work.

I assume this might have had something to do with the registrarless account too. Could you please try and reproduce it after we fix it?

RECOMMEND:
Not sure what to recommend, as this seems to be a technical problem
rather than usability.

BUG #6
In Mac 10.9:
After multiple times adding and deleting a contact while testing, a SIP
contact appropriately entered as ContactName@ostel.co did not appear as
online (grey icon, not green), when the contact confirmed to me in a
side channel that he was in fact online.

RECOMMEND:
Again, a technical problem, I'm not sure what to suggest. Try adding and
removing the same contact as registrarless and registrared multiple
times to re-create.

I assume this was either due to the same cause, or it might have been related to SIP's general lack of stability for presence.

BUG #6:
In Mac 10.9:
Despite the contact being greyed out in Bug #5, I was still able to
initiate a call to the contact.
The call window popped up. The status registered as "incoming call" on
his end, then "connecting" on both our ends. This took a very long time,
and nothing happened. Then the status changed to "ringing," though the
ring noise did not play.

RECOMMEND: again, a technical problem, I'm not sure what to suggest.

Potentially same cause.

BUG #7:
In Mac 10.9:
Red "hang up" button in call window does not work while calls are
pending, or after incoming call has been accepted. Happens in multiple
calls to this user.

RECOMMEND: again, a technical problem, I'm not sure what to suggest.

I can't reproduce this and I think it must have been related to whatever got wrong in the first place.

BUG #8:
In Mac 10.9:
When receiving a call from this same contact (when his indicator was
green and he was in fact online), green phone button in the "incoming
call" alert pulled up the call window but did not open the voice
channel. Calling beep continued.

RECOMMEND: again, a technical problem, I'm not sure what to suggest.

Same issue (yes ... RegistrarLess accounts are a pain).

BUG #9:
In Mac 10.9:
My contact initiated a second call while the first was pending. Rather
than give me a warning or canceling one call, Jitsi made two beeping
noises instead of one.

RECOMMEND:
Don't allow two calls from the same caller; end one to begin another? I
am not sure whether two calls from the same caller is a desired attribute.

Why is that? You can very well be getting a second call from what seems to be the same number but still have a different person calling you.

BUG #10:
In Mac 10.9:
I was unable to establish an audio connection to the contact above at
any point. His install of Ubuntu seemed to be missing some audio drivers
(only PortAudio was available in his Options), so that may have been the
problem. However, Jitsi did not make it clear to either of us that that
was the problem; the connection simply never appeared to go through.

Or it could have been the registrarless issue. Suggest you try again with regular accounts.

RECOMMEND:
More-specific messaging about the nature of the problem when a
connection does not go through.

BUG #11:
In Mac 10.8 -- this was with a different contact:
When a call was established, and my webcam was on, user on the other end
(using Ubuntu on a laptop with a built-in camera) heard a constant,
repeated high-pitched beeping noise, sort of like a heart monitor in a
hospital. Likewise, when the other user's webcam was on, I heard the
high-pitched beeping noise.

RECOMMEND:
Not sure if this is supposed to be a feature -- does the beep let you
know the other person can see you because their webcam is on? If it is a
feature, it needs to be clearer how to turn it off. If it is a bug, it
should be dealt with accordingly.

We don't generate any beeps so it's certainly not a feature. Could it have been caused by the operating system?

Emil

ยทยทยท

On 11.06.14, 19:04, Gillian "Gus" Andrews wrote:

If you'd like my help in confirming these bugs or getting more
information about them, I'm on IRC most weekdays on US East Coast Time
(GMT-4); I'm gusgus in #openitp on freenode, and I've started hanging
out in #jitsi too :slight_smile:

Regards,
Gus

- --
Gillian "Gus" Andrews
Senior Program Associate, Secure User Practices
Open Internet Tools Project
openitp.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBCgAGBQJTmH4NAAoJEOrwrs2Zrn53l3UIAI+9/zrUWsG26seIOfYdzRuW
ul2beVdkBuHcJzWNwLtXbHOhReTcrJXUGaI3WXYg8xVRCRkTxleBgJmIvmDz+TBf
DGr51NGADljURV/ed304JCBjopxYzUvQRJ+sSRclzcL8KOoLVI6BHJ9W61craWmJ
TnzeqKGKiGjSgXGputuaR6ezcn2EAejMJ3Y+V+qhCGp+ze8/1Bcbs2vpYx028kCd
hBhUbCH6wPJrJhRbakQrzQsF8q2UOb2wAaIDwwRFe5nnYhuiWl40ZLWJSX+xCgGp
pNy674zr++k/Ur6wvpJmBGEII2m/eK55XZ0bCo+5s4NzsKjliFmhjY7hcGdfgnQ=
=gl56
-----END PGP SIGNATURE-----

_______________________________________________
users mailing list
users@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/users

--
https://jitsi.org