Open Bug 865594 Opened 11 years ago Updated 2 years ago

add API to hibernate and stash tabs & windows

Categories

(Firefox :: Session Restore, enhancement)

enhancement

Tracking

()

People

(Reporter: fb+mozdev, Unassigned)

References

Details

I'd like to be able to hibernate and stash windows, i. e. doing the same as closing Firefox (and re-open later with returning to previous session, possibly loading tabs on demand) just for individual windows. To hibernate a window, there should be an option to do so in the "window" menu. A window's state is preserved (just like when closing Fx, so no entirely new infrastructure is required) and then the window is closed (stashed), accessible for re-opening via the "window" menu. When re-opening, tabs are restored as when you were reopening Firefox with the previous session (tabs load on demand according to the existing global setting). 

Sessionstore needs to be extended to support the hibernate flag of windows (I don't know if Sessionstore supports keeping a window's tabs together, if not this functionality has to be added, too). 

This is a first step towards removing Panorama: Tab groups are morphed into (hibernated) windows. Then you can actually have multiple Panorama groups open at the same time (well, they are windows ;-) ). Add-ons can then provide alternative UI (e. g. like the current Panorama implementation).
Severity: normal → enhancement
Tentatively moving to session restore because there the code is most likely to live in.
Status: UNCONFIRMED → NEW
Component: Untriaged → Session Restore
Ever confirmed: true
Summary: add method to hibernate and stash windows → add API to hibernate and stash windows
The infrastructure introduced with this bug (or Bug 627868) could also be used for automatically discarding tabs on memory pressure events (Bug 675539). Such a mechanism was also introduced to Fennec in Bug 451670.
Blocks: 591775, 816381
Depends on: 627868
Summary: add API to hibernate and stash windows → add API to hibernate and stash tabs & windows
I believe this request is somewhat achieved by the add-on *Tab Mix Plus* (http://tmp.garyr.net/)

It would certainly be a nice feature to have in FF. I imagine to be like:
- Open firefox
- select session/window stash you want to work with and restore.
- when exiting, any changes will be saved and restored when the same is opened again.

This way, if one day you want to work on your open tabs for holiday arrangements, you open your 'Holidays' session/stash. But then at the end of the day you close to continue working on it another day. And the next day you open your research tabs for work, and not be distracted or burden your computer by your holidays.

Just my opnionn.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.