Closed
Bug 878360
Opened 12 years ago
Closed 11 years ago
[MMS] Showing manual download UI when auto-retrieving is turn-on
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(blocking-b2g:leo+)
RESOLVED
WONTFIX
blocking-b2g | leo+ |
People
(Reporter: pyang, Assigned: kaze)
References
Details
(Whiteboard: [u=commsapps-user c=messaging p=0])
Attachments
(1 file)
194.73 KB,
text/x-vhdl
|
Details |
Gaia: e7fd566656c3ad01fff04270b973f3e23d006c31
Gecko: http://hg.mozilla.org/releases/mozilla-b2g18/rev/6ca32ed2bbc6
Precondition:
1 phone which can send MMS message
1 Fxos phone
REPRODUCE STEPS:
1. Turn off auto-retrieving
2. Send MMS message from another phone
3. Check message app, wait for incoming message
4. Message incoming with a download button. valid period is specified.
5. Turn on auto-retrieving
6. Tap download button in message
EXPECT:
1. Start to download MM payload.
2. Spin icon disappeared after download finished
3. Another incoming message with MM
ACTUAL:
1. Spin icon never end, even download is not started
2. Download button can't be tapped.
3. No MMS message downloaded eventually
Reporter | ||
Comment 1•12 years ago
|
||
Reproduce on leo device
Flash base image from LG, 20130524
Comment 2•12 years ago
|
||
Recently, we had a couple of fixes at Bug 810099 (reopen) and Bug 879152, which would stop us retrieving MMS. Those issues might be related.
Comment 3•12 years ago
|
||
Please attach the log with debug messages.
adb remount
adb pull /system/b2g/defaults/pref/user.js user.js
[update user.js with adding 'pref("ril.debugging.enabled", true);' 'pref("mms.debugging.enabled", true);']
adb push user.js /system/b2g/defaults/pref/user.js
adb shell reboot
Thanks.
Updated•12 years ago
|
blocking-b2g: --- → leo?
Comment 4•12 years ago
|
||
The retry mechanism do 4 times and might waiting over 40 minutes. MMSC might be temporally unavailable. So this case might happen when the MMSC temporally unavailable(HTTP STATUS 503, which I saw that before), and you don't wait over 40 minutes. You will think it is spin forever. After offline talked with Paul, it didn't happen very often. So it only happened once and worked fine over ten times. This match the assumption of MMSC temporally unavailable. But if Paul can reproduce it and get the log, I can confirm what I think is correct or not.
Reporter | ||
Comment 5•12 years ago
|
||
rm user.js 2>/dev/null
adb remount
adb pull /system/b2g/defaults/pref/user.js user.js
sed -i -e '$ a\
pref("ril.debugging.enabled", true);\
pref("mms.debugging.enabled", true);
' user.js
adb push user.js /system/b2g/defaults/pref/user.js
adb shell reboot
## update for replacing user.js script
Reporter | ||
Comment 6•12 years ago
|
||
Comment 7•12 years ago
|
||
Per-talk...You turn on the data connection and bump in the bug 879225.
(In reply to Paul Yang from comment #6)
> Created attachment 758475 [details]
> log for spin forever when downloading
Comment 9•11 years ago
|
||
Now I know how to reproduce it. There are some pre-conditions.
1. You are in the environment that not be able to receive MMS.
2. On auto-retrieving mode.
3. Send the message before first launching sms AP. You can reboot the phone and send the MMS during boot-up.
Then you will see the notification trying to download the MMS. If you still in the bad environment, you will see the error icon after about 15 minutes. If you enter a good environment, you can receive the message at final.
Now the question is shall we show the notification when auto-retrieving on?
Flags: needinfo?(schung)
Comment 11•11 years ago
|
||
Could it be my fault due to bug 882105 ? As far as I keep trying, after fixing bug 882105 I can't reproduce.
Flags: needinfo?(pyang)
Comment 12•11 years ago
|
||
(In reply to Alexandre LISSY :gerard-majax from comment #11)
> Could it be my fault due to bug 882105 ? As far as I keep trying, after
> fixing bug 882105 I can't reproduce.
Nevermind, it seems unrelated and I just can't reproduce the issue.
Comment 13•11 years ago
|
||
Alex,
This is hard to reproduce. You need to make your cellphone can't receive MMS by purpose. For me, I might mess up the MMS proxy and port. Then you have to send the MMS before your first launch of MMS.
And it is not related to bug 882105.
(In reply to Alexandre LISSY :gerard-majax from comment #12)
> (In reply to Alexandre LISSY :gerard-majax from comment #11)
> > Could it be my fault due to bug 882105 ? As far as I keep trying, after
> > fixing bug 882105 I can't reproduce.
>
> Nevermind, it seems unrelated and I just can't reproduce the issue.
Flags: needinfo?(pyang)
Updated•11 years ago
|
Flags: needinfo?(schung)
Comment 14•11 years ago
|
||
(In reply to Chia-hung Tai [:ctai :ctai_mozilla :cht] from comment #9)
> Now I know how to reproduce it. There are some pre-conditions.
> 1. You are in the environment that not be able to receive MMS.
> 2. On auto-retrieving mode.
> 3. Send the message before first launching sms AP. You can reboot the phone
> and send the MMS during boot-up.
>
> Then you will see the notification trying to download the MMS. If you still
> in the bad environment, you will see the error icon after about 15 minutes.
> If you enter a good environment, you can receive the message at final.
>
> Now the question is shall we show the notification when auto-retrieving on?
It's not the notification. I think what you mean is the thread list in the thread list view. We will not popup any notification for not downloaded MMS while auto retrieving is on, but the not downloaded message is actually existing in database and it will be displayed in the thread list view, and it will display "message downloading..." in the bubble. I think it's a normal behavior for letting user know that message is downloading no matter the auto retrieving is on or off. The only difference is we don't pop notification while auto retrieving.
blocking-b2g: leo+ → leo?
Reporter | ||
Comment 15•11 years ago
|
||
After investigation, this one is combined with bug 877433. When auto-retrieve is turned on, I see downloading UI which is only when manual download enabled. Because bug 877433, downloading never ends.
I'd like to modify the title as "showing manual download UI when auto-retrieving is turn-on" since it is suitable to current situation.
Summary: [MMS] Manual download is not working → [MMS] Showing manual download UI when auto-retrieving is turn-on
Comment 16•11 years ago
|
||
voted leo-
(In reply to Steve Chung from comment #14)
> (In reply to Chia-hung Tai [:ctai :ctai_mozilla :cht] from comment #9)
> > Now I know how to reproduce it. There are some pre-conditions.
> > 1. You are in the environment that not be able to receive MMS.
> > 2. On auto-retrieving mode.
> > 3. Send the message before first launching sms AP. You can reboot the phone
> > and send the MMS during boot-up.
> >
> > Then you will see the notification trying to download the MMS. If you still
> > in the bad environment, you will see the error icon after about 15 minutes.
> > If you enter a good environment, you can receive the message at final.
> >
> > Now the question is shall we show the notification when auto-retrieving on?
>
> It's not the notification. I think what you mean is the thread list in the
> thread list view. We will not popup any notification for not downloaded MMS
> while auto retrieving is on, but the not downloaded message is actually
> existing in database and it will be displayed in the thread list view, and
> it will display "message downloading..." in the bubble. I think it's a
> normal behavior for letting user know that message is downloading no matter
> the auto retrieving is on or off. The only difference is we don't pop
> notification while auto retrieving.
Comment 18•11 years ago
|
||
Hi Ayman, we need your help to verify that how we deal with the message which download action is not completed when auto retrieving is on. Currently we will have "message downloading" with progress cursor to representing the message download behavior. Do we need to hide this message (or even the thread if the not-download message is in different thread) while auto retrieving mode is on?
Flags: needinfo?(aymanmaat)
Comment 19•11 years ago
|
||
(In reply to Steve Chung from comment #18)
> Hi Ayman, we need your help to verify that how we deal with the message
> which download action is not completed when auto retrieving is on. Currently
> we will have "message downloading" with progress cursor to representing the
> message download behavior. Do we need to hide this message (or even the
> thread if the not-download message is in different thread) while auto
> retrieving mode is on?
Hey there Steve
I am sorry but I am not sure I fully understand your request. So to clarify: are you asking how to handle the presentation of a message module in the message thread where the download is for some reason stuck downloading when auto retrieve is on? or have i misinterpreted your request?
Flags: needinfo?(aymanmaat) → needinfo?(schung)
Comment 20•11 years ago
|
||
(In reply to ayman maat :maat from comment #19)
> Hey there Steve
>
> I am sorry but I am not sure I fully understand your request. So to clarify:
> are you asking how to handle the presentation of a message module in the
> message thread where the download is for some reason stuck downloading when
> auto retrieve is on? or have i misinterpreted your request?
Yes, the question is how we deal with the downloading message while auto retrieve is on. If you think it's fine to leave the downloading message while auto retrieve is on, then we don't have to fix this issue; if you think we should not display the downloading bubble until message downloaded, we will need to do extra work to hide the downloading message while auto retrieve is on.
Flags: needinfo?(schung)
Updated•11 years ago
|
Flags: needinfo?(aymanmaat)
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → kaze
Comment 21•11 years ago
|
||
(In reply to Steve Chung from comment #20)
> (In reply to ayman maat :maat from comment #19)
>
>
> Yes, the question is how we deal with the downloading message while auto
> retrieve is on. If you think it's fine to leave the downloading message
> while auto retrieve is on, then we don't have to fix this issue;
so long as the process of downloading is actually taking place it seems ok to me to leave the 'downloading' message visible as it is feeding back to the end user that a process is occurring. If the download has errored, then we need to communicate the failure to the user
Flags: needinfo?(aymanmaat)
Updated•11 years ago
|
Whiteboard: [u=commsapps-user c=messaging p=0]
Comment 22•11 years ago
|
||
Close this bug because of comment 20 and 21.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•