Closed Bug 1662638 Opened 4 years ago Closed 4 years ago

Start page focus is broken in Firefox 80

Categories

(Firefox :: Address Bar, defect)

80 Branch
defect

Tracking

()

RESOLVED DUPLICATE of bug 1411465

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.

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.

Component: Untriaged → DOM: UI Events & Focus Handling
Product: Firefox → Core
Flags: needinfo?(bugs)

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?

Component: DOM: UI Events & Focus Handling → Address Bar
Product: Core → Firefox

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:

I will contact the addon developer and suggest to suspend this issue.

Flags: needinfo?(bugs)

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.

Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.