Start page focus is broken in Firefox 80
Categories
(Firefox :: Address Bar, defect)
Tracking
()
People
(Reporter: bugs, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:80.0) Gecko/20100101 Firefox/80.0
Steps to reproduce:
I have configured https://www.google.de/ as my start page. When I open a new Tab (Ctrl+T or mouse click on the Tab "+" button), the Google page will pop up. Then I will enter the search term.
Alternative test case: I configure a start page which just contains this code:
<input id="in">
<script>
document.getElementById("in").focus();
</script>
Actual results:
After opening the tab, the input focus is at the beginning of the address bar. Then the search term is prepended to the address. E.g. if I search for "Android", the address bar will show "Androidhttps://www.google.de", and Google will search for this.
Alternative test case: The focus is at the beginning of the address bar. My input for the input field is inserted into the address.
Expected results:
The focus should be there where the web page sets it. Input should go into the focused input field, not into the address bar.
Comment 1•4 years ago
|
||
Hi,
So you're able to reproduce only after adding the mentioned code above right?
Can you provide steps on how to do so, in order to reproduce it on my end? Given that I lack the technical knowledge to test this for now, I will move this over to a component so developers can take a look over it.
Can you try this on the latest version of nightly? You can download it from here: https://nightly.mozilla.org/
Thanks for the report.
Best regards, Clara.
Updated•4 years ago
|
Comment 2•4 years ago
|
||
The custom url options for new tab seem gone from about:preferences
in Nightly at least (probably because opening a newtab focuses the address bar, as you note).
Hopefully some of the folks that work in the address bar / new tab page know when this changed?
Reporter | ||
Comment 3•4 years ago
|
||
I just noticed that I have the Addon "New Tab Homepage" installed which will open the configured start page when opening a new tab. So this may just be a compatibility issue of this addon with Firefox 80.
Steps to reproduce - having that addon installed - are:
- go to the Firefox Settings => Start page settings
- configure some start page that sets focus to an input field, e.g. https://www.google.de/ or https://duckduckgo.com/
- open a new tab
- type some input
I will contact the addon developer and suggest to suspend this issue.
Reporter | ||
Comment 4•4 years ago
|
||
Oh well, as Emilio says: The built-option to open new tabs with the custom start page is missing. At the top of about:preferences / start page settings, it says:
"Legen Sie fest, was als Startseite sowie in neuen Fenstern und Tabs geöffnet wird" (~ chose, what will be opened as start page and in new windows and tabs). But the corresponding setting for the "new tabs" option is missing. This should be clarified / fixed first.
Updated•4 years ago
|
Description
•