User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0 Build ID: 20141008000202 Steps to reproduce: Send message in multibyte encoded language like Malayalam Actual results: Message delivery receipt is not working Expected results: It should acknowledge delivery. It is miscalculating the number of messages as is evident from the acknowledgement of service provider. Firefox OS thinks it sent two messages, but service provider says 3 and delivery receipt mismatch confuses Firefox OS.
The Gecko version of 32 seems quite outdated and I think this issue shouldn't exist in current master except the service provider issue, but it's still good to know if our message segment computation works correctly for Malayalam lang in general.
I think there are 2 different issues here: the delivery report, and the number of sent messages. Praveen, it would help a lot if you could fetch logs as indicated in . Also, it would be nice to know how other devices behave here (eg: Android). Thanks !  https://github.com/bevis-tseng/Debug_Tools
I don't have my laptop with me right now. It will take a few more days for me to collect logs. Also since it is a corner case I will have to observe it over many days.
Created attachment 8583332 [details] screenshot of delivery report on 2.0 Two problems in reproducing this bug: 1) Malayalam doesn't seem to be a supported keyboard on Firefox OS v2.0. 2) I failed to see where in the delivery report states the number of messages sent? What I did: 0) Enable Delivery reports in Settings > Messaging Settings 1) Go to Messages and start a new thread 2) Enter a valid phone number, and start typing in the message body. As characters are being entered, I see an indication on the right showing how many characters I can type for it to make it into one SMS message, or two SMS messages, depending on how many have been typed. 3) Send the message. 4) Long tap on the message > view message report. On this screen (see attached screenshot) it does NOT tell me how many messages were sent in this delivery. So I'm confused of how the reporter is able to tell how many are being recognized in Firefox OS versus service provider? The only indication on number of messages being created is at step 2 while I was typing. Unless I completely misunderstood this bug, please enlighten me. And I will have to be able to reproduce this bug in v2.0 in order for checking on master to make sense.
Please see comment 4.
Hey Praveen, can you share how you can input Malayalam characters? Did you install an 3rd party keyboard ? Also, can you please share what you mean by "the acknowledgement of service provider"? It's not obvious to us. Thanks again !
Flags: needinfo?(schung) → needinfo?(pravi.a)
Hi Pi Wei, sorry for the confusion. It contains 2 different issues like julien said in comment 2. So what we can do is to send a message encoded by Malayalam and verify: - If we can get the delivery report - If receiver can get correct message segment number. I think user could not know about this information, so we definitely need to know how reporter get this information. We might be able to get these information from Bevis tool's in comment 2 So the first thing is to install Malayalam input, I thought we supported some India input method but Malayalam seem not in the list(Just confirmed with Rudy that Malayalam should be 3rd keyboard, so we might need to wait Praveen to know where we can install this IME). Hi Bevis, since you said it's not possible to see the segment info mismatch from both side, could you please explain more detail about this? Thanks!
(In reply to Steve Chung [:steveck] from comment #7) > Hi Pi Wei, sorry for the confusion. It contains 2 different issues like > julien said in comment 2. So what we can do is to send a message encoded by > Malayalam and verify: > > - If we can get the delivery report > - If receiver can get correct message segment number. I think user could not > know about this information, so we definitely need to know how reporter get > this information. We might be able to get these information from Bevis > tool's in comment 2 > > So the first thing is to install Malayalam input, I thought we supported > some India input method but Malayalam seem not in the list(Just confirmed > with Rudy that Malayalam should be 3rd keyboard, so we might need to wait > Praveen to know where we can install this IME). > > Hi Bevis, since you said it's not possible to see the segment info mismatch > from both side, could you please explain more detail about this? Thanks! The segment number is just informative to the user to know the payload of the message to be sent. For delivery-report, similar to other reference phones, the only thing we need to tell user is whether all the segments of the sent sms message is delivered to the remote party, and instead of telling user how many segments are delivered, this will be done by checking whether the corresponding status reports of these sms segments are delivered from carrier's SMS center. It is quite difficult to know what exactly happened according to the comments so far. Please have both main log & radio log captured by the tool mentioned in comment 2 for further analysis, and please also let us how other reference phone behaves in the same network with the same message content. Thanks!
I think it was a network issue as I'm not able to reproduce it. I suspected it was a bug because English messages were getting delivered fine. I think that is because all English messages are only 1 SMS but Malayalam were multiple because you need more than 1 SMS to convey the same message. Malayalam ime is at gitlab.com/smc/firefoxos-ime for each message sent, my provider sends me a notification with charge deducted from my account. Sometimes that were inconsistent with Firefox OS calculated SMS count.
Created attachment 8588929 [details] message acknowledgement from network provider Screenshot of message acknowledgement from Vodafone attached
Praveen, can you find out the message that triggered the issue in the first place?
I have stopped using Firefox OS because Mozilla is not interested in privacy (it does not consider end to end encryption by default is a priority and the only option for encryption is otr on loqui im and that keeps breaking). I switched to Cyanogen Mod, which comes with TextSecure integration by default.
Let's close this bug report then, because we don't have enough information to fix it.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → INCOMPLETE
QA Whiteboard: [QAnalyst-Triage+]
You need to log in before you can comment on or make changes to this bug.