philc / philc/vimium

Yank functionality not working in Brave Browser

Open
#4,278 8 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
27k
Forks
2.6k
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in Brave 1.52.130 on macOS 13.4.1 with both yy and yf, then compare the reported yanked value with what CMD + v pastes in another tab. Done means both commands place the selected URL or link in the system clipboard rather than retaining the previous copied value.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.