Closed
Bug 365690
Opened 19 years ago
Closed 18 years ago
Edit bar fires focus event on menu popup
Categories
(Core :: Disability Access APIs, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: parente, Assigned: aaronlev)
References
Details
Attachments
(1 file, 1 obsolete file)
|
3.48 KB,
patch
|
ginnchen+exoracle
:
review+
|
Details | Diff | Splinter Review |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9a2pre) Gecko/20070102 Minefield/3.0a2pre)
1. Run at-poke and watch for focus events.
2. Put focus on the address bar. at-poke will log a focus event on the entry box. This is correct.
3. Clear the text in the address bar.
4. Type something that will make the edit bar popup show (e.g. www).
5. at-poke logs a "focus" event on the popup menu. However, the entry box still has the actual application focus as the next key press (e.g. ., left arrow, etc.) will affect the entry box, not the menu control. This seems inconsistent/incorrect.
Expected, consistent behavior would be to receive a focus event on the popup menu only once the user navigates into it (e.g. down arrow) just as the entry box receives focus when the user tabs to it, presses Alt-D, clicks on it, etc.
I do believe an event should be fired when the popup menu first appears, but I don't think "focus" is the right one.
The gail/gtk solution is to give focus to the comobox accessible, not its entry box or its list. See the autocomplete in the run dialog (Alt-F2).
| Assignee | ||
Comment 1•19 years ago
|
||
My proposal is to keep focus and events in the edit bar, but fix it so the extra focus events in the popup aren't fired unless focus is really there.
Agree.
Make it blocking bug 332662, this bug should be fixed before that one.
Blocks: 332662
| Assignee | ||
Comment 3•18 years ago
|
||
I'm guessing this is related to the unnecessary focus events on tooltips - bug 368314.
| Assignee | ||
Updated•18 years ago
|
| Assignee | ||
Comment 4•18 years ago
|
||
| Assignee | ||
Comment 5•18 years ago
|
||
Attachment #253341 -
Flags: review?(ginn.chen)
| Assignee | ||
Updated•18 years ago
|
Attachment #253266 -
Attachment is obsolete: true
Comment on attachment 253341 [details] [diff] [review]
Don't fire focus for autocomplete or tooltips -- but fire state change for visible for any popup
I guess we need more code on MENU_POPUPSTART/END for atk.
But it's not easy. (bug 332662)
This patch is fine for now.
Attachment #253341 -
Flags: review?(ginn.chen) → review+
| Assignee | ||
Updated•18 years ago
|
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•