Closed Bug 1653846 Opened 4 years ago Closed 4 years ago

Sync icon spinning all the time

Categories

(Firefox :: Sync, defect)

80 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
Firefox 80
Tracking Status
firefox78 --- unaffected
firefox79 --- unaffected
firefox80 --- fixed

People

(Reporter: thegreatsynoptic, Assigned: emmamalysz)

References

(Regression)

Details

(Keywords: regression)

Attachments

(5 files)

Attached image 2.png

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0

Steps to reproduce:

Open latest Firefox Nightly.
After a few seconds the Sync icon starts spinning (as opened from the Firefox account icon).

Actual results:

Sync icon spins for a very long time (and it shouldn't).
Clicking for example 'tabs from other devices' and going back to the Firefox account tab fixes this issue.

Expected results:

Sync icon should revert back to the grayed out icon after a few second.

OS: Unspecified → Linux
Hardware: Unspecified → x86_64

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → Sync

We're sorry to hear you are having this problem, but thanks very much for taking the time to make this report. We aren't sure what is causing this issue, but Sync does keep some logs which may help us find the problem. Instructions for how to locate and attach the logs can be found at https://wiki.mozilla.org/CloudServices/Sync/File_a_desktop_bug - and in particular, follow the instructions for enabling "success" logs, then reproduce your issue (eg, perform a new sync), and attach any new logs which then appear.

Flags: needinfo?(thegreatsynoptic)

In the attachment you can find 2 logs. One log is showing some erroors. It is from yesterday. All other logs are so-called 'success-logs'. The last one of them is also attached (as shown in the picture).

Flags: needinfo?(thegreatsynoptic)
Attached image SYNCLOGS.png
See Also: → 1654077
See Also: 1654077

I believe this was caused by bug 1648637. In particular, https://searchfox.org/mozilla-central/source/browser/base/content/browser-sync.js#703 isn't working as expected - syncNow.getAttribute("syncstatus") is returning an empty string instead of active (although it's possible the actual bug is where the value is set in onActivityStart() - that unconditionally uses document.querySelectorAll(".syncNowBtn") and doesn't seem to use viewCacheTemplate.content at all, but without digging further into that patch I can't tell what's correct and what's not.

Flags: needinfo?(emalysz)
Regressed by: 1648637
Has Regression Range: --- → yes
Assignee: nobody → emalysz
Flags: needinfo?(emalysz)
Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cb84106a671c
ensure sync now buttons are all given correct attributes to correctly perform sync animation. r=Gijs
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 80
Regressions: 1654639
Regressions: 1655381
No longer regressions: 1654639, 1655381
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: