Closed Bug 246906 Opened 21 years ago Closed 20 years ago

can't close tab through shortcut when page gives timeout (adition to bug 246903)

Categories

(Firefox :: Tabbed Browser, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 232708

People

(Reporter: bramus, Assigned: bugs)

References

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040614 Firefox/0.9

In addtition to the bug posted at 
http://bugzilla.mozilla.org/show_bug.cgi?id=246903

When this situation happens you can't close the tab with the shortcut to closing
a tab (i.e. CTRL+F4 for windows)

Reproducible: Always
Steps to Reproduce:
1. Follow the steps from the bug posted at
http://bugzilla.mozilla.org/show_bug.cgi?id=246903
2. Press CTRL+F4 (windows) // use the shortcut to close a tab
Actual Results:  
the tab isn't closed, but it should be...

Expected Results:  
it isn't closed.

ANALYSIS + SOLUTION:
1. the problem is that the focus of that tab is set to the address-bar, not to
the tab (the area that should show the webpage)
2. a simple solution is to click inside the tab, which sets the active focus to
the tab
3. then press CTRL+F4 and it works.

HOW TO IMPLEMENT:
1. simply set the focus of a page that gives a timeout/server not found error to
the tab and not the address bar
2. OR make it so that when pressing CTRL+F4 it closes the tab even when the
active focus is set to the address-bar
Depends on: 246903
Summary: adition to bug 246903 : can't close tab through shortcut when page gives timeout → can't close tab through shortcut when page gives timeout (adition to bug 246903)

*** This bug has been marked as a duplicate of 232708 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.