Closed Bug 635975 Opened 14 years ago Closed 14 years ago

Older jetpack addons cause tabs to become totally disorganized in Panorama

Categories

(Firefox Graveyard :: Panorama, defect, P4)

x86
All
defect

Tracking

(blocking2.0 Macaw+, status2.0 .1-fixed)

VERIFIED FIXED
Firefox 5
Tracking Status
blocking2.0 --- Macaw+
status2.0 --- .1-fixed

People

(Reporter: bent.mozilla, Assigned: ttaubert)

References

Details

Attachments

(1 file, 1 obsolete file)

+++ This bug was initially created as a clone of Bug #628188 +++ I was bitten by bug 628188 when I installed https://addons.mozilla.org/en-US/firefox/addon/memory-meter/ as well. Am I correct that the only solution here is to recompile any addons that used the old SDK with a newer SDK? Do we expect many jetpack addons to do this frequently? Is it likely that they will all do so by the Firefox 4 ship date? If we're not confident that most addons will update themselves to a newer SDK I think we may need to figure out some workaround in the panorama code before we ship. Otherwise new Firefox 4 users will have have a really broken panorama, and that's one of our big new features. What do you guys think?
Myk: at one point we had this idea of SDK updates being magically applied; is that still something that's a going concern? (removing blocking nomination inherited from cloned bug)
blocking2.0: ? → ---
The blocking nomination wasn't an artifact of the bug being cloned, I was actually interested in what the frontend folks think of the severity of this bug. I personally don't care enough about any of the currently available jetpack addons to really advocate for blocking here (I just removed the memory addon, problem solved). Maybe others feel differently, though? It seems weird to promote jetpack and panorama in Firefox 4 and then have this big problem that arises when the two are mixed.
blocking2.0: --- → ?
Yeah, the problem is fixed in the newest SDK I think (not sure if it's released or not yet). About blocking, or wallpapering in Firefox: 1. The market should decide: if an add-on screws up your browser, it'll have crap reviews and ratings until the developer fixes it. People will not use it. 2. We are not going to change Firefox 4 to route around a few add-ons that are developed by people who are in our developer community (mostly Moco employees even!). Upgrading the SDK and recompiling takes minutes, so we should talk to those people. 3. Jetpack is still not 1.0. We try to minimize bugs and problems, but it's still not certified as being production quality. Problems like this bug are us being hurt by the success of it's immediate usefulness :) 4. These addons might be big in the mozilla developer community, but none of them are hitting critical mass. We need some perspective here. Of course, one post on RWW or Reddit could change that...
for the record. AddonSDK 1.0b3 that fixes this bug is only about to be released and is not yet available from inside the addons builder. It'll be much easier to fix this once we have both things done :)
(In reply to comment #1) > Myk: at one point we had this idea of SDK updates being magically applied; is > that still something that's a going concern? We're still considering automatically repackaging AMO-hosted addons with new minor security/stability releases of the SDK (once SDK 1.0 is released and we start doing such minor releases), although we haven't developed any firm plans to do so.
(In reply to comment #3) > 1. The market should decide: if an add-on screws up your browser, it'll have > crap reviews and ratings until the developer fixes it. People will not use it. The only caveat being that with this particular bug, it is not immediately clear that an add-on is the culprit. It looks like Panorama just falls over.
Still don't think it blocks; earlier versions of the SDK were pre-alpha. Not expected to always work without recompiling.
blocking2.0: ? → -
(In reply to comment #6) > The only caveat being that with this particular bug, it is not immediately > clear that an add-on is the culprit. It looks like Panorama just falls over. !!! The discussion up until now has been entirely about add-ons causing the problem. Can someone on the Panorama team investigate this asap?
(In reply to comment #8) > (In reply to comment #6) > > The only caveat being that with this particular bug, it is not immediately > > clear that an add-on is the culprit. It looks like Panorama just falls over. > > !!! The discussion up until now has been entirely about add-ons causing the > problem. Can someone on the Panorama team investigate this asap? My understanding is that, while this *is* the fault of the jetpack API itself, to the user it *looks* like it's Panorama's epic fail. Kevin, can you clarify?
Every time this bug has manifest itself, it has been filed as "Panorama randomly re-groups items". In it's original form, we did quite a bit of investigation (fruitlessly, as none of us had jetpack add-ons) until we noticed that everyone reporting this bug had the "hardblocker counter" add-on or some other jetpack add-on. So while we know this is a jetpack bug, its negative side effects only manifest visibly in Panorama. It is not immediately clear (even to developers and other technical people, let alone someone without domain knowledge)that an add-on is causing this, thus it looks like Panorama is just falling down.
Yeah, this is why I was thinking we might need a panorama hack.
Blocks: 585689
Assignee: nobody → tim.taubert
Status: NEW → ASSIGNED
Attached patch patch v1 (obsolete) — Splinter Review
Small fix based on the fact that "domwindowclosed" is fired before "unload".
Attachment #516380 - Flags: review?(ian)
Attachment #516380 - Flags: feedback?(mitcho)
Ian, any chance you could review this quickly? It's small enough (and I'd say high enough reward) that we may be able to slip this in for 4.0 if we move fast.
Comment on attachment 516380 [details] [diff] [review] patch v1 Seems worth doing.
Attachment #516380 - Flags: review?(ian)
Attachment #516380 - Flags: review+
Attachment #516380 - Flags: feedback?(mitcho)
Attachment #516380 - Flags: approval2.0?
Comment on attachment 516380 [details] [diff] [review] patch v1 Note to approvers: This is a really small patch the prevents tabs from being unlinked when the dom windows is closing. It's a little workaround for a fixed jetpack bug that unfortunately requires all older jetpack add-ons to be updated.
(In reply to comment #16) > Comment on attachment 516380 [details] [diff] [review] > patch v1 > > Note to approvers: > > This is a really small patch the prevents tabs from being unlinked when the dom > windows is closing. It's a little workaround for a fixed jetpack bug that > unfortunately requires all older jetpack add-ons to be updated. ... but which looks to the user like a Panorama failure.
Comment on attachment 516380 [details] [diff] [review] patch v1 Too late, if we do an RC2 spin we could consider it as a ridealong.
Attachment #516380 - Flags: approval2.0? → approval2.0-
Comment on attachment 516380 [details] [diff] [review] patch v1 A little bird told me we are respinning, can we please grab this one?
Attachment #516380 - Flags: approval2.0- → approval2.0?
Comment on attachment 516380 [details] [diff] [review] patch v1 Not this round. Please land when the tree re-opens. And maybe contact evangelism?
Attachment #516380 - Flags: approval2.0? → approval2.0-
(In reply to comment #20) > Comment on attachment 516380 [details] [diff] [review] > patch v1 > > Not this round. Please land when the tree re-opens. And maybe contact > evangelism? That would be lovely, who/how should we contact?
No longer blocks: 585689
Comment on attachment 516380 [details] [diff] [review] patch v1 Let's get this in to 2.0.1 then.
Attachment #516380 - Flags: approval2.0- → approval2.0?
Attachment #516380 - Attachment is obsolete: true
Attachment #516380 - Flags: approval2.0?
We should land this on trunk.
Keywords: checkin-needed
Comment on attachment 521990 [details] [diff] [review] patch for checkin And we'd still want this in 2.0.1. :)
Attachment #521990 - Flags: approval2.0?
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox4.2
Comment on attachment 521990 [details] [diff] [review] patch for checkin Approved for the mozilla2.0 repository, a=dveditz for release-drivers
Attachment #521990 - Flags: approval2.0? → approval2.0+
blocking2.0: - → Macaw
status2.0: --- → wanted
Verified with Mozilla/5.0 (Windows NT 5.1; rv:2.2a1pre) Gecko/20110410 Firefox/4.2a1pre
Status: RESOLVED → VERIFIED
Target Milestone: Firefox5 → Firefox 5
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: