vimium icon indicating copy to clipboard operation
vimium copied to clipboard

Yank functionality not working in Brave Browser

Open harsath opened this issue 1 year ago • 7 comments

Describe the bug: I'm having issues with the "yank" functionality in Vimium for Brave; in particular, yy and yf. When I press yy the extension does report that the value of the URL has been yanked: see this screenshot. Same applies for yf; when I enter yf and chose a link, it reports that the desired link has been yanked: see this screenshot.

However, when I try to access the clipboard using CMD + v -- the value of the clipboard is not the one yanked by Vimium, rather it contains the old value (the texts that I manually copied using CMD + c or Right-click -> Copy Link Address for example).

To Reproduce:

  1. "Yank" a URL (using either yy or yf)
  2. Go to another tab
  3. Use CMD + v to paste the URL to test if Vimium modified the clipboard.

Brave Browser Version: Version 1.52.130 Chromium: 114.0.5735.198 (Official Build) (arm64)

Platform: macOS 13.4.1

Vimium version: 1.67.7

harsath avatar Jul 19 '23 05:07 harsath

I think this is the same as #4153, I use Brave, but I experienced this in vanilla chrome also: it seems that yank doesn't always work and I see the same error in the console as the linked issue.

ferdinandyb avatar Jul 28 '23 11:07 ferdinandyb

Reporting another instance of the same - I had it working fairly consistently in Chrome, but when I switched to Brave it never works.

ambareesh-jayakumari avatar Aug 15 '23 18:08 ambareesh-jayakumari

I believe I am also experiencing this on Arc.

brandonkboswell avatar Aug 21 '23 18:08 brandonkboswell

works for me on:

Version 1.57.53 Chromium: 116.0.5845.114 (Official Build) (arm64), Vimium 1.67.7

I have added vimium just to test it to Brave cause of this issue (mainly use FF), and it asked me for explicit permission for clipboard access. Maybe you have a blanket policy that rejects them or at some point in the past you've disallowed them?

Worth checking I think.

danielkaczmarczyk avatar Aug 29 '23 23:08 danielkaczmarczyk

Hmm, I checked, it does not have clipboard access listed.

Permissions
Read and change your browsing history on all your signed-in devices
Display notifications
Read and change your bookmarks

ferdinandyb avatar Aug 30 '23 11:08 ferdinandyb

Ok, so interestingly, vimium previously never asked me for this permission, but I tested just now, and it did. It now seems to work. To verify, go to brave://settings/content/clipboard and check if vimium is listed under "allowed to see your clipboard" part.

ferdinandyb avatar Aug 30 '23 11:08 ferdinandyb

Thank you, @ferdinandyb. I had this same issue in Arc and was able to solve it by going to: chrome://settings/content/clipboard

♥️

brandonkboswell avatar Aug 30 '23 15:08 brandonkboswell