Open Bug 1651189 Opened 4 years ago Updated 9 months ago

Activating address bar when a new typed domain is still loading only selects the trailing slash

Categories

(Firefox :: Address Bar, defect, P3)

defect
Points:
3

Tracking

()

Tracking Status
firefox-esr68 --- unaffected
firefox-esr78 --- wontfix
firefox78 --- wontfix
firefox79 --- wontfix
firefox80 --- wontfix
firefox113 --- wontfix
firefox114 --- wontfix
firefox115 --- wontfix

People

(Reporter: bugzilla, Unassigned)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image screencap.gif

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

Steps to reproduce:

Type an address I've visited before, such as bogleheads.org/, into location bar. Note trailing slash. Problem also happens if you enter the full URL, e.g. https://www.bogleheads.org/. Hit Enter. Then immediately hit Cmd-L before the page has fully loaded.

Actual results:

This will select only the "/" part of the URL.

Expected results:

The whole URL should have been selected.

I discovered this because sometimes I want to open a URL that I've visited recently and also copy its URL so I can paste it into a Hacker News comment or whatever. The easiest way is to autocomplete it, then select the URL. Often I end up with just "/" on the clipboard due to this bug.

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

Component: Untriaged → Address Bar

It looks like a race condition between autofill and select all

Severity: -- → S3
Priority: -- → P3
Status: UNCONFIRMED → NEW
Ever confirmed: true

Reproduced this issue using Windows 10 64bit.

Affected versions

  • Firefox 78.0.2esr (BuildId:20200708170510)
  • Firefox 78.0.2 (BuildId:20200708170202)
  • Firefox 79.0b5 (BuildId:20200708005253)
  • Firefox 80.0a1 (BuildId:20200708214935)

Unaffected versions

  • Firefox 68.10.0esr (BuildId:20200622191537)

Regression Range


It seems that mozregression pointed out Bug 1601052 - Wait for both TabSelect and urlbar focus changes from the tab switcher. r=dao for causing this regression.

Has Regression Range: --- → yes
Has STR: --- → yes
OS: Unspecified → All
Regressed by: 1601052
Hardware: Unspecified → All
Version: 79 Branch → Trunk

yeah, just too many things happen at once in this case

Points: --- → 3

This is not limited to race conditions with Ctrl+L, with a bad internet connection this state can persist.

STR:

  1. Use a very slow/limited/blocked proxy (eg tor).
  2. Type a domain and press enter (eg soundcloud.com).
  3. While page is stuck loading, click in the address bar.

Only the trailing slash is selected, copying and pasting ouputs "/".

Does not happen when including https:// for unvisited sites.

Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=830c610c8d3cba1a47eef5db8e241536ad0e8f47&tochange=8326e65a8923da7c03468838649c3f57ade394c5

nsSTSPreloadList.inc includes soundcloud.com, suggesting it is related to HSTS.

Summary: Cmd-L during page load only selects "/" part of URL → Activating address bar when a new typed domain is still loading only selects the trailing slash
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: