Closed Bug 343422 Opened 19 years ago Closed 19 years ago

when you have only one tab, middle click on the tab brings the close button back

Categories

(Firefox :: Tabbed Browser, defect)

2.0 Branch
x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 342105
Firefox 2 beta2

People

(Reporter: Peter6, Assigned: moco)

References

Details

Attachments

(1 obsolete file)

Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.9a1) Gecko/20060702 Minefield/3.0a1 ID:2006070202 [cairo] (also on latest branch) repro: Open FF with 1 tab middleclick on that tab result: the close button appears in that tab expected: that not to happen
Because we're adding a blank tab which will replace the tab to be closed, we're getting a TabOpen event after the TabClose one which confuses adjustTabStrip. Dispatching TabClose slightly later should take care of this issue (and is even more correct because we're actually opening a new tab before closing the old one).
Attachment #228557 - Flags: review?(sspitzer)
*** Bug 344082 has been marked as a duplicate of this bug. ***
sorry for not noticing this patch before b1. I'll take test, review and work it into b2.
Assignee: nobody → sspitzer
Target Milestone: --- → Firefox 2 beta2
Status: NEW → ASSIGNED
Summary: middle click on last tab brings the close button back → when you have only one tab, middle click on last tab brings the close button back
Summary: when you have only one tab, middle click on last tab brings the close button back → when you have only one tab, middle click on the tab brings the close button back
Flags: blocking-firefox2?
Now that closing the exposed tab doesn't close the window, we should show the always show the closebutton, duping to that bug. *** This bug has been marked as a duplicate of 342105 ***
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Flags: blocking-firefox2? → blocking-firefox2+
Resolution: --- → DUPLICATE
Comment on attachment 228557 [details] [diff] [review] dispatch TabClose after TabOpen in this edge case Moving this patch over to bug 344587.
Attachment #228557 - Attachment is obsolete: true
Attachment #228557 - Flags: review?(sspitzer)
*** Bug 344953 has been marked as a duplicate of this bug. ***
Flags: blocking-firefox2+
*** Bug 345268 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: