Issue metadata
Sign in to add a comment
|
Clipboard not working at certain times |
||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36 Steps to reproduce the problem: Not sure What is the expected behavior? Copy/Paste text within Chrome or from/to another app. What went wrong? - Nothing can be copied: text, either in the address bar or on the webpage, does not go to the system clipboard (according to Alfred clipboard tool), and cannot be pasted anywhere either within Chrome or to another app. (Both keyboard shortcut and 'Edit > Copy' in Menu bar.) - Nothing can be pasted: text copied from another app cannot be pasted anywhere in Chrome, including address bar and text fields/boxs on the webpage. (Both keyboard shortcut and 'Edit > Paste' in Menu bar.) - The 'Edit > Paste' menu bar item sometimes grays out when it shouldn't. When it's not grayed out, clicking it once would paste nothing and cause it to gray out again. - Meanwhile clipboard is working fine in other apps. - Re-launching Chrome does *not* fix the issue. - Re-signin my mac does fix the issue. Did this work before? Yes Chrome version: 62.0.3202.62 Channel: stable OS Version: OS X 10.12.6 Flash Version:
,
Oct 25 2017
,
Oct 25 2017
The pasteboard service has a finite buffer, that it shards to consumers. This is persisted across restarts. Once it becomes full, it's no longer possible to make new pasteboard buffers, which causes most use cases within Chrome to break. This can be fixed by killing the pboard process. See https://codereview.chromium.org/1852433004/ and https://bugs.chromium.org/p/chromium/issues/detail?id=467296 What's more interesting is *why* the pboard buffer is full. check the system log e.g. /var/log/system.log [and other logs in that directory, there's a 24h rotation] for something along hte lines of "Can't allocate a new block for a pasteboard. Creation of a new Pasteboard will fail.". Find hte first occurrence. Chances are, something is leaking pboard buffers, and whatever is leaking them will also encounter the error first.
,
Oct 25 2017
,
Oct 25 2017
Didn't see that exact message... this is from my system.log $ grep -i paste system.log Oct 25 09:58:36 pxia-macbookpro com.apple.xpc.launchd[1] (com.apple.coreservices.UASharedPasteboardProgressUI): Unknown key for Boolean: DrainMessagesAfterFailedInit Oct 25 09:58:45 pxia-macbookpro com.apple.xpc.launchd[1] (com.apple.coreservices.UASharedPasteboardProgressUI): Unknown key for Boolean: DrainMessagesAfterFailedInit
,
Oct 26 2017
Did you have a chance to try with a clean profile? If I'm reading Issue 467296 right, it seems like it would kill copy/paste system-wide.
,
Oct 26 2017
What's a clean profile? (but probably not)
,
Oct 26 2017
Profile switcher in top right corner > Manage people > Add person Or launch Chrome from the command line with --user-data-dir=/tmp
,
Oct 27 2017
No, the problem went away after I re-sign in mac, and I haven't found a way to reproduce it. However, given restarting does not fix the problem, I would guess switching profile would not, too.
,
Oct 30 2017
One possibility is signing-in again coincided with an update to 62.0.3202.75 I'll close this for now since we can't really do much to diagnose, but please reopen if the problem recurs. |
|||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||
Comment 1 by lgrey@chromium.org
, Oct 25 2017