Closed Bug 456212 Opened 14 years ago Closed 14 years ago

entrycompletion widget (awesome bar) grabs focus in a odd way

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
fennec1.0a2

People

(Reporter: tonikitoo, Assigned: enndeakin)

References

Details

Attachments

(1 file)

1) open fennec and start typing something in the urlbar - autocomplete shows up.
2) keep it opened and tap something outside the fennec window (e.g. open another application or just tap a task navigation menu)

awesomebar keeps in the top of the screen (see screenshots #1 and #2), because of grabs focus wrongly.
is this focus or just zorder?
Assignee: nobody → enndeakin
Flags: blocking-fennec1.0+
Looks like a rollup issue. The widget code should be rolling up popups when another application or system UI is used. Is the device not sending the right notifications, or am I possibly remembering that this wasn't always fully implemented on Linux?
I believe this is a focus issue: see http://mxr.mozilla.org/mozilla-central/source/widget/src/gtk2/nsWindow.cpp#2867

we avoid the entrycompletion to grab the focus when vkb is up (otherwise double tap was needed to input from vkb - see bug 435885) , so it is probably the same case here: all 'child-windows" created are grabbing the focus that way...
Antonio, is this something you know how to fix?
(In reply to comment #4)
> Antonio, is this something you know how to fix?

Neil, we could just avoid child windows to grab focus (as we did if vkb is up) in nsWindow.cpp if #HILDON.

stuart, mfinkle: is that something worth to do, even after after your discussion on #mobile about replacing autocomplete popup as it by a richlistbox or something else (no popup). If so , I could do that ...
I think this is probably worked around by bug 466717?
Yeah, these issues go away with bug 466717 fixed.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → Fennec A2
verified FIXED on build:

Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a1pre) Gecko/20090821
Fennec/1.0b3pre
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.