Closed Bug 1370281 Opened 8 years ago Closed 8 years ago

UIPasteboard causes long delay

Categories

(Firefox for iOS :: General, defect, P1)

Other
iOS
defect

Tracking

()

RESOLVED FIXED
Iteration:
1.28
Tracking Status
fxios 9.0 ---

People

(Reporter: st3fan, Assigned: jhugman)

Details

(Whiteboard: [MobileCore][ClipboardBar])

Attachments

(1 file)

This seems to be caused by clipboard sharing between Mac and iPhone.
Summary: UIPasteboard causes many-second delay → UIPasteboard causes long delay
Both devices need to be signed in to the same iCloud account. For me this happens between macOS 10.12.5 and iOS 10.3.2.
Catalin, can you verify if this is happening in general? In particular, is there a many-second long delay in opening a new tab when a URL is copied from the paired-Mac's clipboard?
Flags: needinfo?(catalin.suciu)
Whiteboard: [MobileCore]
(In reply to Justin D'Arcangelo [:justindarc] from comment #2) > Catalin, can you verify if this is happening in general? I don't see any delays when using universal clipboard between iOS 10.3.2 (6S) <==> macOS 10.12.4 (MacBook Pro) > In particular, is there a many-second long delay in opening a new tab when a URL is copied from the paired-Mac's clipboard? I've copied links from Firefox for macOS and paste them in Firefox for iOS with no delays. Same for vice versa.
Flags: needinfo?(catalin.suciu)
I've seen this happen for me a lot. Usually easier to replicate if you copy something on your mac right before you try going from the TabTray to the Tab view.
Priority: -- → P2
Is it possible that this only happens on debug builds? I would like to suggest the following: If we cannot reproduce this on a recent TestFlight build: - then we ship with the feature. If this _does_ happen on a recent TestFlight build, we either: - disable the feature completely and re-introduce it in 8.1 with a more structural fix - change the pref to default this feature to off
Whiteboard: [MobileCore] → [MobileCore][ClipboardBar]
Assignee: nobody → jhugman
Iteration: --- → 1.27
Iteration: 1.27 → 1.28
Assignee: jhugman → nobody
Iteration: 1.28 → ---
There are a number of issues around this, but all stem from the fact that there is network activity connected to checking the clipboard, and it may be many seconds before the contents of the clipboard is available.
Assignee: nobody → jhugman
Status: NEW → ASSIGNED
Attachment #8899012 - Flags: review?(fpatel) → review+
Iteration: --- → 1.28
Priority: P2 → P1
Merged in to master.
Whiteboard: [MobileCore][ClipboardBar] → [MobileCore][ClipboardBar][NeedsUplift]
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Uplifted to v9.x
Whiteboard: [MobileCore][ClipboardBar][NeedsUplift] → [MobileCore][ClipboardBar]
Uplifted to v9.x. 6f16c92d8
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: