Closed Bug 526942 Opened 15 years ago Closed 15 years ago

Try to sync tabs when viewing remote tabs

Categories

(Firefox :: Sync, defect, P1)

defect

Tracking

()

RESOLVED FIXED
1.0 beta1

People

(Reporter: Mardak, Assigned: Mardak)

References

Details

Instead of waiting for the idle timer to hit, we could try syncing tabs immediately to get the most up-to-date information.

This is separate from the fact that the desktop client might not have synced tabs yet, but assuming the data is there, we should grab it.
Flags: blocking-weave1.0?
Don't we have a bug on something like this already?  But we should definitely sync tabs every time we open the tabs page, with maybe a 30 second fudge factor.
Flags: blocking-weave1.0? → blocking-weave1.0+
I had a quick prototype to show Jay where it just synchronously has the tab engine sync on page load, and at least on os x fennec, it could sync in 130ms.

Not sure if we would want to show a list of tabs and async fetch then reload the page or just block the page with a spinner if it hasn't checked in the last 30 seconds.

Some logic needs to change as right now sync engines expect a lastModified time to be set by the service before syncing, and we probably don't want to fetch info/collections and storage/tabs. ?newer=<lastSync> should work
Assignee: nobody → edilee
http://hg.mozilla.org/labs/weave/rev/c9fb14ef6d53
Try fetching tabs when loading the remote tabs view and if the sync got new tabs, reload the page.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Component: Fennec UI → Firefox Sync: UI
Component: Firefox Sync: UI → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.