Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Copying from Brave intermittently doesn't work, restart fixes. #1060

Closed
alex-wilmer opened this issue Mar 11, 2016 · 20 comments
Closed

Copying from Brave intermittently doesn't work, restart fixes. #1060

alex-wilmer opened this issue Mar 11, 2016 · 20 comments
Assignees
Milestone

Comments

@alex-wilmer
Copy link

Any text I copy from a webpage does not get added to my clipboard. I can copy the url from the address bar but not any page content.

Yosemite 10.10.5, macbook pro

@bbondy
Copy link
Member

bbondy commented Mar 11, 2016

Which page? I'm copying text from your comment above OK. I think I have seen this before though and am not sure how to reproduce.

@alex-wilmer
Copy link
Author

Doesn't look like any of them.. I noticed because I was trying to copy a branch name from github, but just checked reddit and can't copy anything from there either.

Version: 0.8.0
Electron: 0.36.8
libchromiumcontent: 47.0.2526.110
Channel: dev

I could make a video out of it if that helps. I'm also a JS / React developer so I can work on this over the weekend.

@bbondy
Copy link
Member

bbondy commented Mar 11, 2016

that'd be great, I have seen this before but it's working now so it's intermittent. If you close your browser and re-open it might go away.

@alex-wilmer
Copy link
Author

Ah restarting fixed this indeed. Any idea why?

@bbondy
Copy link
Member

bbondy commented Mar 11, 2016

no but if you find something that triggers it pls let me know! Command+Alt+J gives you the browser level dev tools (+I gives you the per web page one). Next time you're in that state maybe you could poke around and try things.

@bbondy
Copy link
Member

bbondy commented Mar 11, 2016

I'll attempt a fix for 0.8.1 but not sure if it'll work or not.

@alex-wilmer
Copy link
Author

Ah thanks! I was looking for those dev tools! I've been using Brave for a few hours now and thought to myself.. "funny, I can't dock the dev tools!".

I'll go through the Readme and any developer docs after work.

@bbondy
Copy link
Member

bbondy commented Mar 11, 2016

You can only doc the browser level ones due to a limitation in electron, we'll fix it in electron when we have a bit more time so you can doc the more common content level dev tools too.

@bbondy bbondy closed this as completed in bf04711 Mar 11, 2016
@bbondy
Copy link
Member

bbondy commented Mar 11, 2016

If you see this in 0.8.1 please comment here and we'll re-open.

@bbondy bbondy self-assigned this Mar 11, 2016
bbondy added a commit that referenced this issue Mar 15, 2016
@bbondy bbondy reopened this Mar 17, 2016
@bbondy
Copy link
Member

bbondy commented Mar 17, 2016

This is still an intermittent issue so re-opening.

@bbondy
Copy link
Member

bbondy commented Mar 17, 2016

We need to find more information about how to reproduce this, or investigate while it's reproduced to get it fixed.

@bbondy bbondy changed the title Copying (cmd-C) from Brave doesn't work Copying (cmd-C) from Brave intermittently doesn't work, restart fixes. Mar 19, 2016
@bbondy bbondy changed the title Copying (cmd-C) from Brave intermittently doesn't work, restart fixes. Copying from Brave intermittently doesn't work, restart fixes. Mar 19, 2016
@bbondy
Copy link
Member

bbondy commented Mar 26, 2016

Had this happen again, adding another observation:
When Command+C (Control+C) doesn't work you can right click on the text and select Copy on the context menu. That copies the text successfully and also makes the copy of selected text work again from Command+C.

@bbondy
Copy link
Member

bbondy commented Apr 6, 2016

Had this happen again, got a lot more info:

Opening dev tools this works:
var clipboard = require('electron').clipboard;
clipboard.writeText('test')
Successfully copies text to the clipboard but the problem persists

Selecting the main menu item:
Reproduces the problem

Control+C:
Reproduces the problem
Even if you press Control+C various times in a row.

Using the context menu to copy:
Successfully copies text to the clipboard and the problem goes away moving forward
Even just right clicking fixes the problem.

Using the paste top level menu item works fine.

@adamcmacdonald
Copy link

+1 able to fully reproduce problems on OSX 10.11.4

@kenorb
Copy link
Contributor

kenorb commented May 7, 2016

Same here on OS X 10.11.2 with Brave 0.9.4.

Basically CMD-C does nothing (even on this page), apart of copying URL. Pasting works fine, but it's just pasting the old thing.

@something99
Copy link

Same, OSX 10.11.4 and Brave 0.10.0.
I've encountered this issue for a second time in a week. Can't copy anything new on Brave, pastes the old thing, other browsers and Word are fine though. Last time restarting the browser solved it.

@bbondy
Copy link
Member

bbondy commented May 30, 2016

More information on this.
When it happens the top level menu item doesn't work either for Copy.
But the menu and shortcut does work for Cut.

I suspect it's something relating to the menu itself or the role we use for it.

diracdeltas added a commit that referenced this issue May 31, 2016
Potential workaround for #1060

Auditors: @bbondy
@bbondy
Copy link
Member

bbondy commented Jun 4, 2016

This seems to be fixed in 0.10.2 with @diracdeltas 's change. Closing for now.

@bbondy bbondy closed this as completed Jun 4, 2016
@bbondy bbondy added this to the 0.10.1dev milestone Jun 4, 2016
@joshbabier
Copy link

Still happening. MacOS 10.12.6

@bsclifton
Copy link
Member

@joshbabier we should have a fix for this soon- we're tracking with #10563 if you wanted to follow along 😄

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants