App "installed" message shown in different app

RESOLVED WONTFIX

Status

P3
normal
RESOLVED WONTFIX
3 years ago
3 years ago

People

(Reporter: atiqueahmedziad, Assigned: atomsagar, NeedInfo)

Tracking

Avenir
Points:
---

Details

(Whiteboard: [marketplace-transition])

Attachments

(1 attachment, 1 obsolete attachment)

Created attachment 8661363 [details]
bug.png

STP:
1. Go to Marketplace App on firefox os
2. Go to any app & click for install. 
3. While downloading that app, go to another app (before the app download is finished)
4. Stay on another app until the download finishes. Notice the installed message is shown is this app. 

Actual Result:
The "!installed" message is shown in another app which isn't installed.

Expected Result: 
The "!installed" message should not be shown on that another app which is not installed. Its confusing for the users.
Largely won't happen because of the OS interstitial. The user should expect this.
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → WONTFIX
Created attachment 8662387 [details]
1204984.mov

After talking to Atique about this for a bit, I better understand what's happening here, and I'm going to reopen it for additional triage.

STR (see attached video as well):
1) From an app detail page (OpenWapp, for example's sake), begin installation of that app.
2) Before the installation of OpenWapp is completed, navigate to a new app detail page (Jongla, for example's sake).
3) Wait for the installation of OpenWapp to finish.

Expected: when OpenWapp finishes installing, it would only show the "Installed!" message if you are viewing OpenWapp's app detail page.

Actual: when OpenWapp finishes installing, it shows the "Installed!" banner if you are on Jongla's detail page, or any app detail page at all.

We should add the ID of the app to the DOMRequest object returned by mozApps.install, and only add that "Installed!" banner if that ID matches the ID of the app detail page currently being viewed.
Attachment #8661363 - Attachment is obsolete: true
(Reporter)

Updated

3 years ago
Status: RESOLVED → REOPENED
Resolution: WONTFIX → ---
(Reporter)

Updated

3 years ago
Status: REOPENED → NEW
Mentor: charmston
Priority: -- → P3
(Assignee)

Comment 3

3 years ago
Hello, I would like to work on this bug. 
I am a KDE Contributor, looking forward to contribute to marketplace. I have build fireplace and marketplace is running perfectly on localhost.

Please assign it to me :)
(Reporter)

Comment 4

3 years ago
Great sagar! You can get a idea of the bug & fixing in comment 2 
I am assigning you & if you need any help, Chuck is here to help you :) 

Thanks for contributing in marketplace!
Assignee: nobody → atomsagar
Status: NEW → ASSIGNED
(Reporter)

Comment 5

3 years ago
Hey Sagar, 

Any progress on it?
Flags: needinfo?(atomsagar)
Mentor: charmston
Status: ASSIGNED → RESOLVED
Last Resolved: 3 years ago3 years ago
Resolution: --- → WONTFIX
Whiteboard: [marketplace-transition]
You need to log in before you can comment on or make changes to this bug.