Closed Bug 1003321 Opened 10 years ago Closed 10 years ago

[B2G] [Open C] [Homescreen] App icon copies can appear when moving apps between dock and homescreen

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(blocking-b2g:1.4+, b2g-v1.4 fixed, b2g-v2.0 unaffected)

RESOLVED FIXED
2.0 S2 (23may)
blocking-b2g 1.4+
Tracking Status
b2g-v1.4 --- fixed
b2g-v2.0 --- unaffected

People

(Reporter: ckreinbring, Assigned: aus)

References

Details

(Keywords: regression, Whiteboard: OpenCrun1.4-3 [systemsfe][p=3])

Attachments

(4 files)

Description:
Moving app icons quickly between the dock and the homescreen can cause copies of the icon to appear.  These copies persist through page changes, app launches and screen lock/unlocks.  The only way to get rid of the copies is to restart the device.

Repro Steps:
1) Update Open C to Build ID: 20140428000206
2) Fill the homepage and dock with icons.  Source doesn't matter.
3) Flick an app from the dock to the homescreen.
4) Quickly tap the next app to move before the icons have a chance to relocate to compensate for the missing app.
5) Flick the selected app to the homescreen and observe the device's reaction.

Actual:
After moving, a second version of the icon (that cannot be interacted with) appears on the screen.  This copy persists on the screen until the device is restarted.

Expected:
The icons are moved to the appropriate location every time without errors.

Environmental Variables
Device: Open C 1.4 mozilla RIL
Build ID: 20140428000206
Gecko: https://hg.mozilla.org/releases/mozilla-aurora/rev/36f67ce46855
Gaia: d23e479e8a4ce0bc620acb2d7e2f82801aa4d0ea
Platform Version: 30.0a2
Firmware Version: P821A10-ENG_20140410

Notes:
Repro frequency: 20%
Link to failed test case: https://moztrap.mozilla.org/manage/cases/?filter-id=9254
See attached screenshot, video clip and logcat
The bug also repros when moving an app from the homescreen to the dock
Does not repro on Buri 1.4 mozilla RIL

Build ID: 20140428000206
Gecko: https://hg.mozilla.org/releases/mozilla-aurora/rev/36f67ce46855
Gaia: d23e479e8a4ce0bc620acb2d7e2f82801aa4d0ea
Platform Version: 30.0a2
Firmware Version: V1.2-device.cfg
Does this reproduce with the 1.3 Open C base image?
Keywords: qawanted
I was unable to reproduce this issue on the Open C 1.3 after 10 attempts

1.3 Environmental Variables:
Device: Open_C 1.3
BuildID: 20140505052400
Gaia: Unknown Git commit; build date shown here.
Gecko:
Version: 28.0
Firmware Version: P821A10-ENG_20140410
Keywords: qawanted
Can we check if this reproduces with the latest gaia/gecko on 1.4 with the latest Open C base image?
Keywords: qawanted
Assignee: nobody → jschmitt
(In reply to Jason Smith [:jsmith] from comment #6)
> Can we check if this reproduces with the latest gaia/gecko on 1.4 with the
> latest Open C base image?

Tested this issue on the latest 1.4 Open_C build and on the latest Open_C base image. 

The issue reproduces, a second version of the same app is shown on the screen.

1.4 Environmental Variables:
Device: Open_C 1.4
BuildID: 20140506000202
Gaia: b1242f33981024de59b8b4c26bacff8b876211b1
Gecko: fe4080728c60
Version: 30.0
Firmware Version: FFOS_US_EBAY_P821A10V1.0.0B06_LOG_DL
Assignee: jschmitt → nobody
Keywords: qawanted
blocking-b2g: --- → 1.4?
Moving to 1.4 blocker.
blocking-b2g: 1.4? → 1.4+
blocking-b2g: 1.4? → 1.4+
Assignee: nobody → jschmitt
Assignee: jschmitt → nobody
QA Contact: jschmitt
Issue repros on the first tinderbox 1.4 Open_C build, unable to get a regression window.

1.4 Environmental Variables:
Device: Open_C 1.4
BuildID: 20140424123005
Gaia: fc95009476fac9ce205a59b237d146ca7f6f42e7
Gecko: 37237034e45c
Version: 30.0a2
Firmware Version: P821A10V1.0.0B06_LOG_DL
QA Contact: jschmitt
Cristian, any idea whats going on here?
Flags: needinfo?(crdlc)
Honestly I don't have idea what it's happening here, sorry for that. I don't have this device and it seems that it is only reproducing there according to this thread. Is it reproducible in other devices?

(In reply to Gregor Wagner [:gwagner] from comment #10)
> Cristian, any idea whats going on here?
Flags: needinfo?(crdlc)
Target Milestone: --- → 2.0 S2 (23may)
Assignee: nobody → aus
Whiteboard: OpenCrun1.4-3 → OpenCrun1.4-3 [systemsfe]
Status: NEW → ASSIGNED
I'm having a lot of trouble reproducing this issue on my Open C with the latest v1.4 build. Same firmware version as listed. Is there any tips or tricks I'm missing to reproduce this a little bit more consistently?
Adding steps-wanted to see if we can get better STR to reproduce this.
Keywords: steps-wanted
QA Contact: lmauritson
I was able to reproduce this issue with the following steps:

1) Update and Open_C to build 20140514000204
2) Enable Wifi and go to the Marketplace and download around 15 apps.
3) Fill page 2 (One page to the right of the e.me page) with as many app icons as it can hold.
4) Fill the dock bar with as many app icons as it can hold.
5) Press and hold to enable icon moving and move an app icon from the dock to the homescreen above.
6) Quickly grab and try to move another app icon from the dock to the homescreen above (Try to do this before all the icons finish rearranging themselves)
7) Repeat steps 3 to 6 until an enlarged app icon persists on the screen. 
(Some icons may need to be moved back into position to fill the screen / dock)

This took about 5 attempts.
Keywords: steps-wanted
Boom! There it is.

E/GeckoConsole( 1021): [JavaScript Error: "TypeError: draggableElem.parentNode is null" {file: "app://homescreen.gaiamobile.org/gaia_build_defer_index.js" line: 106}]
Keywords: qawanted
Aus - What's the reason for the qawanted request?
Flags: needinfo?(aus)
Keywords: qawanted
Whiteboard: OpenCrun1.4-3 [systemsfe] → OpenCrun1.4-3 [systemsfe][p=3]
Comment on attachment 8424233 [details] [review]
Pull Request - Cherry picked changeset from master that seems to fix the issue on my OpenC

LGTM the patch
Attachment #8424233 - Flags: review?(crdlc) → review+
This only required a merge of a pre-existing change-set from master. 2.0 is unaffected.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Verified on both Open_C and Flame 1.4
Status: RESOLVED → VERIFIED
Checked previous base image (P821A10-ENG_20140410) and the issue still repro'd, so I am setting it back to Resolved - Fixed

1.4 Environmental Variables:
Device: Open_C 1.4 MOZ
BuildID: 20140523000202
Gaia: 16f7ef17feb08562aa6a3cfd6d561b2fcca652c0
Gecko: 9cc96d59cc30
Version: 30.0
Firmware Version: P821A10-ENG-20140410
Status: VERIFIED → RESOLVED
Closed: 10 years ago10 years ago
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: