Unable to type in Address Bar after opening new tab and pressing cmd + enter
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
People
(Reporter: daniel.skogly, Assigned: daisuke)
References
(Regression)
Details
(Keywords: regression)
Attachments
(4 files)
680.83 KB,
video/mp4
|
Details | |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
pascalc
:
approval-mozilla-release+
RyanVM
:
approval-mozilla-esr91+
|
Details | Review |
48 bytes,
text/x-phabricator-request
|
dmeehan
:
approval-mozilla-beta+
pascalc
:
approval-mozilla-release+
RyanVM
:
approval-mozilla-esr91+
|
Details | Review |
212.64 KB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:98.0) Gecko/20100101 Firefox/98.0
Steps to reproduce:
- Open a new tab
- Select Adress Bar
- Press CMD + Enter
- Attempt typing anything
- If you have the address bar focused in another tab, you can try switching to this tab and attempt typing there too
Actual results:
It's impossible to type anything until the address bar loses and regains focus
Expected results:
It should be possible to type
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox::Address Bar' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Updated•3 years ago
|
Comment 2•3 years ago
•
|
||
I was able to reproduce the bug on BETA 98.0b9 and the current 99.0a1 on Nightly.
Comment 3•3 years ago
|
||
I run into this issue daily on FF 98.0 (64-bit) on macOS 11.6.3 (20G415).
It doesn't happen all the time, and seems to always be in the "main" FF window.
To get out of the typing-does-nothing state, I usually clock on another open tab then come back to the new tab and then typing works.
Comment 4•3 years ago
|
||
Update: to get out of the typing-in-the-addressbar-does-nothing state, I need to switch to another window (FF loses focus) then when I come back to FF I can type in the address bar again.
Comment 5•3 years ago
|
||
Daisuke, mozregression points to bug 1749397. This is pretty bad, so could you take a look please? We should fix this in 99 and 91.7esr since it was uplifted there. The search bar is also affected due to bug 1751819. Worst case, we should back out those patches IMO.
Updated•3 years ago
|
Assignee | ||
Comment 6•3 years ago
|
||
I am sorry for the inconvenience caused.
Yes, I also could reproduce it.
I'll take a look at it right away.
Assignee | ||
Comment 7•3 years ago
|
||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Comment 8•3 years ago
|
||
Depends on D140908
Comment 10•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/1cb40805ce3e
https://hg.mozilla.org/mozilla-central/rev/b60025238614
Comment 11•3 years ago
|
||
Please nominate this for Beta approval when you get a chance.
Assignee | ||
Comment 12•3 years ago
|
||
Yes, thanks! And also, I will request uplifting to ESR as well since we uplifted the previous patch as well.
Assignee | ||
Comment 13•3 years ago
|
||
Comment on attachment 9267498 [details]
Bug 1757376: Continue post processing of Enter key when any keyup event is detected on URL bar.
Beta/Release Uplift Approval Request
- User impact if declined: As the report, if user presses Cmd+Enter on URL bar/searchbar on OSX, user can't input any chars on the bar.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): The essential changes are a few lines. Only loosened the conditions under which processing of the Enter key continues.
- String changes made/needed: None
Assignee | ||
Updated•3 years ago
|
Updated•3 years ago
|
Comment 14•3 years ago
|
||
Reproduced the issue in Beta 99.0b3 using macOS 10.15
Verified - Fixed in latest Nightly 100.0a1 (2022-03-16). I am able to type anything in the address bar after pressing CMD + Enter, without moving the focus from the address bar and back.
Comment 15•3 years ago
|
||
Comment on attachment 9267498 [details]
Bug 1757376: Continue post processing of Enter key when any keyup event is detected on URL bar.
Approved for 99.0b5. Thanks.
Comment 16•3 years ago
|
||
Comment on attachment 9267777 [details]
Bug 1757376: Continue post processing of Enter key when any keyup event is detected on search bar.
Approved for 99.0b5. Thanks.
Comment 17•3 years ago
|
||
bugherder uplift |
Comment 18•3 years ago
|
||
Daisuke, could you request uplift to esr91 please?
Assignee | ||
Comment 20•3 years ago
|
||
Comment on attachment 9267498 [details]
Bug 1757376: Continue post processing of Enter key when any keyup event is detected on URL bar.
ESR Uplift Approval Request
- If this is not a sec:{high,crit} bug, please state case for ESR consideration: It’s an annoying bug for users that we should fix, and the patch is relatively safe.
- User impact if declined: If user presses Cmd+Enter on URL bar/searchbar on OSX, user can't input any chars on the bar unless losing focus once.
- Fix Landed on Version: 99
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It was already verified by QA, and the essential changes are a few lines.
Assignee | ||
Updated•3 years ago
|
Comment 21•3 years ago
|
||
Verified - Fixed in Beta 99.0b5 using macOS 10.15.
Reporter | ||
Comment 22•3 years ago
|
||
Hi!
Just tried this out in 99.0b5 on macOS 12.3 (21E230), and unfortunately it seems like under this rock, there be more bugs. Apologies if these should be filed on separate bug reports, but they seem related to the current issue.
Address bar loses focus when selected immediately after CMD + Enter from a "New Tab"
Steps to reproduce:
Open a new tab
Select Adress Bar
Type anything
Press CMD + Enter
Immediately focus the address bar by using mouse cursor or CMD + L
If using CMD + L, attempt delaying the release of CMD
Actual results:
The address bar gains focus, then immediately loses it. If CMD + L is used, the address bar only loses focus when CMD is released.
Expected results:
The address bar should be focused, with all text selected
Address bar loses text selection when selected immediately after CMD + Enter from not "New Tab"
Steps to reproduce:
Go to a page that is _not_ the "New Tab" page
Select Adress Bar
Type anything
Press CMD + Enter
Immediately focus the address bar by using mouse cursor or CMD + L
Actual results:
The address bar gains focus, but text selection is lost, with the caret being placed either at the beginning or end of text
Expected results:
The address bar should be focused, with all text selected
Comment 23•3 years ago
|
||
Please create a new bug for that.
Updated•3 years ago
|
Comment 24•3 years ago
|
||
Comment on attachment 9267777 [details]
Bug 1757376: Continue post processing of Enter key when any keyup event is detected on search bar.
The fix works on Beta and is a 98 regression, the patch has tests, let's take it into 98.0.2.
Updated•3 years ago
|
Comment 25•3 years ago
|
||
bugherder uplift |
Comment 26•3 years ago
|
||
Comment on attachment 9267498 [details]
Bug 1757376: Continue post processing of Enter key when any keyup event is detected on URL bar.
Approved for 91.8esr.
Updated•3 years ago
|
Comment 27•3 years ago
|
||
bugherder uplift |
Comment 28•3 years ago
|
||
Verified - Fixed in 98.0.2 (build id: 20220322144853) and 98.1.0esr (build id: 20220322163448) using macOS 10.15.
Comment 29•3 years ago
|
||
Marco C. suggested we bump this up to S2, which seems reasonable to me.
Description
•