client/LRC receiving vCard chunks twice when receiving call form Android device
Issue generated from Tuleap's migration script. Originally submitted by: Stepan Salenikovich (ssalenik)
I'm testing with todays master on GNU/Linux and the latest beta release on the play store (May 16th).
I noticed a weird thing when I started to log in LRC the vCard chunks I get. When I call from Android device to gnome-ring, it seems like I first get the vCard while the cal is still Ringing (but it is usually missing one or two chunks), and then once I accept the call, I get the vCard chunks a second time. This time I get all of them, but I only needed the missing one.
See this gnome/LRC log where I added qDebug() to ProfileChunk::addChunk() in ring-lrc/src/text.cpp:
Call State Changed for call "14440634650590108029" . New state : "CONNECTING"
Call State Changed for call "14440634650590108029" . New state : "INACTIVE"
Call not found "14440634650590108029" new state "INACTIVE"
New foreign call: "14440634650590108029"
Call State Changed for call "14440634650590108029" . New state : "INCOMING"
Call found Call(0x60300087f5e0) "Ringing"
Origin and destination states are identical "Ringing" "Ringing" doing nothing Call(0x60300087f5e0)
Calling stateChanged "INCOMING" -> 0 on call with state "Ringing" . Become "Ringing"
Signal : Incoming Call ! ID = "14440634650590108029"
New incoming call: "14440634650590108029"
The call "14440634650590108029" already exist, avoiding re-creation
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 1 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 2 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 3 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 4 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 5 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 7 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 8 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 9 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 10 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 11 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 12 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 13 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 14 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 15 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 16 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 17 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 18 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 19 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 20 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 21 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 22 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 23 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 24 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 25 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 26 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 27 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 28 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 29 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 30 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 31 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 32 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 33 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 34 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 35 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 36 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 37 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 38 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 39 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 40 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 41 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 42 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 43 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 44 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 45 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 46 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 47 of 47 id "298774861"
\*\* (gnome-ring:4597): WARNING \*\*: Unable to connect to 'Zimbra': Cannot open book: TLS not available
\*\* (gnome-ring:4597): DEBUG: activating action: accept
Origin and destination states are identical "Ringing" "Ringing" doing nothing Call(0x60300087f5e0)
Accepting call. callId : Call(0x60300087f5e0) ConfId: Call(0x60300087f5e0)
Calling action ACCEPT (0) on Call(0x60300087f5e0) with state "Ringing" . Become "Ringing"
Call State Changed for call "14440634650590108029" . New state : "CURRENT"
Call found Call(0x60300087f5e0) "Ringing"
State changing from "Ringing" to "Talking" on Call(0x60300087f5e0)
Starting call. callId : Call(0x60300087f5e0) ConfId: Call(0x60300087f5e0)
Calling stateChanged "CURRENT" -> 2 on call with state "Ringing" . Become "Talking"
setting codec details for "H264"
setting codec details for "VP8"
setting codec details for "MP4V-ES"
setting codec details for "H263-1998"
setting codec details for "opus"
setting codec details for "G722"
setting codec details for "speex"
setting codec details for "speex"
setting codec details for "speex"
setting codec details for "PCMA"
setting codec details for "PCMU"
(gnome-ring:4597): Gtk-WARNING \*\*: gtk\_widget\_size\_allocate(): attempt to allocate widget with width -19 and height -19
(gnome-ring:4597): Gtk-WARNING \*\*: gtk\_widget\_size\_allocate(): attempt to allocate widget with width -19 and height -19
(gnome-ring:4597): Gtk-WARNING \*\*: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkButton)
(gnome-ring:4597): Gtk-WARNING \*\*: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)
(gnome-ring:4597): Gtk-WARNING \*\*: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)
(gnome-ring:4597): Gtk-WARNING \*\*: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)
(gnome-ring:4597): Gtk-WARNING \*\*: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)
(gnome-ring:4597): Gtk-WARNING \*\*: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkScaleButton)
(gnome-ring:4597): Gtk-WARNING \*\*: Negative content height -9 (allocation 1, extents 5x5) while allocating gadget (node button, owner GtkToggleButton)
(gnome-ring:4597): Gtk-WARNING \*\*: gtk\_widget\_size\_allocate(): attempt to allocate widget with width -19 and height 20
(gnome-ring:4597): Gtk-WARNING \*\*: gtk\_widget\_size\_allocate(): attempt to allocate widget with width -19 and height -19
(gnome-ring:4597): Gtk-WARNING \*\*: gtk\_widget\_size\_allocate(): attempt to allocate widget with width -19 and height 20
reloading codecs
reloading codecs
reloading codecs
reloading codecs
reloading codecs
reloading codecs
reloading codecs
reloading codecs
reloading codecs
reloading codecs
reloading codecs
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 1 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 2 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 3 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 4 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 5 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 6 of 47 id "298774861"
\^\^\^ \^\^\^ \^\^\^ VCardUtils::mapToPerson(), UID: "1481758787554"
@@@ @@@ @@@ IMConversationManagerPrivate::newMessage adding peerProfile Person(0x603000d03510)
@@@ @@@ @@@ PersonModel::addPeerProfile Person(0x603000d03510)
@@@ @@@ @@@ PeerProfileEditor::addNew Person(0x603000d03510)
@@@ @@@ @@@ ContactMethods QVector(ContactMethod(0x603000116fe0, name = "f003dbad64bce33b350ec024a15d41ceed0e9421"))
@@@ @@@ @@@ existing person
@@@ @@@ @@@ PeerProfileEditor::save, filename "/home/ssalenikovich/.local/share/gnome-ring/peer\_profiles/1481758787554.vcf"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 7 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 8 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 9 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 10 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 11 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 12 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 13 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 14 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 15 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 16 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 17 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 18 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 19 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 20 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 21 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 22 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 23 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 24 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 25 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 26 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 27 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 28 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 29 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 30 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 31 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 32 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 33 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 34 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 35 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 36 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 37 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 38 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 39 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 40 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 41 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 42 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 43 of 47 id "298774861"
\*\*\* \*\*\* \*\*\* got a vCard chunk
part 44 of 47 id "298774861"
startedDecoding for sink id: "local"