Closed Bug 356805 Opened 19 years ago Closed 18 years ago

Undo close tab doesn't turn the tab bar on

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: neil, Assigned: csthomas)

References

Details

Attachments

(1 file)

Steps to reproduce problem: 1. Set the tab bar to auto hide 2. Delete all your tabs except one, so that your tab bar auto hides 3. Press Ctrl+Shift+T Expected result: tab bar shows two tabs Actual result: tab is undeleted but tab bar does not appear
else // if there's only one tab, it's selected anyway this.selectedTab = t; Hmm... why did adding this.mStrip.collapsed = false; there not work? :-\
(In reply to comment #1) > else // if there's only one tab, it's selected anyway > this.selectedTab = t; > > Hmm... why did adding this.mStrip.collapsed = false; there not work? :-\ There was an ID-10-T error in the compile. It shows the strip properly when it should, but it occasionally results in a gray bar below the browser, and messed up painting + boatloads of asserts + crashes on shutdown. ###!!! ASSERTION: we shouldn't still be observing the doc: 'mContentViewer && mD ocument', file i:/smtrunk1/mozilla/docshell/shistory/src/nsSHEntry.cpp, line 718
Attached patch seems to workSplinter Review
I can't reproduce the bustage I saw before, so let's see what the reviewers think. Maybe some gecko stuff was broken when I tried this before.
Assignee: guifeatures → cst
Status: NEW → ASSIGNED
Attachment #247137 - Flags: superreview?(neil)
Attachment #247137 - Flags: review?(jag)
Comment on attachment 247137 [details] [diff] [review] seems to work >+ this.removeTab(this.mTabs[0]); // if there's only one tab, it's selected anyway Nit: long line >+ else { Nit: two spaces ^
Attachment #247137 - Flags: superreview?(neil)
Attachment #247137 - Flags: superreview+
Attachment #247137 - Flags: review?(jag)
Attachment #247137 - Flags: review+
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
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: