Closed
Bug 946678
Opened 11 years ago
Closed 11 years ago
[Messaging] Creating a new message from contacts does not open the messaging composer when Messaging app is in background
Categories
(Firefox OS Graveyard :: Gaia::SMS, defect)
Tracking
(blocking-b2g:1.3+, firefox28 affected, b2g-v1.3 fixed)
VERIFIED
FIXED
blocking-b2g | 1.3+ |
People
(Reporter: isabelrios, Assigned: julienw)
References
Details
(Keywords: regression)
Attachments
(1 file)
1.15 KB,
patch
|
borjasalguero
:
review+
|
Details | Diff | Splinter Review |
12/05 Master build:
Gecko-c37a72b
Gaia-6a20f5a
STR
There should be a contact with phone number stored in the device.
1. Open Messaging app
2. Tap on Home key to leave it in background
3. Open contacts app -> Select one contact
4. On the details view, tap on 'message' icon to send a message
EXPECTED
The composer messaging view is open with the field 'To' pre-filled with the contact's name
ACTUAL
When tapping on message icon, Messaging app is open but in the messages list view, not in the composer one.
Assignee | ||
Updated•11 years ago
|
Keywords: regressionwindow-wanted
.:Last Working Build:.
Environmental Variables:
Device: Buri 1.3 mozRIL
BuildID: 20131024154023
Gaia: 2feebdb1a2583928f32407d76d798f8654621e2b
Gecko: 19fd3388c372
Version: 27.0a1
Firmware Version: 20131115
.:First Broken Build:.
Environmental Variables:
Device: Buri 1.3 mozRIL
BuildID: 20131025040252
Gaia: 15c1089aea0490b9b73bc915b1495b3faa1b023c
Gecko: 5a9ac6fed6ff
Version: 27.0a1
Firmware Version: 20131115
status-firefox28:
--- → affected
Keywords: regressionwindow-wanted
Assignee | ||
Comment 4•11 years ago
|
||
I think I don't understand how inline activities work.
If I continue the STR with these steps:
5. press home
6. open the Messages app from the icon
=> the behavior shown is what was expected in the first place
So it means the SMS app is doing correctly the intended actions, but not in the good "window".
Alive, can you please help me understand how this works?
Flags: needinfo?(alive)
Assignee | ||
Comment 5•11 years ago
|
||
Discussing with folks here, I think the system message is not sent to the right window.
Assignee | ||
Comment 6•11 years ago
|
||
The SMS app is the only app with an inline activity that does not specify a specific href page, so that could be the reason it happens only here.
Assignee | ||
Comment 7•11 years ago
|
||
This is happening because of bug 931339.
Now we can workaround it by adding a different href to the activity. Will do that now.
Assignee: nobody → felash
Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(alive)
Assignee | ||
Comment 8•11 years ago
|
||
Adds a hash for the "new" activity. This will have the side-effect of not
registering the notification and sms-received system message handlers which is a
good thing.
---
apps/sms/manifest.webapp | 1 +
1 file changed, 1 insertion(+)
The github pull request is: https://github.com/mozilla-b2g/gaia/pull/14463
Note: you'll need to use "make reset-gaia" to update the activities.
Attachment #8343735 -
Flags: review?(borja.bugzilla)
Assignee | ||
Comment 9•11 years ago
|
||
Hey Zac,
I don't know if you already have an integration test for the "send sms" activity from the Contacts app. We need to have an integration test for this activity, and with three cases:
* once with the messages app already started in background
* once with the messages app closed
* twice with the messages app closed (ie. pressing "home" after launching the activity, relaunching the Contacts app, and restarting the activity)
Flags: needinfo?(zcampbell)
Comment 11•11 years ago
|
||
This reminds me to it's better to have a diagram chart to describe how system message works in window management.
Comment 12•11 years ago
|
||
Comment on attachment 8343735 [details] [diff] [review]
patch v1
Review of attachment 8343735 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks Julien for identifying the issue here, it's quite tough to identify the issue and with the workaround is working (I've not found any other regression). Thanks for the quick patch.
On the other hand Im wondering if 'Share' activity needs as well to be inline, Wdyt? Do we have any bug for working on this?
Attachment #8343735 -
Flags: review?(borja.bugzilla) → review+
Assignee | ||
Comment 13•11 years ago
|
||
(In reply to Borja Salguero [:borjasalguero] from comment #12)
> Comment on attachment 8343735 [details] [diff] [review]
> patch v1
>
> Review of attachment 8343735 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Thanks Julien for identifying the issue here, it's quite tough to identify
> the issue and with the workaround is working (I've not found any other
> regression). Thanks for the quick patch.
>
> On the other hand Im wondering if 'Share' activity needs as well to be
> inline, Wdyt? Do we have any bug for working on this?
Yep, this is bug 936729 :)
thanks for the review!
Assignee | ||
Comment 14•11 years ago
|
||
master: 9bc5f1fd67b42404db3e80e7ef5eb8b9f0802c59
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 15•11 years ago
|
||
Clearing in? as julienw filed these as individual tasks.
Flags: needinfo?(zcampbell)
Comment 16•11 years ago
|
||
Uplifted 9bc5f1fd67b42404db3e80e7ef5eb8b9f0802c59 to:
v1.3: 5861e78e94c5d5e23be63bc42ea4bbc3df1ef43a
status-b2g-v1.3:
--- → fixed
Reporter | ||
Comment 17•11 years ago
|
||
Verified on latest buri 1.3 build (01/08):
Gecko-e499b1f
Gaia-d578331
The Messages app is open correctly in message composer view.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•