Closed Bug 1061088 Opened 10 years ago Closed 10 years ago

[Lockscreen] The time of the second notification overlaps with the time of the first notification when generating multiple notifications and taping the second one

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.1 verified)

VERIFIED FIXED
Tracking Status
b2g-v2.1 --- verified

People

(Reporter: gchang, Unassigned)

References

Details

(Keywords: regression, Whiteboard: [systemsfe])

Attachments

(1 file)

### Steps:
1. Generate multiple notifications in lockscreen. ex: make phone calls more than once.
2. Tap the second notification

### Expected:
1. The second notification should be selected. The background color should become darker.
2. The time should be changed to "open"

### Actual:
1. The second notification is not selected. But, the first notification is selected.
2. The time of the first notification "just now" become "open".
   The time of the second notification "just now" move up and overlap with the time of first notification "open".

### Reproduce rate
always

### Version:
Device    flame
Gaia      2be78d83a760fa3b9638fe51c266b442d14597f1
Gecko     https://hg.mozilla.org/mozilla-central/rev/1db35d2c9a2f
BuildID   20140831160203
Version   34.0a1
Summary: [Lockscreen] The time of the second notificati0on overlaps with the time of the first notification when generating multiple notifications and tap the second one → [Lockscreen] The time of the second notification overlaps with the time of the first notification when generating multiple notifications and tap the second one
Summary: [Lockscreen] The time of the second notification overlaps with the time of the first notification when generating multiple notifications and tap the second one → [Lockscreen] The time of the second notification overlaps with the time of the first notification when generating multiple notifications and taping the second one
[Blocking Requested - why for this release]:
blocking-b2g: --- → 2.1?
Attached image overlap.png
I've found this is caused by Bug 1038723 and it should be a regression. Because I reset --hard master to the patch, and it's still broken. After revert the patch from the master I reseted, it get fixed.
I do reset rather than directly revert because I can't revert it without any conflict. Anyway, the build now is without this bug after the reseting & reverting.

After revert my master tree now is:

118-168-132-181.dynamic.hinet.net snowmantw:~/Projects/gaia$
118-168-132-181.dynamic.hinet.net snowmantw:~/Projects/gaia$ git log
commit 7ce28c1bfb2c11e15aeb4aae60772293909eaa18
Author: Greg Weng <snowmantw@gmail.com>
Date:   Mon Sep 1 15:01:32 2014 +0800

    Revert "Merge pull request #23153 from gmarty/Bug-1038723-Utility-Tray-Visual-Refresh"

    This reverts commit be46e59bc351842fcda012f5b8f24b99cd70cc88, reversing
    changes made to c05ee27dd1f39e0f1cceb8bc7706e20f297cd9df.

commit be46e59bc351842fcda012f5b8f24b99cd70cc88
Merge: c05ee27 6aa3b64
Author: Guillaume C. Marty <gmarty@users.noreply.github.com>
Date:   Fri Aug 29 19:01:26 2014 +0100

    Merge pull request #23153 from gmarty/Bug-1038723-Utility-Tray-Visual-Refresh

    Bug 1038723 - [Utility Tray] Visual Refresh

commit c05ee27dd1f39e0f1cceb8bc7706e20f297cd9df
Merge: 01f3265 9543ba1
Author: Ben Francis <ben@tola.me.uk>
Date:   Fri Aug 29 18:57:24 2014 +0100

    Merge pull request #23440 from benfrancis/1058096

    Bug 1058096 - Add show windows button to Rocketbar on Browser start page r=kgrandon

commit 01f3265b74493d032f52cef8c5ed12810d9be78d

(...)
Whiteboard: [regression]
Correct regression flagging. 

Gerry? Is this considered a smoketest breakage? Should we simply backout this patch?
Blocks: 1038723
Flags: needinfo?(gchang)
Keywords: regression
Whiteboard: [regression] → [systemsfe]
This test is not covered by smoketest. It belongs to 2.1 new feature. So, I would not say it's a smoketest breakage.
Flags: needinfo?(gchang)
Fixed by backout, see bug 1038723 comment 37.
Status: NEW → RESOLVED
blocking-b2g: 2.1? → ---
Closed: 10 years ago
Resolution: --- → FIXED
(In reply to Gerry Chang [:cfchang] from comment #6)
> This test is not covered by smoketest. It belongs to 2.1 new feature. So, I
> would not say it's a smoketest breakage.

Notifications on lock screen is a feature since v1.0.1.

Jason, do we have any smoke tests about notifications on lock screen? Do you think it make sense to create one?
Flags: needinfo?(jsmith)
The touch action on notification is a new 2.1 feature. And, this bug will happen when user click the notification. So far, there is no test case covering the "touch-action" on notification.
(In reply to Gerry Chang [:cfchang] from comment #9)
> The touch action on notification is a new 2.1 feature. And, this bug will
> happen when user click the notification. So far, there is no test case
> covering the "touch-action" on notification.

Right. Sorry for the confusion. So the right question to ask is "should this new feature be included in the smoketest?"
Verified @
Gaia      7e469783859785a8bd4bf02a802f32561c84be7b
Gecko     https://hg.mozilla.org/mozilla-central/rev/372ce1f36116
BuildID   20140902160202
Version   35.0a1
(In reply to Tim Guan-tin Chien [:timdream] (MoCo-TPE) (please ni?) from comment #8)
> (In reply to Gerry Chang [:cfchang] from comment #6)
> > This test is not covered by smoketest. It belongs to 2.1 new feature. So, I
> > would not say it's a smoketest breakage.
> 
> Notifications on lock screen is a feature since v1.0.1.
> 
> Jason, do we have any smoke tests about notifications on lock screen? Do you
> think it make sense to create one?

Not right now. Marcia & I chatted about this - we both don't think we would include this as a smoketest mainly because we think lockscreen notifications breaking wouldn't be classified as bare bones functionality, since if it broke, then you could still use the basics of the phone.
Flags: needinfo?(jsmith)
Verified @
Gaia      90812662b9e0d3aba88882290c08971fdff98515
Gecko     https://hg.mozilla.org/releases/mozilla-aurora/rev/9da2a5828e56
BuildID   20140909160202
Version   34.0a2
Status: RESOLVED → VERIFIED
per comment 13, marking 2.1 branch verified.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: