Closed Bug 805734 Opened 12 years ago Closed 12 years ago

Frame location is not right when receiving an activity and the app was already open

Categories

(Firefox OS Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(blocking-basecamp:+)

RESOLVED DUPLICATE of bug 802564
blocking-basecamp +

People

(Reporter: alberto.pastor, Unassigned)

Details

- Open SMS app
- New SMS
- Click contacts icon
- You wil see an X to cancel the activity

Everything is right till here.

- Open contacts app first
- Repeat previous steps

You won't see a X to cancel the activity because is not detected as an inline activity.
Specifically, what happens is that [1] will return false because window.location.search is ''

[1] https://github.com/mozilla-b2g/gaia/blob/master/apps/communications/contacts/js/activities.js#L4
Blocks: 804487
No longer blocks: 804487
According to Alberto, Contact app is being launched before trying out SMS app (and contact picker) in the smoke test. This should be a blocking item and should be fixed ASAP.
blocking-basecamp: --- → ?
dup of bug 802564
Comment for STR this case:
need to trigger the web activity twice to reproduce the issue. The first time will be normal.

My STR:
- Open contacts app first
- Open SMS app
- New SMS
- Click contacts icon
- You wil see an X to cancel the activity
- Click X to cancel the activity
- Click contacts icon again
then you won't see a X to cancel the activity.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
Blocking since dupe of a blocker.
blocking-basecamp: ? → +
You need to log in before you can comment on or make changes to this bug.