Closed
Bug 342105
Opened 18 years ago
Closed 18 years ago
Close button not shown if there is only one tab
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
VERIFIED
FIXED
Firefox 2 beta2
People
(Reporter: t_pradeepkumar, Assigned: moco)
References
Details
(Keywords: verified1.8.1, Whiteboard: [mustfix])
Attachments
(2 files)
24.24 KB,
image/png
|
Details | |
2.70 KB,
patch
|
moco
:
review+
mconnor
:
superreview+
beltzner
:
approval1.8.1+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a3) Gecko/20060526 BonEcho/2.0a3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1a3) Gecko/20060526 BonEcho/2.0a3 Close button is not shown on the tab if there is only one tab open with the option "Hide the tab bar when only one website is open" is turned off. Reproducible: Always Steps to Reproduce: 1.Test with a fresh profile. Launch Bon Echo 2.Go to Tools ->Options ->Tabs ->Uncheck "Hide the tab bar when only one website is open" checkbox 3.Keep only one tab open. Actual Results: Shows a tabbar without the X close button. Shows the "close tab" option on the tabbar context menu though. Expected Results: Should show the X close button. Clicking on which should clear the tab content, the equivalent of context menu "close tab" option.
Reporter | ||
Comment 1•18 years ago
|
||
Reporter | ||
Updated•18 years ago
|
Version: unspecified → 2.0 Branch
Comment 2•18 years ago
|
||
Me too, on Linux.
Reporter | ||
Comment 3•18 years ago
|
||
I would like to add the close button is missing on the end of the tabbar also. So the only way to close is to use the tabbar context menu.
Comment 4•18 years ago
|
||
confirmed, upgraded severity, changed platform/OS to all and requested 2.0 blocking flag. Seeing this on Firefox 2.0 beta 1 on Mac and Windows. Bug Day topic for 07/11 is 2.0 Tabbed Browsing. I will put the community on finding the regression window. Note: oddly enough, if you use the context menu to close the only open tab, the tab becomes (Untitled) as expected and gains the close button which it retains even after browsing in that tab. But if you open another tab and close it the Single remaining tab loses its close button again. Perhaps this is intentional, to protect the user from inadvertantly destroying that tabs history?? If so please mark this bug invalid.
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: blocking-firefox2?
Keywords: regression
OS: Windows XP → All
Hardware: PC → All
Comment 5•18 years ago
|
||
possibly related to bug 343422
Reporter | ||
Comment 6•18 years ago
|
||
(In reply to comment #4) > Note: oddly enough, if you use the context menu to close the only open tab, > the tab becomes (Untitled) as expected and gains the close button which it > retains even after browsing in that tab. But if you open another tab and close > it the Single remaining tab loses its close button again. Perhaps this is > intentional, to protect the user from inadvertantly destroying that tabs > history?? If so please mark this bug invalid. > I am not able to get the close button again in the manner you mentioned. But I did notice that the tab had retained its history even though it has been closed(not sure if this is the expected behavior) anyone? If the case was to prevent the user from losing the tab history then even the context menu option should have been disabled??. But that would leave no way to clear the last tab.
Comment 7•18 years ago
|
||
Mike: with bug 281012 fixed, it might be worth reconsidering always showing the close button (opposite to what Opera does; don't know about IE7b3). Or do you think it's too confusing that when you close a tab a new one replaces it (instead of showing no tab at all or closing the window which we both can't do/don't want)? (In reply to comment #5) > possibly related to bug 343422 That bug is responsible for the cases when it's actually shown - which it currently isn't expected to at all. (In reply to comment #6) You seem to be using Firefox 1.5.0.*. We're talking about the current development versions.
Severity: major → minor
Keywords: regression → uiwanted
Reporter | ||
Comment 8•18 years ago
|
||
> (In reply to comment #6)
> You seem to be using Firefox 1.5.0.*. We're talking about the current
> development versions.
>
I am seeing this issue on Bon Echo/2.0a3 as mentioned in my original report. Maybe it has changed after that.I dont know about that.
Severity: minor → major
Comment 9•18 years ago
|
||
(In reply to comment #8) Sorry. But please do know, since this has changed with the fix to bug 281012 on 2006-06-06. And while this might be a major issue to you, this might just as well be no issue at all (if it is decided to stick to the current behavior, this bug will become WONTFIXed).
Severity: major → minor
Updated•18 years ago
|
Flags: blocking-firefox2? → blocking-firefox2+
Comment 10•18 years ago
|
||
The close button should be shown, with the effect being that it disposes the tab and immediately opens a new one. Strange behaviour surely, but I think it's the easiest and most reliably understandable case.
Comment 11•18 years ago
|
||
*** Bug 343422 has been marked as a duplicate of this bug. ***
Comment 12•18 years ago
|
||
"uiwanted" just disappeared from Keywords. BugZilla bug?
Assignee | ||
Updated•18 years ago
|
Assignee: nobody → sspitzer
Comment 13•18 years ago
|
||
Attachment #229158 -
Flags: review?(sspitzer)
Comment 14•18 years ago
|
||
(In reply to comment #12) > "uiwanted" just disappeared from Keywords. BugZilla bug? No, I submitted the ui design in comment 10, and removed the keyword.
Whiteboard: [mustfix]
Updated•18 years ago
|
Status: NEW → ASSIGNED
Whiteboard: [mustfix] → [mustfix][has patch][needs review sspitzer]
Assignee | ||
Comment 15•18 years ago
|
||
note, asaf has just touched this code, so there's going to be some bitrot on that patch.
Assignee | ||
Comment 16•18 years ago
|
||
Comment on attachment 229158 [details] [diff] [review] don't treat a single tab in a special way actually, I don't see any bit rot. the patch looks good, so I'm testing it now. thanks for the patch!
Assignee | ||
Comment 17•18 years ago
|
||
Comment on attachment 229158 [details] [diff] [review] don't treat a single tab in a special way r=sspitzer, seeking sr= from mconnor.
Attachment #229158 -
Flags: superreview?(mconnor)
Attachment #229158 -
Flags: review?(sspitzer)
Attachment #229158 -
Flags: review+
Assignee | ||
Updated•18 years ago
|
Whiteboard: [mustfix][has patch][needs review sspitzer] → [mustfix][has patch][needs review mconnor]
Comment 18•18 years ago
|
||
Comment on attachment 229158 [details] [diff] [review] don't treat a single tab in a special way So, I don't know what error either, and this might be a legacy piece from where I relocated a bunch of that code, but without knowing for sure, let's leave it in on branch (Simon, can you file a followup on this, with the goal of removing the try/catch)
Attachment #229158 -
Flags: superreview?(mconnor) → superreview+
Updated•18 years ago
|
Whiteboard: [mustfix][has patch][needs review mconnor] → [mustfix][has patch][needs checkin]
Updated•18 years ago
|
Whiteboard: [mustfix][has patch][needs checkin] → [mustfix] [has patch] [checkin needed]
Assignee | ||
Comment 19•18 years ago
|
||
I'll do the check in and log the spin off bug.
Assignee | ||
Comment 20•18 years ago
|
||
fixed on the trunk. > (Simon, can you file a followup on this, with the goal of removing > the try/catch) see bug #345561
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [mustfix] [has patch] [checkin needed] → [mustfix] [fixed on trunk]
Assignee | ||
Comment 21•18 years ago
|
||
Comment on attachment 229158 [details] [diff] [review] don't treat a single tab in a special way seeking a= for branch
Attachment #229158 -
Flags: approval1.8.1?
Comment 22•18 years ago
|
||
Comment on attachment 229158 [details] [diff] [review] don't treat a single tab in a special way a=drivers. Please go ahead and land this on the MOZILLA_1_8_BRANCH.
Attachment #229158 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Comment 23•18 years ago
|
||
fixed on the branch. Simon, thanks again for the fix!
Keywords: fixed1.8.1
Whiteboard: [mustfix] [fixed on trunk] → [mustfix]
Updated•18 years ago
|
Status: RESOLVED → VERIFIED
Keywords: fixed1.8.1 → verified1.8.1
Comment 24•18 years ago
|
||
*** Bug 349840 has been marked as a duplicate of this bug. ***
Comment 25•18 years ago
|
||
*** Bug 350412 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.
Description
•