Closed Bug 656886 Opened 13 years ago Closed 13 years ago

Context menu broken in non-browser sidebars

Categories

(SeaMonkey :: UI Design, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
seamonkey2.1final

People

(Reporter: neil, Assigned: neil)

References

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

Steps to reproduce problem: 1. Install a web sidebar 2. Open an editor or compose window, and display the sidebar 3. Right-click in the sidebar Expected result: context menu Actual result: menu shows everything and doesn't work.
Perhaps? http://hg.mozilla.org/comm-central/rev/910bed11ccfc Bug 655863 - Port |Bug 581475 - nsContextMenu cleanup| r=neil
Attached patch Possible patch (obsolete) (deleted) — Splinter Review
This uses code similar to getNotificationBox() to find the browser. (Note: this is the global one in navigator.js, not the tabbrowser one.) The wrappedJSObject isn't needed any more because of the XRayWrapper changes.
Assignee: nobody → neil
Status: NEW → ASSIGNED
Attachment #532175 - Flags: review?(iann_bugzilla)
Comment on attachment 532175 [details] [diff] [review] Possible patch >+++ b/suite/common/nsContextMenu.js > nsContextMenu.prototype = { > initMenu: function(aBrowser) { Nit: aBrowser argument could be removed now. r=me with that addressed A 2.1 branch version would be good too.
Attachment #532175 - Flags: review?(iann_bugzilla) → review+
Attached patch Addressed review comments (deleted) — Splinter Review
Attachment #532175 - Attachment is obsolete: true
Attachment #532194 - Flags: review+
Blocks: 655529
Attached patch Branch patch (deleted) — Splinter Review
Pushed changeset ffc7c66a1797 to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Comment on attachment 532197 [details] [diff] [review] Branch patch Issue shows up in 2.1 branch for custom/web sidebar tabs.
Attachment #532197 - Flags: review+
Attachment #532197 - Flags: approval-seamonkey2.1?
(In reply to comment #3) > > r=me with that addressed > > A 2.1 branch version would be good too. Umm, why a 2.1 branch version. Is this enough in itself to make delaying 2.1 necessary with an rc2? Based on my reading I think not. And I'd rather not land actual code changes on 2.1 without a plan to do a 2.1 update. And the idea of a chemspill here wouldn't warrant a ridealong since we would release off relbranch.
Comment on attachment 532197 [details] [diff] [review] Branch patch a=me If we can get this in without giving Callek heartburn.
Attachment #532197 - Flags: approval-seamonkey2.1? → approval-seamonkey2.1+
(In reply to comment #9) > Comment on attachment 532197 [details] [diff] [review] [review] > Branch patch > > a=me If we can get this in without giving Callek heartburn. I'll veto temporarily... IFF we need to respin, we can take this as a ridealong, failing a respin for another reason I think we need clear reasoning for why this needs to go in, and if its a "we'll respin for this" etc. We will likely have a release (2.2) within the next month and a half with the rapid release cycle...
Comment on attachment 532197 [details] [diff] [review] Branch patch Cancelling approval as per Callek.
Attachment #532197 - Flags: approval-seamonkey2.1+
If it doesn't make it as a ridealong for 2.1 then it will probably need to be relnoted.
Keywords: relnote
Comment on attachment 532197 [details] [diff] [review] Branch patch Re-requesting if we're having a respin...
Attachment #532197 - Flags: approval-seamonkey2.1?
Comment on attachment 532197 [details] [diff] [review] Branch patch a=me (second time lucky?)
Attachment #532197 - Flags: approval-seamonkey2.1? → approval-seamonkey2.1+
Is this related? DUP? Related but different? Bug 104590 - Back in context menu not working correctly when in sidebar
(In reply to comment #17) > Is this related? DUP? Related but different? > > Bug 104590 - Back in context menu not working correctly when in sidebar No (other than being about the sidebar, too, this is about the context menu itself being broken, and that one is about a particular functionality available from the context menu, and is much older).
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: