Open Bug 1635480 Opened 5 years ago Updated 1 year ago

Should disable "Paste as Quote" in Firefox?

Categories

(Core :: DOM: Editor, enhancement)

77 Branch
enhancement

Tracking

()

People

(Reporter: sergey, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:77.0) Gecko/20100101 Firefox/77.0

Steps to reproduce:

Environment: X11

  1. Select some text.
  2. Go to any text input element.
  3. Hold CTRL and press middle mouse button to paste the selection.

Actual results:

Pasted text is:

> some text


(angle bracket, a space character, the actual selected text, tree new line characters).

Expected results:

Pasted text is some text, i.e. just like with a regular middle mouse click. This is the behavior of every X11 application.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → DOM: Selection
Product: Firefox → Core
Severity: normal → S3
Priority: -- → P3

Hi Mirko, could you confirm this?

Flags: needinfo?(mbrodesser)

It's reproducible on Ubuntu 18.04 (already with Firefox 75). For instance, with data:text/html,<textarea>. I wonder if this is considered a feature.

Flags: needinfo?(mbrodesser)

It's apparently a feature. However, likely intended only for Thunderbird, not Firefox.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Yeah, this is a feature, but I use this when I do reply in some forums a lot.

Sergey Vlasov: Did you get some inconvenience with this behavior, e.g., some web apps don't work with it?

Type: defect → enhancement
Component: DOM: Selection → DOM: Editor
Flags: needinfo?(sergey)
OS: Unspecified → All
Hardware: Unspecified → All
Summary: CTRL + middle mouse pastes text with angle bracket ">" and new lines → Should disable "Paste as Quote" in Firefox?

The component has been changed since the backlog priority was decided, so we're resetting it.
For more information, please visit auto_nag documentation.

Priority: P3 → --

Masayuki Nakano: I paste the text with keyboard using a binding that emulates middle click (CTRL + spacebar). Since it is impossible to release both keys at the same time, CTRL usually is still being pressed, so Firefox registers CTRL + middle click.

Flags: needinfo?(sergey)

(In reply to Sergey Vlasov from comment #7)

Masayuki Nakano: I paste the text with keyboard using a binding that emulates middle click (CTRL + spacebar). Since it is impossible to release both keys at the same time, CTRL usually is still being pressed, so Firefox registers CTRL + middle click.

It's interesting case what I've never expected. Did you customize it with changing some files with text editor? Or is it customized by a tweak tool? I mean I'd like to know it's major customization or not.

Sergey Vlasov:

Without explanation how to customize it, I cannot go advance myself. Could you tell me it?

Clear a needinfo that is pending on an inactive user.

Inactive users most likely will not respond; if the missing information is essential and cannot be collected another way, the bug maybe should be closed as INCOMPLETE.

For more information, please visit BugBot documentation.

Flags: needinfo?(sergey)
You need to log in before you can comment on or make changes to this bug.