Closed Bug 982439 Opened 10 years ago Closed 10 years ago

[Notifications API] Notification disappears from status bar when exiting and then reopening browser

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: sarsenyev, Unassigned)

References

Details

(Keywords: regression, Whiteboard: [systemsfe])

Attachments

(1 file)

Attached video Video31114.mp4
Description:
If close(home button) browser with API website and then reopen again, notifications disappear from the status bar

Repro Steps:
1) Updated Buri to Build ID: 20140304040200.
2) Go to http://mozqa.com/qa-testcase-data/webapi/notifications/index.html
3) Tap on "Request permission"
4) Upon permission granted, have title alone as "A" with tag x
5) Tap "Show Notification"
6) Press "Home" button to exit app
7) Open "Broswser again with WebAPI notification page

Actual:
The notification disappears from the status bar

Expected:
The notification doesn't disappear from the status bar, when exiting browser

1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140304040200
Gaia: 6df4533f14ec2645bb13d8a803a5151583ca13a8
Gecko: 529b86b92b1d
Version: 30.0a1
Firmware Version: v1.2-device.cfg

Repro frequency: 100%, 
https://moztrap.mozilla.org/manage/cases/?filter-id=9954
See attached: video
This is a known issue, right? I recall that we right now remove notifications for an app when we try to launch it.
Flags: needinfo?(mhenretty)
It's actually the other way around. For the new notification API, in 1.4, notifications should stick around until either the app manually closes them or the user dismisses them from the status tray. If this is happening in 1.4 this is definitely a bug.
Flags: needinfo?(mhenretty)
Whiteboard: [systemsfe]
Can we clarify what happens on 1.3?
Keywords: qawanted
Issue does not occur on the latest 1.3 Buri build

Environmental Variables:
Device: Buri 1.3 MOZ
BuildID: 20140314004002
Gaia: 932789749406a79c5630c27c724f1856bd3c3f10
Gecko: 0479f5480378
Version: 28.0
Firmware Version: V1.2-device.cfg
Keywords: qawanted
blocking-b2g: --- → 1.4?
I cannot reproduce this issue anymore, tried on a few devices even when I flashed to the reported broken build, the notification doesn't disappear anymore, don't know what caused the issue before

1.4 Environmental Variables:
Device: Buri 1.4 MOZ
BuildID: 20140314040202
Gaia: ea9e23abea5933656555d849b922c8da7530c90b
Gecko: fe40387eba1a
Version: 30.0a1
Firmware Version: v1.2-device.cfg
Status: NEW → RESOLVED
blocking-b2g: 1.4? → ---
Closed: 10 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: