Closed
Bug 859214
Opened 12 years ago
Closed 10 years ago
[Buri][Lockscreen]Unread event will miss after restart.
Categories
(Firefox OS Graveyard :: Gaia::System::Lockscreen, defect, P1)
Tracking
(blocking-b2g:-)
RESOLVED
DUPLICATE
of bug 874364
blocking-b2g | - |
People
(Reporter: sync-1, Unassigned)
Details
(Keywords: feature)
AU_LINUX_GECKO_ICS_STRAWBERRY_V1.01.00.01.19.053
Firefox os v1.0.1
Mozilla build ID: 20130327153857
+++ This bug was initially created as a clone of Bug #434508 +++
DEFECT DESCRIPTION:
[Lockscreen]Unread event will miss after restart.
REPRODUCING PROCEDURES:
1.Short press power key to lock screen,make an incoimg call/SMS,don't deal with it.
2.Short press power key to light screen,check both lock screen and notification display missed call/SMS .
3.Long press power key to restart,check both lock screen and notification don't display missed call/SMS .->ko
comment:Long press power key to power off then power on or plug out battery then insert,has the same result as restart.
EXPECTED BEHAVIOUR:
Both lock screen and notification display missed call/SMS .
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
3/3
For FT PR, Please list reference mobile's behavior:
++++++++++ end of initial bug #434508 description ++++++++++
CONTACT INFO (Name,Phone number):
DEFECT DESCRIPTION:
REPRODUCING PROCEDURES:
EXPECTED BEHAVIOUR:
ASSOCIATE SPECIFICATION:
TEST PLAN REFERENCE:
TOOLS AND PLATFORMS USED:
USER IMPACT:
REPRODUCING RATE:
For FT PR, Please list reference mobile's behavior:
Comment 1•12 years ago
|
||
It seems the unread notifications should storied in DB.
Updated•12 years ago
|
blocking-b2g: --- → tef?
Comment 2•11 years ago
|
||
triage: only blocking if it is not showing up in both notification bar/lock screen. if it's showing in notification bar (just not on lock screen), should not block.
QAWANTED to confirm and alive, can you look into it? if you are overlaoded, please reassign. thanks
Comment 3•11 years ago
|
||
Verified this.
Alive: if you're busy I can take this.
Comment 4•11 years ago
|
||
(In reply to janjongboom from comment #3)
> Verified this.
>
> Alive: if you're busy I can take this.
I'm looking into this, thanks!
Comment 5•11 years ago
|
||
As comment 1 said, we don't store any notification. Once the phone is rebooted(by crashing or other cause), any notification would be lost.
Comment 6•11 years ago
|
||
I am not sure if we should store "any" notification in system.
AFAIK android doesn't store unread notifications by OS itself, but some of the apps may re-notify the user after rebooting.
For this we are also unable to have the app acquire "we are booting" before it is opened.
This smells like a late feature..
Comment 7•11 years ago
|
||
Workaround idea: store the notifications and when someone clicks it after reboot just launch the corresponding app, we lose the context of the notification (doesn't jump to the right path in the app) but this would solve it for SMS + Phone at least.
Comment 8•11 years ago
|
||
It looks to me a hack to store every notification's whole data. Think about an app is keeping sending notifications accidentally or intentionally, the system app would keep doing I/O when that happens.
We ought to let gecko store the notificationID before system app sends 'desktop-notification-click' or 'desktop-notification-close' mozContentEvent to gecko, and when next time booting, send mozChromeEvent to system-app again if so.
Comment 9•11 years ago
|
||
(In reply to Alive Kuo [:alive] from comment #8)
> It looks to me a hack to store every notification's whole data. Think about
> an app is keeping sending notifications accidentally or intentionally, the
> system app would keep doing I/O when that happens.
>
> We ought to let gecko store the notificationID before system app sends
> 'desktop-notification-click' or 'desktop-notification-close' mozContentEvent
> to gecko, and when next time booting, send mozChromeEvent to system-app
> again if so.
And, if gaia needs to do some data store, we may have trouble because save/restore are both asynchronously, which results in race condition.
Comment 10•11 years ago
|
||
Daniel, the risk vs reward here seems quite low. Can you evaluate to see if TEF requires this to actually block the release?
Flags: needinfo?(dcoloma)
Whiteboard: [status: needs TEF input]
Comment 11•11 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #10)
> Daniel, the risk vs reward here seems quite low. Can you evaluate to see if
> TEF requires this to actually block the release?
Agree we should consider again if this is blocking tef release, because this looks like a late feature request. It's worthy to be leo+ or tracking-b2g+ but I recommend don't do this in tef timeframe to avoid regression.
Comment 12•11 years ago
|
||
(In reply to Alive Kuo [:alive] from comment #8)
>
> We ought to let gecko store the notificationID before system app sends
> 'desktop-notification-click' or 'desktop-notification-close' mozContentEvent
> to gecko, and when next time booting, send mozChromeEvent to system-app
> again if so.
yes, I agree. The problem should solved at Gecko level
Comment 13•11 years ago
|
||
(In reply to Dietrich Ayala (:dietrich) from comment #10)
> Daniel, the risk vs reward here seems quite low. Can you evaluate to see if
> TEF requires this to actually block the release?
I already pointed out during triage that we should not fix this for v1.0.1, tef- is then. Should we nominate it for leo?
blocking-b2g: tef+ → -
Flags: needinfo?(dcoloma) → needinfo?(dietrich)
Whiteboard: [status: needs TEF input]
Updated•11 years ago
|
blocking-b2g: - → leo?
Comment 14•11 years ago
|
||
This is a feature request given the current implementation, would need to be discussed with the product team if it were to be prioritized for v1.1.
blocking-b2g: leo? → -
Keywords: feature
Comment 15•11 years ago
|
||
(In reply to Alex Keybl [:akeybl] from comment #14)
> This is a feature request given the current implementation, would need to be
> discussed with the product team if it were to be prioritized for v1.1.
shall we keep the leo? flag or use another flag before the final conclusion is reached?
which v1.next version is planned?
Updated•11 years ago
|
Flags: needinfo?(dietrich)
Comment 16•10 years ago
|
||
This one is already implemented in master(2.2), I am not sure what's the bug number...
Alex? Could you dupe it?
Assignee: alive → nobody
Flags: needinfo?(lissyx+mozillians)
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(lissyx+mozillians)
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•