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)
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.
Comment 1•9 years ago
|
||
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
Updated•9 years ago
|
Flags: needinfo?(sleroux)
Assignee | ||
Comment 2•9 years ago
|
||
Will profile this to see what's happening on the main thread
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → sleroux
Flags: needinfo?(sleroux)
Assignee | ||
Comment 3•9 years ago
|
||
Attachment #8646532 -
Flags: review?(rnewman)
Updated•9 years ago
|
Status: NEW → ASSIGNED
Comment 4•9 years ago
|
||
Comment on attachment 8646532 [details] [review]
https://github.com/mozilla/firefox-ios/pull/906
Ship it!
Attachment #8646532 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 5•9 years ago
|
||
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.
Description
•