Closed Bug 464357 Opened 16 years ago Closed 16 years ago

Ctrl+L should work like in ff

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: taras.mozilla, Assigned: mfinkle)

Details

Attachments

(1 file, 1 obsolete file)

      No description provided.
Attached patch patch (obsolete) — Splinter Review
adds support for the CTRL+L command
Assignee: nobody → mark.finkle
Attachment #347774 - Flags: review?(gavin.sharp)
At some point I think we lost the feature where the URL is selected when the location bar is activated.

This patch is the same as the last, but adds the selectAll back
Attachment #347774 - Attachment is obsolete: true
Attachment #347776 - Flags: review?(gavin.sharp)
Attachment #347774 - Flags: review?(gavin.sharp)
Comment on attachment 347776 [details] [diff] [review]
patch 2 - adds a .selectAll() call

>+        break;
>+      case "cmd_openLocation":
>+        this.show(UIMODE_URLEDIT);
>+        setTimeout(function () {BrowserUI.updateAutoComplete(true)}, 0);
How about moving call to .updateAutoComplete() into show()?
(In reply to comment #3)
> (From update of attachment 347776 [details] [diff] [review])
> >+        break;
> >+      case "cmd_openLocation":
> >+        this.show(UIMODE_URLEDIT);
> >+        setTimeout(function () {BrowserUI.updateAutoComplete(true)}, 0);
> How about moving call to .updateAutoComplete() into show()?

We call show(UIMODE_URLEDIT) when making a new tab and we, currently, don't show any autocomplete then.

With all the "new tab" pages happening in FF and other browsers, maybe we should. Madhava?
Madhava - Open a new bug if you want some kind of autocomplete popup when making new tabs. It could be something like the new FF page.
Attachment #347776 - Flags: review?(gavin.sharp) → review+
Comment on attachment 347776 [details] [diff] [review]
patch 2 - adds a .selectAll() call

Have the click handler use the new command too to avoid duplicating the code?
(In reply to comment #6)
> (From update of attachment 347776 [details] [diff] [review])
> Have the click handler use the new command too to avoid duplicating the code?

Done

http://hg.mozilla.org/mobile-browser/rev/e398d5148766
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
verified FIXED on builds:

Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.2b1pre) Gecko/20091002
Fennec/1.0b4

and

Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2b1pre) Gecko/200910002
Fennec/1.0b4
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: