Closed
Bug 1122205
Opened 10 years ago
Closed 6 years ago
Add a |.cancel()| method to WebActivities
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
People
(Reporter: jmitchell, Unassigned)
References
()
Details
(Keywords: feature, Whiteboard: [3.0-Daily-Testing][systemsfe])
Attachments
(1 file)
103.51 KB,
text/plain
|
Details |
Description:
When you select an image from an MMS thread you are taken to a larger sized preview of that image. If you are on this screen (or it is open but in a minimized window) when you receive another MMS and select the relevant notification from the notification menu you will be taken to the messenger app but still see the picture preview (with keyboard brought up). If you back out of this picture preview you will be in the new MMS thread.
This only occurs with picture preview and not with video preview.
It is basically opening the correct MMS thread BEHIND the picture preview.
Repro Steps:
1) Update a Flame to 20150115010229
2) Receive a MMS with a picture attached
3) Go to this MMS and select the picture
4) Receive another MMS from a different sending device (picture optional)
5) Pull down the notification menu and select the MMS notification
Notes: In step 4 the same device as used in step 2 can be used but if you do not minimize the messenger app then the notification will not appear in the notification menu, so using a different device better illustrates the bug.
Actual:
The user is taken back to the picture priview
Expected:
The user will be taken to the appropriate MMS view relevant to the selected MMS notification.
Environmental Variables:
Device: Flame Master
Build ID: 20150115010229
Gaia: bcc76f93f5659ac1eb8a769167109fd2d7ca4fbd
Gecko: c1f6345f2803
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 38.0a1 (Master)
Firmware Version: V18d-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0
Repro frequency: 6/6
See attached: logcat
--------------------------------------------------------------------
This also occurs on 2.2 (V18d-1), 2.2 (V18d), 2.1 (V18d-1), and 2.0 (v18d-1)
Device: Flame Master
Build ID: 20150115010229
Gaia: bcc76f93f5659ac1eb8a769167109fd2d7ca4fbd
Gecko: c1f6345f2803
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 38.0a1 (Master)
Firmware Version: V18d-1
User Agent: Mozilla/5.0 (Mobile; rv:38.0) Gecko/38.0 Firefox/38.0
Device: Flame 2.2 (KK - Nightly - Full-Flashed)
Build ID: 20150114002502
Gaia: 7c5b27cad370db377b18a742d3f3fdb0070e899f
Gecko: 748b20315f75
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 37.0a2
Firmware Version: V18d-1
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
Device: Flame 2.2 (KK - Nightly - Full-Flashed)
Build ID: 20150115002505
Gaia: 7c5b27cad370db377b18a742d3f3fdb0070e899f
Gecko: ce27f2692382
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 37.0a2 (Master)
Firmware Version: V18d
User Agent: Mozilla/5.0 (Mobile; rv:37.0) Gecko/37.0 Firefox/37.0
Device: Flame 2.1 (KK - Nightly - Full-Flashed)
Build ID: 20150113001255
Gaia: 836e6d74cb8b7016df555f85445893b3ff9aac12
Gecko: 074f79a929d2
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 34.0 (2.1)
Firmware Version: V18d-1
User Agent: Mozilla/5.0 (Mobile; rv:34.0) Gecko/34.0 Firefox/34.0
Device: Flame 2.0 (KK - Nightly - Full-Flashed)
Build ID: 20150113000203
Gaia: 31d6c9422cd0a8213df9f96019c9ab7168ec3ab3
Gecko: c6fd5db59e0e
Gonk: a814b2e2dfdda7140cb3a357617dc4fbb1435e76
Version: 32.0 (2.0)
Firmware Version: V18d-1
User Agent: Mozilla/5.0 (Mobile; rv:32.0) Gecko/32.0 Firefox/32.0
Reporter | ||
Updated•10 years ago
|
QA Whiteboard: [QAnalyst-Triage?]
Flags: needinfo?(pbylenga)
Comment 1•10 years ago
|
||
NI on component owner for nomination decision and assignment. It's not a regression, possibly polish.
QA Whiteboard: [QAnalyst-Triage?] → [QAnalyst-Triage+]
Flags: needinfo?(pbylenga) → needinfo?(npark)
Comment 2•10 years ago
|
||
so it sounds like it switches to the appropriate MMS preview, but happens in the background while still seeing the picture preview. Since it's not a regression, and resolution is relatively straightforward, i don't think it is worth blocking.
Flags: needinfo?(npark)
Comment 3•10 years ago
|
||
No-Jun, do you know which developer is the owner?
Flags: needinfo?(nojun.park)
Comment 4•10 years ago
|
||
This looks to me the systems front end bug. Johan, do you know who is the owner of this component?
Flags: needinfo?(nojun.park) → needinfo?(jlorenzo)
Comment 5•10 years ago
|
||
Naoki is in charge of SystemsFE, redirecting the NI to him. Also, Gregor Wagner is the dev manager of this team.
Flags: needinfo?(jlorenzo) → needinfo?(nhirata.bugzilla)
Whiteboard: [3.0-Daily-Testing] → [3.0-Daily-Testing][systemsfe]
Reporter | ||
Comment 6•10 years ago
|
||
Added a video of the issue: http://youtu.be/HOT4V0ZjxGs
I notified gwagner of this bug; I am still keeping the needinfo on me to follow up on this.
Hey Michael? I was wondering if you might be able to take a gander at this please?
It's been happening since 2.0, though I think for UX it might be good to fix.
Flags: needinfo?(nhirata.bugzilla) → needinfo?(mhenretty)
Comment 9•10 years ago
|
||
The problem is, right now there is no way for an app to cancel a pending activity. So to fix this we would need to cancel any pending activities whenever a notification was clicked. I'm not sure this is desireable for all cases.
In my mind, the best fix for this would be to allow web activities to be cancelled so that sms could close this activity when it received a click event. This gives apps the most flexibility.
Alive, do you have any thoughts on what we can do here?
Flags: needinfo?(mhenretty) → needinfo?(alive)
Comment 10•10 years ago
|
||
(In reply to Michael Henretty [:mhenretty] from comment #9)
> The problem is, right now there is no way for an app to cancel a pending
> activity. So to fix this we would need to cancel any pending activities
> whenever a notification was clicked. I'm not sure this is desireable for all
> cases.
>
> In my mind, the best fix for this would be to allow web activities to be
> cancelled so that sms could close this activity when it received a click
> event. This gives apps the most flexibility.
>
> Alive, do you have any thoughts on what we can do here?
This is a really interesting and fresh issue!
After thinking, as you said, cancelling the web activity programatically is a general solution to go.
Let's seek Fabrice's help or he might be able to advise more because he wrote most web activity gecko implementation.
Fabrice, do you think this is do-able and something we should do?
Flags: needinfo?(alive) → needinfo?(fabrice)
Comment 11•10 years ago
|
||
Yep, interesting use case! I think we can add a cancel() method to https://mxr.mozilla.org/mozilla-central/source/dom/webidl/MozActivity.webidl#15
The tricky part will be to get everything in place to let gaia know which frame to close.
Flags: needinfo?(fabrice)
Comment 12•10 years ago
|
||
[Blocking Requested - why for this release]:
Based on previous discussion, I think it is a new feature for web activity. Besides, it is also required for better user experience. Nominate this bug as a 3.0 blocker for following actions.
blocking-b2g: --- → 3.0?
Comment 13•10 years ago
|
||
For product triage.
Comment 14•9 years ago
|
||
[Blocking Requested - why for this release]:
blocks 2.5+ bug 1149345
We need a way to cancel an existing activity from the initiating app.
Blocks: 1149345
blocking-b2g: --- → 2.5?
Updated•9 years ago
|
Flags: needinfo?(wmathanaraj) → needinfo?(ffos-product)
Comment 15•9 years ago
|
||
Given the User Experience impact of this, we should get it into 2.5.
Flags: needinfo?(ffos-product)
Comment 16•9 years ago
|
||
Not a blocker based on our blocking criteria. We can add it to the feature-b2g list.
blocking-b2g: 2.5? → ---
Comment 17•9 years ago
|
||
Gregor, then please remove the blocking statu from bug 1149345 as well.
Flags: needinfo?(anygregor)
Updated•9 years ago
|
Flags: needinfo?(anygregor)
Updated•9 years ago
|
Updated•9 years ago
|
Component: Gaia::System::Window Mgmt → DOM
Product: Firefox OS → Core
Summary: [Windows Management] Tapping on SMS / MMS notification fails to take user to the correct screen when messenger app previously in picture preview from tapping on received picture. → Add a |.cancel()| method to WebActivities
Assignee | ||
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
Comment 18•6 years ago
|
||
I don't think we need to spend time on this; closing
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•