Closed Bug 1404583 Opened 7 years ago Closed 7 years ago

[macOS] [Photon] The Location Bar is not focussed when you open the first Tab with CMD-T while Firefox is already running

Categories

(Firefox :: Address Bar, defect)

Unspecified
macOS
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 58
Tracking Status
firefox-esr52 --- unaffected
firefox56 --- unaffected
firefox57 --- verified
firefox58 --- verified

People

(Reporter: mehmet.sahin, Assigned: dao)

References

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3228.0 Safari/537.36

Steps to reproduce:

macOS 10.12.6
58.0a1 (2017-09-29) (64-Bit)

1.) Start Firefox
2.) Close all windows
3.) Press Cmd-T to open a New Tab


Actual results:

The Location Bar is not focussed. You need to click into the Location Bar, so that you can start typing. It works fine, when you open a further Tab with CMD-T.


Expected results:

It should be focussed when you open the first Tab with CMD-T so that you are able to type immediately.

If you need more information, please let me know.

Thanks.
Component: Untriaged → Address Bar
OS: Unspecified → Mac OS X
This seems to be a regression. Works fine in latest Firefox 56.0 Stable.
What's your homepage set to?
What does the tab load?
Flags: needinfo?(mehmet.sahin)
Attached video screencast.mov
(In reply to Marco Bonardo [::mak] from comment #2)
> What's your homepage set to?
> What does the tab load?

Thanks for your feedback. Here are your requested answers:

What's your homepage set to? --> Nightly Startpage
What does the tab load? The New Tab Page

Here is a screencast.

CMD-T (new Tab) doesn't focus the Address Bar
CMD-N (new Window) focusses it.

Thanks!
Flags: needinfo?(mehmet.sahin)
Mardak, any insight here?
Flags: needinfo?(edilee)
57.0a1 Build ID 	20170921100141 focuses address bar on about:newtab of new window
58.0a1 Build ID 	20170922100051 doesn't focus address bar on about:newtab of new window

Most likely bug 1399454
Blocks: 1399454
Flags: needinfo?(edilee) → needinfo?(dao+bmo)
Keywords: regression
Assignee: nobody → dao+bmo
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Flags: needinfo?(dao+bmo) → in-testsuite?
Comment on attachment 8916934 [details]
Bug 1404583 - Make openLinkIn not steal focus from the address bar when loading the New Tab page.

https://reviewboard.mozilla.org/r/187972/#review193550
Attachment #8916934 - Flags: review?(florian) → review+
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4e1474612b64
Make openLinkIn not steal focus from the address bar when loading the New Tab page. r=florian
Backout by archaeopteryx@coole-files.de:
https://hg.mozilla.org/integration/autoland/rev/8b3c3e279588
Backed out changeset 4e1474612b64 for failing browser-chrome's browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js. r=backout
Backed out for failing browser-chrome's browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js:

https://hg.mozilla.org/integration/autoland/rev/8b3c3e27958867ff0135adf75be4e8daf4a7d745

Push with failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=4e1474612b6402a3cbc70f9e5fcc449d37be018c&filter-resultStatus=testfailed&filter-resultStatus=busted&filter-resultStatus=exception&filter-resultStatus=retry&filter-resultStatus=usercancel&filter-resultStatus=runnable
Failure log: https://treeherder.mozilla.org/logviewer.html#?job_id=136205055&repo=autoland

[task 2017-10-11T13:11:32.041Z] 13:11:32     INFO - TEST-START | browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js
[task 2017-10-11T13:11:32.151Z] 13:11:32     INFO - GECKO(3236) | 1507727492145	addons.xpi	WARN	Attempting to activate an already active default theme
[task 2017-10-11T13:11:32.452Z] 13:11:32     INFO - GECKO(3236) | JavaScript error: chrome://browser/content/utilityOverlay.js, line 454: ReferenceError: gURLBar is not defined
[task 2017-10-11T13:11:32.457Z] 13:11:32     INFO - TEST-INFO | started process screentopng
[task 2017-10-11T13:11:34.005Z] 13:11:34     INFO - TEST-INFO | screentopng: exit 0
[task 2017-10-11T13:11:34.006Z] 13:11:34     INFO - Buffered messages logged at 13:11:32
[task 2017-10-11T13:11:34.006Z] 13:11:34     INFO - Entering test bound test_menu
[task 2017-10-11T13:11:34.008Z] 13:11:34     INFO - TEST-PASS | browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js | {"click-builtin-item":{"sync-button":{"left":1}},"synced-tabs":{"open":{"toolbarbutton-subview":1}}} deepEqual {"click-builtin-item":{"sync-button":{"left":1}},"synced-tabs":{"open":{"toolbarbutton-subview":1}}} - 
[task 2017-10-11T13:11:34.013Z] 13:11:34     INFO - Leaving test bound test_menu
[task 2017-10-11T13:11:34.015Z] 13:11:34     INFO - Entering test bound test_sidebar
[task 2017-10-11T13:11:34.017Z] 13:11:34     INFO - Console message: 1507727492145	addons.xpi	WARN	Attempting to activate an already active default theme
[task 2017-10-11T13:11:34.019Z] 13:11:34     INFO - Buffered messages finished
[task 2017-10-11T13:11:34.025Z] 13:11:34     INFO - TEST-UNEXPECTED-FAIL | browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js | {"sidebar":{"viewTabsSidebar":{"show":1}}} deepEqual {"sidebar":{"viewTabsSidebar":{"show":1}},"synced-tabs":{"open":{"sidebar":1}}} - JS frame :: chrome://mochitests/content/browser/browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js :: test_sidebar :: line 109
[task 2017-10-11T13:11:34.028Z] 13:11:34     INFO - Stack trace:
[task 2017-10-11T13:11:34.036Z] 13:11:34     INFO - chrome://mochitests/content/browser/browser/modules/test/browser/browser_BrowserUITelemetry_syncedtabs.js:test_sidebar:109
[task 2017-10-11T13:11:34.038Z] 13:11:34     INFO - Leaving test bound test_sidebar
Flags: needinfo?(dao+bmo)
Flags: needinfo?(dao+bmo)
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/93fc50f247f6
Make openLinkIn not steal focus from the address bar when loading the New Tab page. r=florian
https://hg.mozilla.org/mozilla-central/rev/93fc50f247f6
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 58
Comment on attachment 8916934 [details]
Bug 1404583 - Make openLinkIn not steal focus from the address bar when loading the New Tab page.

Approval Request Comment
[Feature/Bug causing the regression]: bug 1399454
[User impact if declined]: see comment 0
[Is this code covered by automated tests?]: no
[Has the fix been verified in Nightly?]: not yet
[Needs manual test from QE? If yes, steps to reproduce]: 
[List of other uplifts needed for the feature/fix]: /
[Is the change risky?]: no
[Why is the change risky/not risky?]: trivial fix
[String changes made/needed]: /
Attachment #8916934 - Flags: approval-mozilla-beta?
Comment on attachment 8916934 [details]
Bug 1404583 - Make openLinkIn not steal focus from the address bar when loading the New Tab page.

Recent regression, Beta57+
Attachment #8916934 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Flags: qe-verify+
I managed to reproduce the bug using Mac OS X 10.11 on am older version of Nightly (2017-09-30).
I retested everything using latest 58 Nightly and beta 57.0b9 on Mac OS X 10.11 and macOS 10.12 and the bug is not reproducing anymore. In a new tab the focus is on the Navigation bar.
Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: