Closed Bug 1794966 Opened 2 years ago Closed 2 years ago

After startup and already signed-in, the "Sit tight while your tabs sync" message is displayed until the next sync

Categories

(Firefox :: Firefox View, defect, P3)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1792040

People

(Reporter: sfoster, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fidefe-2022-mr1-firefox-view] )

If we have cached recent synced tabs data, we should be able to show that almost instantaneously if firefox-view is opened shortly after startup. But the "Sit tight while your tabs sync" loading message is visible for several seconds instead.

Assignee: nobody → sfoster
Status: NEW → ASSIGNED

I'm now not able to reproduce. There is the potential in tab-pickup-container.mjs to toggle the loading class on when we mean off if the isLoading variable is undefined rather than false. I had seen exactly that while testing earlier - but that was possibly an artifact of a locally applied WIP patch.

I'll leave this open for a little bit in case I or anyone else can repro. Note this is a distinct case from bug 1792040, where the bug is that we show 0 tabs instead of a) existing cached tabs or b) a waiting message while we get synced-tabs from the newly connected device.

[I fixed typos in the summary and comment #0 where I'd confusingly typed 'nothing to see yet' instead of the loading message.]

Assignee: sfoster → nobody
Status: ASSIGNED → UNCONFIRMED
Ever confirmed: false
Summary: After startup and already signed-in, the "Nothing to see yet" message is displayed until the next sync → After startup and already signed-in, the "Sit tight while your tabs sync" message is displayed until the next sync
Severity: -- → S3
Priority: -- → P2
Blocks: 1797520

I have lately sometimes seen the "Nothing to show yet" message when running the local build and doing a hard refresh/rebuild. It'll do that, then if I hit refresh, I see the sync message and loading spinner, and then I see the same tabs as before.

On currently nightly, if I update and restart I have also seen the loading spinner for a second or 2 before showing tabs. Also, now if you do a refresh that also shows the sync tabs spinner for a moment before loading the same cached tabs. I can look into this more.

Assignee: nobody → sclements
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

(In reply to Sarah Clements [:sclements] from comment #2)

I have lately sometimes seen the "Nothing to show yet" message when running the local build and doing a hard refresh/rebuild. It'll do that, then if I hit refresh, I see the sync message and loading spinner, and then I see the same tabs as before.

On currently nightly, if I update and restart I have also seen the loading spinner for a second or 2 before showing tabs. Also, now if you do a refresh that also shows the sync tabs spinner for a moment before loading the same cached tabs. I can look into this more.

Showing 0 tabs when we actually have tabs to show is definitely a bug. I assume that's what you mean. But it is likely fixed (or at least substantially changed) by WIP on bug 1792040. We should probably re-test after that lands to see if there are cases not addressed which still reproduce.

(In reply to Sam Foster [:sfoster] (he/him) from comment #3)

Showing 0 tabs when we actually have tabs to show is definitely a bug. I assume that's what you mean. But it is likely fixed (or at least substantially changed) by WIP on bug 1792040. We should probably re-test after that lands to see if there are cases not addressed which still reproduce.

Sounds good.

This is annoyingly difficult to reproduce. I have seen it only happen once or twice since my previous comment two days ago despite multiple attempts and I'm unable to catch it in the debugger when it happens. I think we might want to re-evaluate the priority on this, considering that its not really broken and it happens inconsistently. Ray, what do you think?

Flags: needinfo?(rfambro)

Thanks for the flag Sarah. Totally OK with deprioritizing due to the infrequent nature of this bug.

Flags: needinfo?(rfambro)
Priority: P2 → P3

I took another look at this and I can't reproduce it anymore. Sam, I'm curious if you've seen it recently (or anyone else following this bug). If not, perhaps we can close it out for now and reopen if needed.

Flags: needinfo?(sfoster)
Assignee: sclements → nobody
Status: ASSIGNED → NEW

I'm happy to dupe this over to bug 1792040. The STR are a little different, but its the same root cause that I think will be addressed by the patch on there.

Status: NEW → RESOLVED
Closed: 2 years ago
Duplicate of bug: 1792040
Flags: needinfo?(sfoster)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.