Open Bug 1807803 Opened 1 year ago Updated 1 year ago

Extra spaces are captured after copying text

Categories

(Core :: DOM: Copy & Paste and Drag & Drop, enhancement)

Firefox 108
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: 5silentrain, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:108.0) Gecko/20100101 Firefox/108.0

Steps to reproduce:

  1. Open any YouTube video. For example this: https://www.youtube.com/watch?v=y-Cnzlh2TSg
  2. Double click LMB on any word in its name.
  3. Copy the selected video title to the clipboard.
  4. Paste it anywhere.

Actual results:

The copied video title will have extra spaces on both sides. It looks like this: " Kep1er 케플러 [ Dazzling Girls in LONDON ] BEHIND | Kep1er 2022 PHOTOBOOK "

Expected results:

The copied title should not contain extra spaces. There is no such problem in Google Chrome.
This is just one example of weird copying extra spaces to the clipboard. This makes it difficult to copy text in most cases.

Sorry, I made a mistake on the second point 🙂
2. TRIPLE click on any word in its name.

The Bugbug bot thinks this bug should belong to the 'Core::Audio/Video: Playback' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Component: Audio/Video: Playback → DOM: Copy & Paste and Drag & Drop
You need to log in before you can comment on or make changes to this bug.