Closed Bug 364969 Opened 18 years ago Closed 18 years ago

Keyboard tab bar navigation broken

Categories

(SeaMonkey :: UI Design, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 363934

People

(Reporter: mcsmurf, Unassigned)

References

Details

(Keywords: regression)

Attachments

(1 file)

To reproduce:
1. Open multiple tabs
2. Focus one tab (in the tab bar)
3. Try to use the left/right arrow keys to switch between the tabs.

This only works one time, nothing happens when trying further.
This is the SeaMonkey version of Bug 363934, caused by Bug 330705. Regression range matches, the fix from toolkit/ can probably be used for xpfe/, too.
Summary: Keyboard navigation for tabs broken → Keyboard tab bar navigation broken
Attached patch PatchSplinter Review
Same patch as in Bug 363934, just for xpfe/.
Comment on attachment 249627 [details] [diff] [review]
Patch

This patch causes issues, namely "Error: document.commandDispatcher.focusedElement has no properties
Source File: chrome://global/content/bindings/tabbrowser.xml
Line: 710" sometimes occurs in the JS Console and so "breaks" the tab browser.
Oops, sorry, the patch should use document.commandDispatcher.focusedElement instead of this.mCurrentBrowser.focusedElement.
Comment on attachment 249627 [details] [diff] [review]
Patch

Maybe if (hadFocus && this.mCurrentBrowser.focusedElement) {
(In reply to comment #4)
> (From update of attachment 249627 [details] [diff] [review])
> Maybe if (hadFocus && this.mCurrentBrowser.focusedElement) {

I tried that (saveFocus), but that doesn't seem to fix the bug.
(In reply to comment #5)
>(In reply to comment #4)
>>(From update of attachment 249627 [details] [diff] [review])
>>Maybe if (hadFocus && this.mCurrentBrowser.focusedElement) {
>I tried that (saveFocus), but that doesn't seem to fix the bug.
Sorry, hadFocus was something left over from another patch that I was writing.
Sorry, this should be fixed now with the patch from bug 363934.
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
Component: XP Apps: GUI Features → UI Design
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: