Closed Bug 1616104 Opened 5 years ago Closed 5 years ago

Line numbers appear in the selected text when more than one line is selected in Chrome

Categories

(Webtools :: Searchfox, defect)

Unspecified
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: robwu, Assigned: robwu)

References

(Regression)

Details

STR:

  1. Open Searchfox in Chrome on Linux.
  2. Select more than one line.
  3. Use the mousewheel to click inside text input, or use the xsel command to reveal the content of the PRIMARY clipboard.

Expected:

  • No line numbers in selected text

Actual:

Note that line numbers don't appear when Ctrl-C is used to copy the text. This is because Chrome special-cases that. The bug occurs when the PRIMARY clipboard is populated (and not completely incidentally, also when the built-in A11y tool is used - https://crbug.com/830106 ).

Interestingly, Safari on OS X seems to have this problem all the time, too. (That is, I copied and pasted some lines in Safari on OS X from a searchfox page into a Firefox Nightly textarea, and there were line numbers pasted in the textarea.)

https://github.com/mozsearch/mozsearch/pull/276

Should get deployed today. I'm going to go ahead and close this bug, but please reopen if the fix doesn't work after it gets deployed later today.

Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED

Searchfox now works as expected in Chromium, using the STR from the report. Thanks!

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.