Bug? Context menu items not present in "detached tab"

2 views
Skip to first unread message

Greg

unread,
Apr 25, 2011, 3:11:12 PM4/25/11
to mozilla-labs-jetpack
Adding any items to context menu with Add-on SDK, e.g. exactly per "A
simple add-on" tutorial in Jetpack 1.04b. Create several tabs in FF4
window, and all of them get the extra "Translate selection" item, when
selection is present and you right-click it.

Now detach one of the tabs by dragging it to empty Windows desktop (as
I test under Windows). A new Firefox 4 window is created, select text
and right-click it - no extra items from our add-on menu. But create a
new tab in this new window, and all is well in the new tab, but not in
the original tab...

I tested this also with other context menu code, for different context
conditions, it's always the same. Does anyone have an idea how to work
around this problem? Or could it be fixed inside JetPack Add-on SDK
code itself?

Greg

KWierso

unread,
Apr 25, 2011, 9:19:37 PM4/25/11
to mozilla-labs-jetpack
I guess that means that the various load events don't get fired for
the tab detach method. That's something that the SDK should fix. I'll
see if there's a bug already filed for this and file one if there
isn't.

KWierso

unread,
Apr 25, 2011, 9:28:11 PM4/25/11
to mozilla-labs-jetpack
And it's https://bugzilla.mozilla.org/show_bug.cgi?id=652732 if you
wish to follow along.

Greg

unread,
Apr 26, 2011, 12:01:37 PM4/26/11
to mozilla-labs-jetpack
Thank you for filing it for me, Wes! Guess I should learn how to use
Bugzilla myself.

Greg

On Apr 25, 9:28 pm, KWierso <kwie...@gmail.com> wrote:
> And it'shttps://bugzilla.mozilla.org/show_bug.cgi?id=652732if you

Drew Willcoxon

unread,
Apr 28, 2011, 2:30:12 PM4/28/11
to mozilla-la...@googlegroups.com, Greg
Hi Greg,

Thanks for reporting the bug.

I think this is fixed in the upcoming 1.0b5: neither Wes nor I can
reproduce there, but we can on 1.0b4. If you still see the problem in
1.0b5 (including the 1.0b5 release candidates, which will be out soon),
please let us know!

Thanks,
Drew

Reply all
Reply to author
Forward
0 new messages