Closed
Bug 1009451
Opened 9 years ago
Closed 9 years ago
TypeError: tabs[i]._preview is undefined
Categories
(SeaMonkey :: OS Integration, defect)
Tracking
(seamonkey2.26 wontfix, seamonkey2.27 wontfix, seamonkey2.28 fixed, seamonkey2.29 fixed)
RESOLVED
FIXED
seamonkey2.30
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(2 files)
877 bytes,
patch
|
mcsmurf
:
review+
iannbugzilla
:
approval-comm-aurora+
iannbugzilla
:
approval-comm-beta+
|
Details | Diff | Splinter Review |
1.58 KB,
patch
|
Details | Diff | Splinter Review |
When you have exactly 21 tabs and you close a tab, the AeroPeek object turns itself on. However it tries to turn itself on for the tab you've just closed, which doesn't work, because we've already deleted the preview. This leaves AeroPeek in an inconsistent state.
Assignee | ||
Comment 1•9 years ago
|
||
After removing the controller we check the preview count, and if the count drops to exactly 20 we enable AeroPeek, which tries to enable for the tab we're just deleting. The problem arises because we remove the controller after deleting the preview. If we remove the controller first, we will temporarily enable the preview, then re-disable it, and then the tab ordering gets updated.
Assignee | ||
Comment 2•9 years ago
|
||
This version simply skips tabs that have no preview, presuming that they're being deleted.
Assignee | ||
Updated•9 years ago
|
status-seamonkey2.26:
--- → affected
status-seamonkey2.27:
--- → affected
status-seamonkey2.28:
--- → affected
status-seamonkey2.29:
--- → affected
Comment 3•9 years ago
|
||
Comment on attachment 8421589 [details] [diff] [review] Possible patch I like this one better, both work fine though :)
Attachment #8421589 -
Flags: review?(bugzilla) → review+
Updated•9 years ago
|
Updated•9 years ago
|
Assignee | ||
Comment 4•9 years ago
|
||
Pushed comm-central changeset 73c3ff8185e7.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.30
Assignee | ||
Comment 5•9 years ago
|
||
Comment on attachment 8421589 [details] [diff] [review] Possible patch [Approval Request Comment] Regression caused by (bug #): 839891 User impact if declined: Aero Peek errors if you close the 21st tab Testing completed (on m-c, etc.): Landed on c-c Risk to taking this patch (and alternatives if risky): Low String changes made by this patch: None
Attachment #8421589 -
Flags: approval-comm-beta?
Attachment #8421589 -
Flags: approval-comm-aurora?
Comment on attachment 8421589 [details] [diff] [review] Possible patch a=me
Attachment #8421589 -
Flags: approval-comm-beta?
Attachment #8421589 -
Flags: approval-comm-beta+
Attachment #8421589 -
Flags: approval-comm-aurora?
Attachment #8421589 -
Flags: approval-comm-aurora+
Assignee | ||
Comment 7•9 years ago
|
||
http://hg.mozilla.org/releases/comm-aurora/rev/0664cbda9968 http://hg.mozilla.org/releases/comm-beta/rev/6252cbf6dee6
You need to log in
before you can comment on or make changes to this bug.
Description
•