Closed Bug 516056 Opened 15 years ago Closed 15 years ago

Favicon can go to a pressed state in awesome bar

Categories

(Firefox for Android Graveyard :: General, defect)

defect
Not set
minor

Tracking

(Not tracked)

VERIFIED FIXED
fennec1.0b4

People

(Reporter: aakashd, Assigned: vingtetun)

Details

Attachments

(1 file, 1 obsolete file)

Build ID:

Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.2a2pre) Gecko/20090911 Fennec/1.0a3

and

Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.3a1pre) Gecko/20090911
Fennec/1.0a3

and

Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.2a2pre) Gecko/20090911
Fennec/1.0b4pre


Steps to Reproduce:
1. Click on the url bar to open the awesome bar.
2. Click on the favicon.
3. Click on the favicon again.

Actual Results:
The favicon has no actions associated with it, but can be in a pressed state.

Expected Results:
The favicon should not have a pressed state when it doesn't have any real action associated with it in that situation.
Perhaps it should dismiss the awesomebar
(In reply to comment #1)
> Perhaps it should dismiss the awesomebar

In Firefox the awesomebar results are dismissed and larry is shown (that's what it'll happen actually if we dismiss the awesomebar)
Attached patch Patch (obsolete) — Splinter Review
This can also happened when we launch any dialog, as for example the edit bookmark throw through the star on right panel + edit.
Attachment #400269 - Flags: review?(mark.finkle)
Comment on attachment 400269 [details] [diff] [review]
Patch

Technically, we could have more than one open dialog. Also, let's just call dialog.close();

Like this:

while (BrowserUI.activeDialog) 
  BrowserUI.activeDialog.close();

?
Attachment #400269 - Flags: review?(mark.finkle) → review-
Attached patch Patch v0.2Splinter Review
(In reply to comment #4)
> (From update of attachment 400269 [details] [diff] [review])
> Technically, we could have more than one open dialog. Also, let's just call
> dialog.close();

Obviously. I'm not sure why i've not thought of that :/
Attachment #400269 - Attachment is obsolete: true
Attachment #400452 - Flags: review?(mark.finkle)
Attachment #400452 - Flags: review?(mark.finkle) → review+
pushed:
https://hg.mozilla.org/mobile-browser/rev/d96fca76b037
Assignee: nobody → 21
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → B4
verified FIXED on builds:

Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.2a2pre) Gecko/20090915 Fennec/1.0a3

and

Mozilla/5.0 (Windows; U; WindowsCE 5.2; en-US; rv:1.9.3a1pre) Gecko/20090915
Fennec/1.0a3

and

Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a1pre) Gecko/20090915
Fennec/1.0b4pre
Status: RESOLVED → VERIFIED
This is something for our BFTs in the awesome bar section.
Flags: in-litmus?
litmus testcase https://litmus.mozilla.org/show_test.cgi?id=11561 created to regression test this bug.
Flags: in-litmus? → in-litmus+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: