Closed Bug 1147786 Opened 9 years ago Closed 9 years ago

[Flame][Homescreen]When you quickly double-click "X" icon to delete a collection, two "Delete" boxs pop up.

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(b2g-v2.2 affected, b2g-master verified)

RESOLVED FIXED
2.2 S9 (3apr)
Tracking Status
b2g-v2.2 --- affected
b2g-master --- verified

People

(Reporter: wangxin, Assigned: cwiiis)

References

Details

(Keywords: polish, Whiteboard: [systemsfe])

Attachments

(3 files)

[1.Description]:
[Flame][v2.2&3.0][Homescreen]When you quickly double-click  "X" icon on homescreen editing mode to delete a collection, two collections have been selected.
See Video: "0501.mp4"
See log:"logcat_0501.txt"
Found Time:05:01

[2.Testing Steps]: 
1. Long press a collection to invoke "Edit" mode.
2. Quickly double-click  "X" icon of the collection.


[3.Expected Result]: 
2. Only one collection has been selected.

[4.Actual Result]: 
2. Two collections have been selected.

[5.Reproduction build]: 
Flame 2.2 (Affected)
Build ID               20150325162500
Gaia Revision          2d42a7c1d99472780e3aeb2e16d7cb0a4adbd222
Gaia Date              2015-03-25 20:46:52
Gecko Revision         https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/ebb742bfe1a4
Gecko Version          37.0
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150325.200218
Firmware Date          Wed Mar 25 20:02:30 EDT 2015
Bootloader             L1TC000118D0

Flame 3.0: (Affected)
Build ID               20150325160204
Gaia Revision          508b8d48fb5ecf08bf0e5b4fef42bc48b770e7f2
Gaia Date              2015-03-25 16:54:53
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/f40ee067d081
Gecko Version          39.0a1
Device Name            flame
Firmware(Release)      4.4.2
Firmware(Incremental)  eng.cltbld.20150325.191758
Firmware Date          Wed Mar 25 19:18:07 EDT 2015
Bootloader             L1TC000118D0

[6.Reproduction Frequency]: 
Always Recurrence,5/5

[7.TCID]: 
Free Test
Attached video Bug video: 0501.MP4
Keywords: polish
Whiteboard: [systemsfe]
Assignee: nobody → chrislord.net
Status: NEW → ASSIGNED
Comment on attachment 8584489 [details] [review]
[gaia] Cwiiis:bug1147786-homescreen-delete-multiple-dialogs > mozilla-b2g:master

I couldn't actually replicate, but I modified grid to just send the signal twice and indeed witnessed two dialogs. I've fixed the issue in verticalhome and added a unit test for it.
Attachment #8584489 - Flags: review?(kgrandon)
Comment on attachment 8584489 [details] [review]
[gaia] Cwiiis:bug1147786-homescreen-delete-multiple-dialogs > mozilla-b2g:master

The code looks fine to me. Please fix the lint error and reland.

apps/verticalhome/test/unit/app_manager_test.js: line 40, col 9, 'dialogStub' is defined but never used. (ERROR)
Attachment #8584489 - Flags: review?(kgrandon) → review+
Keywords: checkin-needed
http://docs.taskcluster.net/tools/task-graph-inspector/#M31lXx7qSBKs_P_LOJugAA

The pull request failed to pass integration tests. It could not be landed, please try again.
Tests look fine to me, I think this was just some TC problems which we are working on.

In master: https://github.com/mozilla-b2g/gaia/commit/72d400bc43c7221210b9bf0c8dedafa8775ea5db
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S9 (3apr)
This issue has been verified successfully on latest build of Flame 3.0 with the same steps in comment 0
Flame 3.0:
Build ID               20150329010203
Gaia Revision          67ad91f3f660b1f16b354ee4c5159ddc5a74d149
Gaia Date              2015-03-28 10:02:40
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/385840329d91
Gecko Version          39.0a1
Device Name            flame
Firmware(Release)      4.4.2
Reproduce rate         0/5
Hi Kevin,

This bug has been fixed on master, but not yet on flame v2.2. Will it be fixed on v2.2? 

Thanks:)
Flags: needinfo?(kgrandon)
(In reply to Norry.L.F from comment #8)
> This bug has been fixed on master, but not yet on flame v2.2. Will it be
> fixed on v2.2? 

I don't know, do we have to block to uplift?
blocking-b2g: --- → 2.2?
Flags: needinfo?(kgrandon)
Not blocking since the user impact is acceptable. Lets go the uplift approval way if we want this in 2.2
blocking-b2g: 2.2? → ---
Depends on: 1208219
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: