New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 732268 link

Starred by 7 users

Issue metadata

Status: Fixed
Owner:
Closed: Jul 2
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android , Windows
Pri: 2
Type: Bug


Show other hotlists

Hotlists containing this issue:
Hotlist-1


Sign in to add a comment

Chrome does not reliably sync open tabs from mobile

Reported by gferrett...@gmail.com, Jun 12 2017

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36

Steps to reproduce the problem:
1. Open some tabs on Chrome for Android
2. Visit History webpage on Chrome on laptop
3. 

What is the expected behavior?
I should see open tabs on Android

What went wrong?
I cannot

Did this work before? No 

Chrome version: 59.0.3071.86  Channel: stable
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

Phone is a Nexus 5X, Android 7.1.2
 
Labels: pre-stable-59.0.3071.86
More detail: issue is not that itnever get synced OR sync is not working. I just have to 1) keep each tab visible on phone, and then refresh a lot of times from web to get them (hopefully).

Comment 3 by pav...@chromium.org, Jun 13 2017

Cc: dbeam@chromium.org
Components: UI>Browser>History
I verified that sync commits sessions data couple of seconds after navigation. On receiving end this data gets processed by SessionsSyncManager and gets forwarded to ForeignSessionHandler::HandleGetForeignSessions.

On about:history page:
md_history/history.js: setForeignSessions() and md_history/app.js: setForeignSessions() get called, but session data doesn't get displayed.

dbeam@: could you triage?

Comment 4 by dbeam@chromium.org, Jun 13 2017

Cc: -dbeam@chromium.org tsergeant@chromium.org
Owner: calamity@chromium.org

Comment 5 by gangwu@chromium.org, Jun 21 2017

Labels: Sync-Triaged
Cc: mmanchala@chromium.org
Labels: Needs-Feedback
gferretti80@ : As per the issue seems it is Android related issue.please confirm ?
Labels: -Needs-Feedback
Removing needs-feedback. The original description says pretty clearly that the problem is that tabs from the Android phone don't appear on the desktop "open tabs" page. Pavel confirmed that tabs are making it from Android to desktop but not being displayed, so the next area to investigate is the web ui. 
Hello, any updates. Chrome windows updated to 60 but still have the issue. I'm actually waiting one tab (refreshed) on my Nexus 5X to appear on Desktop (refreshing). Minutes are passing, still tab doesn't come up... thanks!

Comment 9 by calamity@google.com, Aug 25 2017

I can't personally repro this. My android tabs update appropriately after I make new ones. I've tried this on 2 different accounts with 2 different phones and I'm not seeing any misbehavior.

#3: Is setForeignSessions getting called with updated data? Is there any other repro info I can get here? Were you also observing non-updated Open Tab sessions?
Cc: kkaluri@chromium.org
Labels: Needs-Feedback
Unable to reproduce the issue on Nexus 5 with chrome stable #61.0.3163.98

Steps followed:
1. Log into chrome with same account on Nexus 5 & Mac laptop
2. Search some web pages on nexus phone.
3. On Laptop, refresh the chrome://history page

Observed that history page is synced with Nexus phone.

gferretti80@ Could you confirm this are the exact steps to reproduce the issue, if not help us with the repro steps 

Thank You...


Hi yes I confirm I do the same. Sometimes works pretty quickly, sometimes
not.
Project Member

Comment 12 by sheriffbot@chromium.org, Sep 27 2017

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding requester "kkaluri@chromium.org" to the cc list and removing "Needs-Feedback" label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Cc: hdodda@chromium.org
As per comment #11, the issue is inconsistent .

@Could someone from sync team , help us in traiging this issue and provide more updates on this.

Thanks!
This is still happening for me!
I usually open a bunch of links in new tabs (background so to say) and some times i don't have the time to read them but i do have time to open more tabs, can easilly end up with 80 tabs on my sony xperia, as well on my htc one 10 and they wont sync.

What i have to do then to get them to sync is to open every tab by it self and make it refresh, some times it wont work but usually does the trick.

Any how i could help you guys figure this out? like debugging or fetching network data, just point me in the right direction.

Because this sounds more like a user-overload-usage-problem that causes this.
So, while playing around just now, i got some pages that wasnt synced to sync, but when opening others for refresh they wouldnt sync.
I then closed chrome on the phone and started it again and voila, back to the old list where the first tabs werent synced that i got to sync just moments ago.
and now the two tabs got synced again, but with a third one (57 tabs atm) that i HAVE had opened on the phone but not any more, and that just showed up in the middle off the history list.
I can confirm I have had the same issue for years, I keep having to do the "flip between my tabs on my phone to wake them up in history"-dance every so often when I want to open them on my computer.

Let's say I have 20 tabs that are not showing up and I flip between 4 of them on my phone and wait for a while then those 4 will show up in history but not the rest of them.
I have also had this issue for years. A clarification: The issue (at least for me) is not with chrome://history, pages immediately show up there, but with chrome://history/syncedTabs. Tabs often won't show up on the desktop side until I refresh them multiple times on android and/or kill chrome on android. Even when it does "work", it only shows a fairly limited amount of tabs, and most of the tabs I see are for tabs I have already closed. There are only a few that are for tabs I actually have open.

This seems to have changed some over time, but imo this should be changed so that it shows all open tabs, and not just recently refreshed ones. It should also be changed so that it shows a tab immediately after opening it, instead of having to refresh it and/or reopen chrome to get it to appear.
@rlifs, that is a good clarification as I forgot to specify that it was for /syncedTabs 
As far as it would be a feature, I don't think so as it shows old, new and on some occasion even closed tabs pops up again in the /syncedTabs, feels more like some bug in the sync between chrome and google.

And I have to do the same, kill chrome and open.it again to make it sync and some times its enough with the tab-dance to make it sync.
Labels: SyncHandoff2018
 Issue 719212  has been merged into this issue.

Comment 22 by treib@chromium.org, Apr 27 2018

Labels: OS-Android
Owner: mastiz@chromium.org
Summary: Chrome does not reliably sync open tabs from mobile (was: Chrome does sync open tabs from mobile)
mastiz@, any updates on this? Could any of your recent sessions sync work have helped here?
Status: Assigned (was: Unconfirmed)
Thanks for reporting! Sorry for the long silence and the issues you're experiencing.

Many of the scenarios described in this bug can be explained for cases where the user is also using an Android app that has a Chrome Custom Tab (CCT).

I've fixed a number of bugs recently into M68 (currently Beta) and there's yet another one that I plan to fix, see  crbug.com/639009  for details (which can be considered a dup of this issue).

Please stay tuned.
@mastiz
yaaaaaaaay \o/
Status: Fixed (was: Assigned)
Latest Chrome *Dev* release contains various fixes that hopefully address the concerns observed here. If you're able to repro bugs there, please reopen or file new bugs.

As per original report: there is no hard guarantee about the time it takes to sync from one device to another (latency). It's usually fast, but may be slower due to various circumstances (network conditions, server load, etc.).
This fixed most of the problems. It seems to no longer sync tabs I have already closed, and opening/closing tabs syncs fairly quickly without having to restart chrome and/or repeatedly refresh new tabs.

This however did not fix syncing all tabs. Only the last two or three will show up until I go and refresh each tab. This process is simplified though, since the tabs sync much more quickly and I only need to refresh each tab once.

For reference, my phone is on 69.0.3475.0 dev.
There's a known, one-off loss of sync-ed tabs on Android, due to commit 3308e2e3e37e369b68b09bc82a9df4f7c78af6d0 being backward-incompatible.

Please confirm that's the case for you, and no tabs are missing after they've been foregrounded at least once.

As per closed tabs, this is WAI and has always been the case that, if you close a tab, it shouldn't show up in "tabs from other devices".
Oh, I was confirming that the issue where previously closed tabs were showing up in "tabs from other devices" is now fixed. They no longer show up there, which as you stated is the intended behavior.

As to the loss of other synced tabs, I will watch over the next few days and see if any stop appearing. None appear to be missing at the moment, but I'm not sure how long it took for less recently accessed tabs to stop appearing in the list. 
@mastiz@chromium.org

Haven't had any obvious problems since the fix so it seems fine now for me!
I don't think i have cleared my tabs on my phone since after the fix/patch and had now 81 tabs open and chrome history on the pc gave me 81 tabs, compared them before closing them down on the phone and all tabs where there!

Great jobb!

Guess we wont need an "Bookmark All" on the Android Chrome now then ;)

Sign in to add a comment