Closed Bug 1629434 Opened 4 years ago Closed 4 years ago

[regression] Firefox on Linux selects URL text on focus in URL bar

Categories

(Firefox :: Address Bar, defect)

75 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1621570

People

(Reporter: mozilla, Unassigned)

Details

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

Steps to reproduce:

  1. Click in URL bar

Actual results:

  1. URL text is selected

Expected results:

URL text should not be selected.

This is a regression from Firefox 74, where the URL text was not selected.

I understand why this behaviour makes sense on Windows or Mac OS as they have no X copy buffer, but it is terrible on Linux. If you want to copy the current URL into the X copy buffer in Firefox 75, this is the process now:

  1. click into URL bar (text is selected but not copied)
  2. pause a moment so it's not a double click
  3. click into URL bar again (text is unselected)
  4. pause a moment again so it's not a double click
  5. double click at the beginning of the URL and drag to the end (text is copied)

This is really inconvenient for what is a pretty common operation, especially compared to what it used to be:

  1. double click anywhere in the URL bar (text is copied)

I had a quick look through about:config and preferences, but I couldn't see any way to disable this new behaviour. Please consider adding a toggle for the select on focus behaviour even if it's on by default.

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

Component: Untriaged → Address Bar

As explained in the rel-notes, this is the new behavior of the Address Bar, that is coherent with other browsers on Linux and Firefox on all the OS.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE

Note, you can triple click to copy the whole url, it's a common operation on all the textboxes to select all. double click selects a word

You need to log in before you can comment on or make changes to this bug.