Closed Bug 1054489 Opened 10 years ago Closed 10 years ago

Launching the Browser should open the most recent instance of the Browser

Categories

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

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID
2.1 S3 (29aug)

People

(Reporter: djabber, Unassigned)

References

Details

Attachments

(1 file)

After dogfooding the device, it feels too difficult to resume the most recent browsing session. 

Tapping on the browser icon from the home screen should resume the most recent browsing session instead of launching a new browsing session.
I'm not sure how we'd implement this. The browser icon launches the search app just like any other app. Changing the behaviour of an app icon to display the most recently viewed browser window instead of launching the app would require some serious hacks.
Blocks: 938288
No longer blocks: rocketbar-mvp
Alive - would you be ok with special-casing an app launch when we detect role="search" in the manifest? Instead of launching the search app, we would launch the last browser window.
Flags: needinfo?(alive)
Is that going to be enough? I assume when the user presses 'new tab/window' in the overflow menu the start page should be shown, couldnt think of how to differentiate
(In reply to Dale Harvey (:daleharvey) PTO 12th August from comment #3)
> Is that going to be enough? I assume when the user presses 'new tab/window'
> in the overflow menu the start page should be shown, couldnt think of how to
> differentiate

The overflow menu lives in the system app, so we should be able to have that launch the app no problem, while intercepting launch requests for the app elsewhere.
Kevin, your proposal seems work, but I am a little confused..
What is the plan for "browser app" in the future? Don't we want to remove it anymore?
How to easily open a new browser window, is it touching rocketbar input?
Also, how to define "the latest browser window"? The ordering in the stack?
Flags: needinfo?(alive)
(In reply to Alive Kuo [:alive][NEEDINFO!] from comment #5)
> Kevin, your proposal seems work, but I am a little confused..
> What is the plan for "browser app" in the future? Don't we want to remove it
> anymore?

We are removing the browser app, yes - but we are replacing the icon with the search app icon. It's a little silly tbh. 

> How to easily open a new browser window, is it touching rocketbar input?

This would generally be opened by tapping on the browser icon in the homescreen, or using the option menu in a browser frame.

> Also, how to define "the latest browser window"? The ordering in the stack?

Yes, I'm thinking something like this - or potentially storing a reference to the last opened one somewhere.
Closing as this is superceeded by https://bugzilla.mozilla.org/show_bug.cgi?id=1057669

Gonna needinfo Francis just to be on the safe side, just clear the needinfo if alls good
Flags: needinfo?(fdjabri)
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INVALID
(In reply to Dale Harvey (:daleharvey) from comment #7)
> Closing as this is superceeded by
> https://bugzilla.mozilla.org/show_bug.cgi?id=1057669
> 
> Gonna needinfo Francis just to be on the safe side, just clear the needinfo
> if alls good

That's right, this has been superseded.
Flags: needinfo?(fdjabri)
See Also: → 1197517
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: