Closed Bug 1771610 Opened 2 years ago Closed 2 years ago

Search or URL truncated after pressing Enter after typing into address bar when typing quickly

Categories

(Firefox :: Address Bar, defect)

Firefox 100
defect

Tracking

()

RESOLVED DUPLICATE of bug 1750317

People

(Reporter: danweiss, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:100.0) Gecko/20100101 Firefox/100.0

Steps to reproduce:

As you type, normally the keystrokes are queued, and the address bar will process them as it gets to them, typing the characters in, showing suggestions, autofilling it, etc...

But when you press Enter, that key applies immediately, and any queued keystrokes are discarded. This causes you to visit a truncated URL, or perform a truncated search.

I don't know exactly which circumstances are required to produce an address bar that doesn't respond within 50ms. It might require a large history, large set of bookmarks, or maybe even some complex background tabs might be enough to reproduce it.

Actual results:

Address bar applies the Enter key immediately, before the other keystrokes have been processed and have had their text entered in.

Expected results:

Enter Key should have been delayed until the other keystrokes were processed.

Summary: Pressing Enter after typing a URL discards pending keystrokes that have not yet been processed → Search or URL truncated after pressing Enter after typing into address bar when typing quickly

The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Address Bar

Hello! I have tried to reproduce the issue with firefox 102.0a1(2022-05-30) on Windows 10, unfortunately I wasn't able to reproduce the issue. Could you answer the following questions in order to further investigate this issue.

  1. Does this issue happen with a new profile? Here is a link on how to create one: https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles
  2. Does this issue happen in the latest nightly? Here is a link from where you can download it: https://www.mozilla.org/en-US/firefox/channel/desktop/
  3. Do you have any addons installed if so can you list them?
Flags: needinfo?(danweiss)

This is a duplicate of bug 1750317.

As per the last comment I will mark this issue as RESOLVED->DUPLICATE.
If it's not the case please feel free to reopen it.

Thank you!

Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(danweiss)
You need to log in before you can comment on or make changes to this bug.