Closed Bug 745765 Opened 12 years ago Closed 12 years ago

Reuse existing tab for same app launch in about:apps

Categories

(Firefox for Android Graveyard :: Web Apps (PWAs), defect)

ARM
Android
defect
Not set
normal

Tracking

(firefox14 verified, blocking-fennec1.0 soft)

VERIFIED FIXED
Firefox 14
Tracking Status
firefox14 --- verified
blocking-fennec1.0 --- soft

People

(Reporter: aaronmt, Assigned: mfinkle)

References

Details

(Keywords: regression)

Attachments

(1 file)

Currently when one launches the same application (as is currently running in a separate tab) in about:apps, a new tab is created.

STR:

i) https://apps.mozillalabs.com/appdir/ -- install any app
ii) about:apps, launch app (new tab is created)

Repeat ii., a new tab is created.

Shouldn't it reuse the existing tab?

--
Nightly (04/16)
Samsung Galaxy Nexus (Android 4.0.4)
I believe this was working when the first about:apps patch landed (reuse of the existing tab). Flagging as a regression.
Keywords: regression
See Also: → 745745
Implementation of this bug needs to be consistent with bug 745745.
Attached patch patchSplinter Review
The problem was the WebappsUI.openURL code was using aOrigin as the "cookie" but the homescreen intent was using the launch URI. This patch makes the WebappsUI.openURL code use the excact same code as the homescreen intent. Both paths use the launch URI as the "cookie" to tag a tab.
Assignee: nobody → mark.finkle
Attachment #615384 - Flags: review?(fabrice)
Note for testing - Make sure this is tested by launching the same application twice both from about:apps and from a homescreen shortcut.
Attachment #615384 - Flags: review?(fabrice) → review+
soft blocking nom. fixes launch behavior for webapps.
blocking-fennec1.0: --- → ?
blocking-fennec1.0: ? → soft
https://hg.mozilla.org/mozilla-central/rev/7b890b87bac9
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 14
Verified Fixed

Nightly (04/29)
Samsung Galaxy Note (Android 2.3), Samsung Galaxy Nexus (Android 4.0.4)
Status: RESOLVED → VERIFIED
Flags: in-moztrap?
Flags: in-moztrap? → in-moztrap?(aaron.train)
MozTrap: https://moztrap.mozilla.org/manage/case/258/
Flags: in-moztrap?(aaron.train) → in-moztrap+
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: