Ctrl+Enter keyboard shortcut in the address bar no longer adds "www." and ".com" to the address bar string on macOS
Categories
(Firefox :: Address Bar, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| relnote-firefox | --- | 136+ |
| firefox-esr115 | --- | unaffected |
| firefox-esr128 | --- | unaffected |
| firefox134 | --- | unaffected |
| firefox135 | --- | unaffected |
| firefox136 | + | verified |
| firefox137 | --- | verified |
People
(Reporter: cpeterson, Assigned: mak)
References
(Regressed 1 open bug, Regression)
Details
(Keywords: regression, Whiteboard: [sng])
User Story
CTRL+Enter has a new behavior in MacOS Sequoia that conflicts with the address bar "canonization" behavior (adding www. and .com to generate URLs from words).
Attachments
(3 files)
[Tracking Requested - why for this release]:
This bug is a regression in Fx 136 from bug 1936928.
@ Emilio, I bisected this regression to this pushlog for your fix for focused element bug 1936928:
Steps to reproduce
- On macOS, click to focus the address bar. (I'm using macOS 15.2 Sequoia)
- Enter
examplein the address bar. - Press
Ctrl+Enter.
Expected behavior
The address bar should expand example to https://www.example.com/ and navigate to the website.
Actual behavior
Ctrl + Enter opens the address bar's context menu and does not expand example to https://www.example.com/.
| Reporter | ||
Comment 1•1 year ago
|
||
| Reporter | ||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
How does the bug differ from Bug 1945424? Is there additional steps to get the context menu for the toolbar opening in content? I'm not sure why here it shows context menu for the address bar and there for the toolbar, if the steps are the same?
Comment 3•1 year ago
|
||
I think this is mostly a UX question. Do we want to:
- Prioritize the built-in shortcut (current behavior).
- Do the url canonicalization (pre-Sequoia behavior).
- Move the canonicalization shortcut to Cmd+Enter (pre-firefox 64 behavior, from bug 237027).
- Move it to some other key combination.
I think that if we want to do (2) we might need some widget changes, in particular, overriding contextMenuKeyDown to allow the browser to handle the keydown before the selection shows up.
That said, showing the context menu by keyboard is an important accessibility feature so I suspect we want to do 1/3/4 instead if we can.
Updated•1 year ago
|
| Assignee | ||
Comment 4•1 year ago
•
|
||
Thanks Emilio for clarifying Bug 1945424 behavior, that answers my question.
| Assignee | ||
Updated•1 year ago
|
| Reporter | ||
Comment 5•1 year ago
|
||
(In reply to Marco Bonardo [:mak] from comment #2)
How does the bug differ from Bug 1945424? Is there additional steps to get the context menu for the toolbar opening in content? I'm not sure why here it shows context menu for the address bar and there for the toolbar, if the steps are the same?
Bug 1945424 is about the context menu opening when trying to use the address bar's Ctrl+Enter shortcut (starting in Fx 134). This bug is about Ctrl+Enter no longer adding "www." and ".com" to the address bar string (starting in Fx 136).
The Ctrl+Enter shortcut works correctly in Chrome on macOS 15.2 Sequoia: it adds "www." and ".com" and it doesn't open a context menu.
Comment 6•1 year ago
|
||
Set release status flags based on info from the regressing bug 1936928
Comment 7•1 year ago
|
||
The bug is marked as tracked for firefox136 (beta). However, the bug still isn't assigned.
:cbellini, could you please find an assignee for this tracked bug? Given that it is a regression and we know the cause, we could also simply backout the regressor. If you disagree with the tracking decision, please talk with the release managers.
For more information, please visit BugBot documentation.
Comment 8•1 year ago
|
||
:mak, pinging as triage owner. There are only 2 weeks left in beta for Fx136.
I'm wondering what the severity is and the priority for aligning on the next steps?
Comment 9•1 year ago
|
||
We are awaiting for final feedback from the accessibility team, and then will try to implement it for this beta cycle.
Updated•1 year ago
|
Updated•1 year ago
|
| Assignee | ||
Comment 10•1 year ago
|
||
| Assignee | ||
Comment 11•1 year ago
|
||
I think we'll want a rel-note in Nightly 137 and, once uplifted, Beta 136.
Release Note Request (optional, but appreciated)
[Why is this notable]: MacOS Sequoia introduced a new default shortcut to open a context menu: Ctrl+Enter. This conflicts with address bar shortcut to complete search string (e.g. "example") to .com URLs. We are changing the shortcut on MacOS to Cmd+Enter. The existing pref browser.urlbar.ctrlCanonizesURLs is named after ctrl, though we think it's not worth changing it, as that would break existing resources pointing to it, and it's quite common on the Mac to replace ctrl with cmd in general.
[Affects Firefox for Android]: no
[Suggested wording]: Due to recent changes in MacOS Sequoia, the shortcut to complete search strings to .com addresses has been changed on MacOS from Ctrl+Enter to Cmd+Enter. The preference to disable this feature, browser.urlbar.ctrlCanonizesURLs, was not renamed, and it's valid across all the supported platforms.
[Links (documentation, blog post, etc)]: -
| Assignee | ||
Comment 12•1 year ago
•
|
||
We'll have to file a SUMO bug to update the shortcuts page
Comment 13•1 year ago
|
||
:mak, I see there is a patch pending review. There are only two beta builds left in the cycle for Fx136
Are there any concerns with landing and requesting an uplift this week?
| Assignee | ||
Comment 14•1 year ago
|
||
No concerns, just a bit of delay. I'm updating the patch.
Comment 15•1 year ago
|
||
Comment 16•1 year ago
|
||
Backed out for causing bc failures @browser_searchSuggestions.js.
Comment 17•1 year ago
|
||
| Assignee | ||
Comment 18•1 year ago
|
||
that test needs an update. I didn't notice it on Try :(
Comment 19•1 year ago
|
||
Comment 20•1 year ago
|
||
| bugherder | ||
| Assignee | ||
Comment 21•1 year ago
|
||
Original Revision: https://phabricator.services.mozilla.com/D238060
Updated•1 year ago
|
Comment 22•1 year ago
|
||
beta Uplift Approval Request
- User impact if declined: ctrl+Enter doesn't canonize search strings to url anymore on MacOS due to OS changes
- Code covered by automated testing: yes
- Fix verified in Nightly: no
- Needs manual QE test: yes
- Steps to reproduce for manual QE testing: Canonization consists into converting a single word search string into a .com url, by pressing ctrl+Enter on Win/Lin and Cmd+Enter on MacOS
- Risk associated with taking this patch: low
- Explanation of risk level: we conditioned the modifier key on the platform, the code remained pretty much the same and it's covered by automated tests
- String changes made/needed: none
- Is Android affected?: no
Updated•1 year ago
|
Comment 23•1 year ago
|
||
Note added to our nightly release notes in the Changed section
Comment 25•1 year ago
•
|
||
Verified as fixed on MacOS 13.2.1 using Nightly 137.0a1(2025-02-21). On Win/ Lin, the command "CTRL+Enter" works as expected.
I reproduced this issue on MacOS 13.2.1 using Fx 136.0b7 and Fx 135.0.1.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 26•1 year ago
|
||
| uplift | ||
Updated•1 year ago
|
Comment 27•1 year ago
•
|
||
Verified as fixed on MacOS 13.2.1, MacOS 11.7.1 and MacOS 15.3.1 using treeherder build Fx 136.0b10.
Updated•11 months ago
|
Comment 29•11 months ago
|
||
This bug assigns a new action to Cmd+Enter, but that key already had some behavior before: opening a URL in a new tab. This shortcut change is disruptive to my flow, because now instead of a new tab, pressing Cmd+Enter replaces the current tab. This loss of functionality is not called out anywhere in this bug (only indirectly, by referring to bug 237027), nor in the release notes. Setting browser.urlbar.ctrlCanonizesURLs to false does allow me to open urlbar input in a new tab as before. I think that it would be useful to call out this change in the release notes.
comment 11 suggests the following wording:
[Suggested wording]: Due to recent changes in MacOS Sequoia, the shortcut to complete search strings to .com addresses has been changed on MacOS from Ctrl+Enter to Cmd+Enter. The preference to disable this feature, browser.urlbar.ctrlCanonizesURLs, was not renamed, and it's valid across all the supported platforms.
Here is an example of a phrasing that states how the "open in new tab" behavior can be restored.
[Suggested wording]: Due to recent changes in MacOS Sequoia, the shortcut to complete search strings to .com addresses has been changed on MacOS from Ctrl+Enter to Cmd+Enter. To disable this feature, set the browser.urlbar.ctrlCanonizesURLs preference to false. With this preference set to false, Cmd+Enter opens the address in a new tab, as before.
| Assignee | ||
Comment 30•11 months ago
•
|
||
(In reply to Rob Wu [:robwu] from comment #29)
This bug assigns a new action to
Cmd+Enter, but that key already had some behavior before: opening a URL in a new tab.
We're tracking that in bug 1949999.
I concur having a more detailed note may help, though I don't think we should pass the message we're breaking opening in new tab deliberately, since we're not.
The shortcut to open in new tab for the urlbar is alt+Enter across all the platforms. cmd+enter happened to work as an alternative on MacOS (from when we moved canonization to ctrl+enter few years ago).
Thus, I'd replace the ", as before." part with ", like Alt+Enter.", or just remove it.
Updated•11 months ago
|
Description
•