Closed Bug 974196 Opened 10 years ago Closed 10 years ago

Button label is missing while installing an app AND after cancelling an install

Categories

(Marketplace Graveyard :: Consumer Pages, defect, P2)

Other
Android
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: krupa.mozbugs, Assigned: mstriemer)

References

Details

(Whiteboard: [cosmetic])

Attachments

(1 file)

Attached image screenshot
Android: 4.4.2
Firefox mobile: 30.0a1(2014-02-18)

steps to reproduce:
1. Load marketplace-dev on the latest firefox mobile nightly
2. In the 'New' tab, click on the install button

expected behavior:
After the click event, button label changes to loading spinner
Upon canceling the click event, button label returns to 'Free'

actual behavior:
After the click event, button label is blank
Upon canceling the click event, button label doesn't return to 'Free'
Assignee: nobody → mstriemer
Priority: -- → P2
Do you have ashes for this krupa? I have an update to make the work 'Free' return but I can't reproduce the no-spinner situation.
Flags: needinfo?(krupa.mozbugs)
Status: NEW → ASSIGNED
ashes: dfa51
Flags: needinfo?(krupa.mozbugs)
My update to hide the spinner when the user returns to marketplace causes the fxos packaged app installation spinner to hide as well. That spinner will automatically go away after 30 seconds but if the app downloads fairly quickly it will show a spinner until the download is completed.

It seems to me that cancelling the android app install dialog should trigger the error callback. This is what happens on fxos and why the spinner goes away there. On desktop the spinner keeps spinning but you can also click in the address bar to install later (although installing and cancelling multiple apps loses the ability to install).
I filed bug 978143 to get the `onerror` callback triggered when the user hits cancel.

As far as the image not loading I think that's related to the other image missing errors (back arrow, screenshot/list view, etc) and I'm hoping that caching those images may help. Andy reproduced the back arrow missing and it appeared to disappear after a GC cycle so maybe the image is dropped because it has no Expires header and then needs to be downloaded again (possibly bug in not downloading again?) https://dpaste.de/8i7W.
Depends on: 978143
Whiteboard: [cosmetic]
I think this is fixed with the latest platform changes.
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
verified fixed. Button state reverts to Free upon Cancel.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: