newest beta version of Jami (Windows 10 and Android); 1:1 swarm, using different Jami accounts
Windows 10= username1; Android=username2; group chat disabled;
EDIT: Just the Windows 10 user enabled "Allow incoming calls from unknown contacts"
steps to reproduce
both contacts (Windows 10 user and Android user) are each showing up in their contact list
Windows 10 user removes the Android contact in contact list (However the Android user does not)
Android user writes message (Android -> Windows 10)
Windows 10 user does not receive the message
Now the android makes a phone call
Windows 10 receives the phone call; He can hear the ringtone but won't get the options to decline or answer in audio/video
Now the Windows 10 user exits and restarts jami (The Android user keeps Jami running)
Now the Android user tries to make a phone call (android -> windows 10)
Windows 10 user does not get any notification
Android user exit and start Jami again
Android user still sees green dot of Windows 10 user
Windows 10 user does not get any notification (same issue again)
Next issue:
Now the Windows 10 user unblocks the Android
The android user sends text message
The Windows 10 user gets an invitation and accepts
The Windows 10 user still sees the notification "invitations 1"
Jami Windows 10 still shows invitations but the user does not receive any message
However you can make a video call Android -> Windows 10 but Jami (Windows 10) does not show up chat history
Next issue: (after the previous issue)
Restart Jami (just the user of Windows 10)
You can view the same (Android) user twice (Both: Swarm: Is true); It is still not possible that the Windows 10 user receives any text message (Android -> Windows 10) and it is also not possible to receive text messages Windows 10 -> Android
However video call Windows 10 <-> Android are possible
If you restart Jami (windows 10) same issue again
(And you still won't receive any messages anymore although windows 10 contact is unblocked)
Now remove the contacts (Windows 10 AND Android; exit all Jami apps)
Windows 10 user: As soon as you remove the (unblocked) Android - you just want to delete the contact - the Android user will be listed in "blocked contacts" (although you did not block the user (again)).
You won't be able to delete the Android user anymore - the user will always be moved to "blocked contacts".
Now Android -> Windows 10 (all contacts (windows 10 and Android) were removed)
Android: Add the Windows 10 user by searching the user name and add the Windows 10 user
Sending text messages Android <-> Windows 10 now works
Now:
The Android user blocks the Windows 10 user (If the Android user tabs the Windows 10 user (from the conversation list) block contact does not work)
So the Android user needs to go to contact details and block the Windows 10 contact and confirms
However the Windows 10 user DOES NOT remove the android user from his contact list
Android: even if you stay (conversation - tap the contact) you won't receive any new messages (from the Windows 10 user)
Now return to conversations: the blocked user is gone
However: As soon as the Windows 10 user makes a video call your blocked contact will be shown again (conversations) and you get a notification how you want to answer the call (although both contacts disabled "Allow calls from unknown contacts")
After you finished the call you are asked if you accept the invetation of the blocked Windows 10 user.
If the Android user accepts:
The Android user can send messages but the windows 10 user will not receive them
However - the android user will still receive messages (windows 10 -> Android)
If the android user taps "blocked contact" Windows 10 user is still shown and you can't change anything.
Edited
Designs
Child items ...
Show closed items
Linked items 0
Link issues together to show that they're related or that one is blocking others.
Learn more.
Windows 10 unblock contact (I tried to delete the contact but it is not possible -> The Android contact shows up in "blocked contacts")
Windows 10: Block Android contact (however: Windows 10 user does not exit Jami)
Android user: exit Jami
Android user: open Jami
Now the Android user can view 5 times the same Windows 10 user (conversation list)
The Android user now deletes the 4 (more) accounts in the conversation list so you the Android user just views one Windows 10 user
Windows 10 user starts Jami again. The android user is shown in the contact list.
As soon as the Android user wants to write a text message the Windows 10 user won't get the message but an invitation
The Windows 10 user accepts but still does not receive the text message
Now the Windows 10 user exits Jami
Now the Windows 10 user can view the same contact twice in the contact list (one is showing "Swarm created" and the other same contact is showing "You have accepted the conversation request", Waiting until usernamexy connects to synchronize the conversation.) BOTH (Swarm: Is true)
The Android sends a text message but the Windows 10 user won't get any text message (neither the first account nor the second (same) account)
Neither the Windows 10 user nor the Android user will get any message (Windows 10 <-> Android)
The Windows 10 user exits Jami (but not the Android user)
Still - no one can receive text messages
Now just the Android user exits Jami
Still not possible to receive text messages (both)
Now both users exit Jami
Still no difference
Windows 10 user now delets one contact (the one showing "You have accepted the conversation request", Waiting until usernamexy connects to synchronize the conversation.)
Windows 10: both (same) accounts from the Android user are gone after deleting but the (one, Android) "deleted" account is shown under "blocked contacts (Windows 10)
Windows 10: Now unblock the "deleted" user
The Android user sends a text message
The Windows 10 user does not receive the text message but an invitation. (Now go to step 8 again, you should be able to reproduce now)
To be honest this issue is unreadable. There is like 5 issues and some with 24 steps.. Please again avoid multiple posts. There is also a template dedicated for readability when creating new tickets.
So let's start. In the first scenario do you block or remove the conversation? Cause the issue is about blocking (which seems fine on my devices) and you talk about removing the conversation (which is completely different as it's not blocking).
Windows 10 user removes the Android contact in contact list (However the Android user does not)
So ... I actually meant "block" NOT delete the contact. After that my contact is removed (by Jami?) from the contact list.
I just reproduced but this time after step 6 (the first description) I received an invitation notification (Windows 10) but without an actual invitation (to accept or to decline).
As soon as you make phone call (Android -> blocked user (the user that blocked the Android user) you'll get this issue:
Windows 10 receives the phone call; He can hear the ringtone but won't get the options to decline or answer in audio/video
But this time together with this issue:
I received an invitation notification (Windows 10) but without an actual invitation (to accept or to decline).
yeah only keep once or clearly separate the issues. 6 scenarios for 1 issues is just unclear for everybody else. It's just one issue with several things, or several issues with distinct scenarios.
So:
Alice (Android)/Bob (windows) (versions?)
Bob blocks Alice
Alice sends a message (is this step necessary? or without this step you have the issue?)
Alice calls bob => Bug, you have a Ringtone sound
With 1/3 or 1/2/3 I can't reproduce on several devices. Logs clearly reject the connection and no call is made, so there is something weird
@sblin Can you reproduce the other way? Not Windows 10 -> Android but Android -> Windows 10 (or a Linux-Distro)?
Would this be an issue regarding the daemon or regarding to the client?
Steps would be:
Alice blocks Bob (but Bob does not block Alice) [Tap the contact-> contact details-> block contact(Bob)]
Alice won't receive any (text) messages from Bob
As soon as Alice leaves the conversation with Bob (now blocked) and returns to the whole conversation list Bob is gone
Now Bob calls Alice
Alice gets an invitation from Bob
If Alice taps the invitation (she does neither accept nor decline the (blocked) contact) she will view a notification "Return to ongoing call" and will now be able to make a phone call
After that she can decide if she wants to accept or decline the (blocked) contact (Bob)
If she accepted Bob will be in the contact list again
Bob unblocks Alice (Settings > Account > blocked contacts)
Alice is now displayed in the contact list again
Bob: uses right click delete (NOT block!) to delete Alice (remove Alice from contact list)
However: If Bob returns to Settings > Account > blocked contacts - Alice now appears again - although Bob did NOT block the contact (Alice; again) but deleted Alice
Now Bob selects "Reinstate as contact"
Suddenly Alice is shown in the contact list again - so she was blocked but NOT deleted?
next issue 1: EDIT: I think this bug just happens if the green dot of the Windows 10 user is visible; if the Windows 10 user is "offline" Alice can delete Bob without any issues
Alice deletes the contact
Alice exits Jami (NOT Bob the Windows 10 user)
Alice opens the Android app again: same contact (Windows 10 contact=Bob) is displayed in the contact list (although it sould be deleted)
Alice now tries to delete Bob AGAIN
Android: the contact now moved from above to below the contact list
Alice delets Bob AGAIN
Alice can't delete the contact
Alice taps the (Windows 10=Bob) contact
Alice now gets an invitation from Bob
Alice exits Jami
Android: The contact (Windows 10=Bob) now is gone
Keep in mind: Only Alice exits Jami; Bob (Windows 10 user) NEVER exits Jami
Android: Now Bob (not visible in Alice contact list anymore) makes a call
Windows 10: Bob will just get a "Searching" option and the call will fail
Now Bob exits Jami (NOT Alice this time)
Bob will just get a "Searching" and the call fails
Now all peers (Windows 10 AND Android) exit Jami
Issue 2:
Bob is finally gone
All peers exit Jami
Alice and Bob enter Jami
Now Bob is suddenly again in the contact list
Bob can make a call (windows 10 -> Android)
Alice tries to delete Bob -> Same issue 1 (follow these steps)
Now: (Seems to work)
Bob can't make a call Windows 10 -> Android (just searching and fail contact)
Alice wants to call Bob (again)
Steps:
Alice searches Bob
Alice taps add to contacts
Now bob can call alice
Alice exits Jami
Even if you remove the contact sometimes all devices will remove the contact (if use have the same account with the same contact list on multiple devices)
This time: sameuseraccount <-> sameuseraccount
Windows 10 -> Android
And:
After you just removed (NOT blocked) the contact (all devices)
If you DON'T select "Add to conversation" but "Make a video call" your contact "test2" will be shown in the android device again
Even if all peers disabled "Allow incoming calls from unknown contacts";
Not sure if you are an "unknown contact" if you make a call sameuseraccount <-> sameuseraccount but your own account is not visible in the contact list?
Alice: Android (EMUI 12) newest beta-version Bob: Windows 10: Jami newest beta version
Alice removes Bob but does not exit Jami
Calls Bob -> Alice (Windows 10 -> Android) don't work anmore so this seems to work
Next/similar issue:
The issue proceeds: (no one exits Jami; Alice and Bob keep Jami running)
Issue a:
Just Bob removes Alice
Now Alice calls Bob
Bob get an invitation with an identifier like 123456abcde; at the same time he can answer the call
After the call Bob goes to the invitation and declines the contact 123456abcde- However the invitation still remains
Issue b:
Just Bob exits Jami
Now Bob opens Jami
Bob declines the contact 123456abcde (again; the first time he declined the contact before he left Jami the first time)
Now Bob gets a second invitation of 123456abcde
Bob declines the second invitation
Now all invitations are gone
Suddenly Alice can't call Bob anymore (no more calls Android -> Windows 10)
Issue c:
Just Alice exits Jami (Android)
After some time Bob AND Alice (Windows 10 AND Android) exit Jami
Bob will get an invitation again; However- calls are not possible
Even if Bob accepts the invitation he always just gets "Waiting until Alice connects to synchronize the conversation."
Now just Bob exits Jami
However - Bob still only gets "Waiting until Alice connects to synchronize the conversation." - However - calls (both directions) are now possible
Issue d:
Bob AND Alice exit Jami
Bob removes Alice
If ALice makes a call (Android -> Windows 10) Bob will get an invitation
Elyschanged title from Blocking contact does not work, removed/blocked contact can be called? to Blocking contact does not work, removed/blocked contact can be called? [Android-> Windows 10]
changed title from Blocking contact does not work, removed/blocked contact can be called? to Blocking contact does not work, removed/blocked contact can be called? [Android-> Windows 10]
Lets keep our issues simple as it is not manageable working with all of your coments and multitude of scenarios.
Maybe, and that we can verify only after a fix, all subsequent issues are originated in the same initial bug.
So for now our priority is a single scenario and all others will be temporarily discarded:
Alice(Windows), Bob(Linux) - both sides on Master
Alice and Bob messages and calls works as expected;
Alice blocks bob;
In different occasions I could have: Bob calls alice and either - empty invitation tab; call appears to Alice; Bob call is searching and fails;
Alice unblocks Bob:
Alice writes message and sends (it does not appear neither on Alice or Bob chat but Bob can see the typing indicator)
Bob writes message and sends (it appears on Bob chat and Alice can see the typing but not the message)
Expected scenario:
Alice and Bob messages and calls works as expected;
Alice blocks Bob;
Bob call is searching and fails;
Alice unblocks bob:
Alice writes message and sends (it does appear on Alice chat and Bob can see both the typing indicator and the message)
Bob writes message and sends (it appears on Bob chat and Alice can see both the typing and the message)
@sblin You may fell free to adjust the basic scenario as you see fit for debugging/testing purposes.
I remain available for tests using Windows.
I think my scenario was (I always did a test Android -> Windows 10; "Jamiaccount1"->"Jamiaccount2"):
Bob (now blocked; Android user;) calls Alice (since she is still in the contact list of Bob;) Alice will get an invitation and she'll be able to answer the call (although both peers disabled "Allow incoming calls from unknown contacts").
Maybe you can also test if you can make a call Android <-> Windows 10 ("sameuseraccount1"<->"sameuseraccount1" and "account1"<->"account2") to a contact that was NEVER added on the device of Alice and / or Bob.
Because I think you (Android user) can also call (Windows 10) contacts you never had in your contact list before although both peers disabled "Allow incoming calls from unknown contacts".
If you reproduce between android-windows and we reproduce between windows-linux then the issue is something not related to the devices we use for test and the platform should not impact the end fix.
As stated before, we will ignore all issues branched from the scenario detailled in my last comment until this first fix is in place. Then, and only then, we will check the other issues you mentioned.
Just one question: Will these patches also work for group swarm and therefore will prevent that these bugs won't occur again once group chat will be enabled by default?