Closed Bug 1179698 Opened 6 years ago Closed 4 years ago

Mobile: Ctrl+T opens a new tab, but the focus is not on the address bar

Categories

(Firefox for Android Graveyard :: Keyboards and IME, defect)

38 Branch
defect
Not set
normal

Tracking

(firefox61 fixed)

RESOLVED FIXED
Firefox 61
Tracking Status
firefox61 --- fixed

People

(Reporter: daniel, Assigned: JanH)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (Android; Tablet; rv:38.0) Gecko/38.0 Firefox/38.0
Build ID: 20150528015112
Firefox for Android

Steps to reproduce:

In Firefox Mobile 38.0.5 on Android 4.1, using an external bluetooth keyboard, i hit CTRL+Tab and a new browser tab opens. I begin to type the URL.


Actual results:

As the focus is on the first of the top sites, nothing happens.


Expected results:

The focus should have been on the address bar (it is in firefox desktop), the URL should have been entered in the address bar.
apologies. it is android 4.4.2, not 4.1 as originally stated.
Component: Untriaged → Keyboards and IME
Product: Firefox → Firefox for Android
Version: 38 Branch → Firefox 38
The Tabs.LOADURL_START_EDITING flag added for bug 1413739 means that this can be done now with minimal further effort.
Assignee: nobody → jh+bugzilla
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment on attachment 8963731 [details]
Bug 1179698 - Part 0 - Remove superfluous true/false ternary operator.

https://reviewboard.mozilla.org/r/232624/#review238574
Attachment #8963731 - Flags: review?(nchen) → review+
Comment on attachment 8963732 [details]
Bug 1179698 - Part 1 - Put input focus on the URL bar when opening a new tab via keyboard.

https://reviewboard.mozilla.org/r/232626/#review238576

::: mobile/android/base/java/org/mozilla/gecko/BrowserApp.java:2172
(Diff revision 1)
>          MmaDelegate.track(NEW_TAB);
>          Tabs.getInstance().addTab();

Use `addTab(Tabs.LOADURL_NONE);`
Attachment #8963732 - Flags: review?(nchen) → review+
Pushed by mozilla@buttercookie.de:
https://hg.mozilla.org/integration/autoland/rev/e7a004dce76e
Part 0 - Remove superfluous true/false ternary operator. r=jchen
https://hg.mozilla.org/integration/autoland/rev/7cd56bc0b985
Part 1 - Put input focus on the URL bar when opening a new tab via keyboard. r=jchen
https://hg.mozilla.org/mozilla-central/rev/e7a004dce76e
https://hg.mozilla.org/mozilla-central/rev/7cd56bc0b985
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 61
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.