Closed Bug 1191925 Opened 9 years ago Closed 9 years ago

UI was frozen for ~10 seconds when I first signed into Sync

Categories

(Firefox for iOS :: Sync, defect)

Other
iOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
fxios + ---

People

(Reporter: cpeterson, Assigned: sleroux)

Details

(Keywords: perf)

Attachments

(1 file)

When I first signed into Sync and hit "Sync Now", the browser UI was unresponsive to any taps. The UI would correctly change between portrait and landscape orientation when I rotated my phone.

I am testing an iPhone 6 running iOS 8.4.
This is one of two things:

* Contention. Sync does a lot of work.
* A bug with the Sync Now button that causes it to block on the sync completing.

That shouldn't be the case:

            profile.syncManager.syncEverything().uponQueue(dispatch_get_main_queue()) { result in
                if result.isSuccess {
                    self.log.debug("Sync succeeded.")
                } else {
                    self.log.debug("Sync failed.")
                }
            }
            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 3 * Int64(NSEC_PER_SEC)), dispatch_get_main_queue(), { () -> Void in
                cell.textLabel?.attributedText = self.syncNowTitle
                cell.userInteractionEnabled = true
            })

but running with the debugger should make this obvious.
tracking-fxios: --- → ?
Keywords: perf
Flags: needinfo?(sleroux)
Will profile this to see what's happening on the main thread
Assignee: nobody → sleroux
Flags: needinfo?(sleroux)
Status: NEW → ASSIGNED
Ship-ped!
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: