Closed
Bug 305342
Opened 19 years ago
Closed 19 years ago
regression: tabbing from links doens't work in FAYT mode
Categories
(Toolkit :: Find Toolbar, defect, P1)
Toolkit
Find Toolbar
Tracking
()
VERIFIED
FIXED
mozilla1.8final
People
(Reporter: asaf, Assigned: masayuki)
References
Details
(Keywords: fixed1.8, regression, Whiteboard: [needs approval])
Attachments
(1 file, 1 obsolete file)
2.33 KB,
patch
|
masayuki
:
review+
asa
:
approval1.8b4+
|
Details | Diff | Splinter Review |
Tabbing to links doens't work anymore in FAYT mode (instead, it tabs inside the findbar or something). It looks related to the focus changes which were done in order to support IME, but I think it regressed a bit later.
Reporter | ||
Updated•19 years ago
|
Flags: blocking1.8b4?
Reporter | ||
Updated•19 years ago
|
Summary: regression: tabbing between links doens't work in FAYT mode → regression: tabbing from links doens't work in FAYT mode
Assignee | ||
Comment 1•19 years ago
|
||
Do you think that if found link has pseudo focus, we should be able to change the focus in links by tab?
Reporter | ||
Comment 2•19 years ago
|
||
That's the way FAYT used to work, yes. (Also, I think you want to go back to "real" focus once you press the TAB key, I hope it doesn't break IME).
Assignee | ||
Comment 3•19 years ago
|
||
Should I stop FAYT mode if Tab key is pressed? Or should keep FAYT mode?
Assignee | ||
Comment 4•19 years ago
|
||
Umm.. Maybe, I cannot keep FAYT mode after Tab. Because if we keep it, we need to emulate the focus changing mechanism. But it is very difficult. The focusable element is not links only. e.g., input element, select element... Most easy approach is: 1. Stop FAYT mode. 2. Set focus to found link. 3. Fire tab key event on browser.(I don't know it is possible or not.)
Assignee | ||
Comment 5•19 years ago
|
||
I will work on this tomorrow.(I will sleep, sorry.)
Reporter | ||
Comment 6•19 years ago
|
||
let's stop FAYT at that poiunt.
Assignee | ||
Updated•19 years ago
|
Status: NEW → ASSIGNED
OS: MacOS X → All
Priority: -- → P1
Hardware: Macintosh → All
Target Milestone: --- → Firefox1.5
Assignee | ||
Comment 7•19 years ago
|
||
This patch finish the FAYT mode when user type Tab or Shift+Tab and a link is found.
Attachment #193367 -
Flags: review?(mconnor)
Reporter | ||
Updated•19 years ago
|
Whiteboard: [needs review mconnor]
Updated•19 years ago
|
Flags: blocking1.8b4? → blocking1.8b4+
Comment 8•19 years ago
|
||
Comment on attachment 193367 [details] [diff] [review] Patch rv1.0 >+function finishFAYT(keypressEvent) please use aKeypressEvent here >+ else if (evt.keyCode == KeyEvent.DOM_VK_TAB) { >+ var shouldHandle = !evt.altKey && !evt.ctrlKey && !evt.metaKey; >+ if (shouldHandle && gFindMode != FIND_NORMAL && gFoundLink) { >+ if (finishFAYT(evt)) { you can save a level of nesting by adding the finishFAYT() call into the parent if statement.
Attachment #193367 -
Flags: review?(mconnor) → review+
Assignee | ||
Comment 9•19 years ago
|
||
The risk is low. This is regression bug.
Attachment #193367 -
Attachment is obsolete: true
Attachment #193785 -
Flags: superreview-
Attachment #193785 -
Flags: review+
Attachment #193785 -
Flags: approval1.8b4?
Assignee | ||
Updated•19 years ago
|
Attachment #193785 -
Flags: superreview-
Assignee | ||
Comment 10•19 years ago
|
||
checked-in.
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Whiteboard: [needs review mconnor] → [needs approval]
Updated•19 years ago
|
Attachment #193785 -
Flags: approval1.8b4? → approval1.8b4+
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•