Closed Bug 138826 Opened 23 years ago Closed 23 years ago

context menu problems in stand alone message window: "Open Link in New Window" doesn't work, too many items are showing up, etc.

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED
mozilla1.0.1

People

(Reporter: harty, Assigned: ssu0262)

References

Details

(Keywords: regression, Whiteboard: [ADT2 RTM][twopane] [fixed on trunk])

Attachments

(1 file, 3 obsolete files)

Right mouse menu "Open Link in New Window" broke in Opened email only. It does work correctly in email preview mode. (non-windowed) 1. In email, double click and open an email in its own window. 2. Try to open a link with the right mouse menu "Open Link in New Window" Doesnt work. Works correctly on 0.9.8 on my linux box. Broken on RC1 and 0.9.9 for the last week on both linux/windows version. Last version checked 2002041803.
Yep. "gContextMenu has no properties" is the error in the JS console.
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows 2000 → All
dup of bug 133334?
i will research this bug
i think when message window popup a menu,it should same as messagepanebox in mail3PaneWindowVertLayout.xul.so i change the contextmenu.please rv my patch.
Comment on attachment 80747 [details] [diff] [review] This is a new patch for this bug,please rv r=bienvenu
Attachment #80747 - Flags: review+
*** Bug 141347 has been marked as a duplicate of this bug. ***
Comment on attachment 80747 [details] [diff] [review] This is a new patch for this bug,please rv needs work, this patch does work for me.
Attachment #80747 - Flags: review+ → needs-work+
over to ssu. can you investigate?
Assignee: sspitzer → ssu
Keywords: nsbeta1
Summary: Right mouse menu "Open Link in New Window" in windowed email view - Broke → context menu problems in stand alone message window: "Open Link in New Window" doesn't work, too many items are showing up, etc.
yeah, I can take a look at it.
Status: NEW → ASSIGNED
I had researched this patch,it is worked for me.
antonio: I just tried the fix again on the trunk, and it does not work.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.0+) Gecko/20020503 Even though the context menu does not work, the middle mouse button does. So some people will have a work-around. pi
*** Bug 133334 has been marked as a duplicate of this bug. ***
Moving regression keyword and major severity over from duplicate bug. Adding Mozilla1.0 keyword. When did this regression occur?
Severity: normal → major
the "new series" of this was first reported on March 25th. An older occurance was bug 91720.
Discussed in mail news bug meeting with Engineering Marketing and PjM. Decided to plus this bug.
Keywords: nsbeta1nsbeta1+
Whiteboard: [ADT2],[RTM]
Target Milestone: --- → mozilla1.0
it is a important bug,i have researched it,i found messagewindow use error menu context,so i think if we use the right menu context,we can fix it.
forget my frist patch,i have researched this bug again,i found when pop menu set up,it will get menuitem like that var menuitem = document.getElementById("context-viewbgimage"); but menuitem maybe is null,if it is null,we should execute menuitem.removeAttribute("disabled"); or menuitem.setAttribute("disabled", "true"); please rv and sr my patch,thank you
Attachment #80747 - Attachment is obsolete: true
sorry we should not execute menuitem.removeAttribute("disabled"); or menuitem.setAttribute("disabled", "true");
*** Bug 143608 has been marked as a duplicate of this bug. ***
please rv &sr my patch.
*** Bug 143506 has been marked as a duplicate of this bug. ***
Whiteboard: [ADT2],[RTM] → [ADT2 RTM]
important for two pane users, who rely on the stand alone msg window. good work, antonio. but this fix is not complete, there are still context menu problems in the stand alone window. here comes a complete patch...
Assignee: ssu → antonio.xu
Status: ASSIGNED → NEW
Whiteboard: [ADT2 RTM] → [ADT2 RTM][twopane]
Attached patch complete patch. (obsolete) — Splinter Review
also fixes the problem with context menu for images in the stand alone msg window.
Attachment #84030 - Attachment is obsolete: true
Comment on attachment 84814 [details] [diff] [review] patch, plus some other code clean up sr=blake except for the nsDownloadProxy.h change; I don't see why that's a good change to make?
Attachment #84814 - Flags: superreview+
> except for the nsDownloadProxy.h change; I don't see why that's a good change to make? you're right, not necessary. I was being a style nit picker. Since it's your code, I'll leave it alone. fixed on the trunk. the nsContextMenu.js fix is something low risk, high reward that we want for the branch after 1.0 ships.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Whiteboard: [ADT2 RTM][twopane] → [ADT2 RTM][twopane] [fixed on trunk]
Target Milestone: mozilla1.0 → mozilla1.0.1
note to qa: when verifying, test the context menu for the message, and the context menu for images within the message.
Bah. (See bug 137141.)
Keywords: adt1.0.0
removing the rtm nomination for the moment. Can we get a review on this in addition to the super review. After that happens, just add the adt1.0.0 nomination back.
Keywords: adt1.0.0
> Bah. (See bug 137141.) For the end user, is there something your patch for #137141 does, that this patch doesn't? If not, then let's just go with this patch on the 1.0 branch and let yours go onto the trunk. (Sorry for the conflicts you'll get when you update, as my patch has already landed on the trunk.)
Comment on attachment 84814 [details] [diff] [review] patch, plus some other code clean up r=bienvenu
Attachment #84814 - Flags: review+
Comment on attachment 84814 [details] [diff] [review] patch, plus some other code clean up Does this patch fix the case where text is selected? My patch also checks whether the search for selected text menuitem exists, I don't see that in this patch.
Tested on today's trunk build: a message with text, a link, an image in Stand Alone window. 'Open in New Window' works, but not expected multiple group's separators are there. Spec: http://www.mozilla.org/mailnews/specs/threepane/MailMenus.html#Context
Olga, what are you referring to? Could you provide a screenshot?
Keywords: adt1.0.1
Removing adt1.0.0, and adding adt1.0.1, as we have changed milestones.
Keywords: adt1.0.0
http://bugzilla.mozilla.org/show_bug.cgi?id=148561 is reported as an RC3 bug. This fix is checked onto the trunk only, so RC3 wouldn't have it. reassigning to ssu. Sean, can you figure out the state of this patch on the trunk and look into if there's anything we need to fix before we can check into the branch? reopening based on comments until we've investigated this.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
actually, not reassigning if antonio can still look into this. But, we need this fixed, so Sean can you still help look into this.
Status: REOPENED → NEW
> see bug 148078 and bug 148561 this patch is safe for the branch. the problem is that this has since been regressed on the trunk. bug http://bugzilla.mozilla.org/show_bug.cgi?id=138018 caused the regression. I'll work on the trunk regression in bug 148078 and bug 148561 re-assign to ssu, so he can verify this is safe on the branch, and land it once we get approval.
Assignee: antonio.xu → ssu
adt1.0.1+ on behalf of ADT
Keywords: adt1.0.1adt1.0.1+
> Bah. (See bug 137141.) I think ssu is going to look into landing that on the branch, instead of this patch, as that bug contains this fix as well.
marking this fixed cause bug 131141 is fixed on trunk.
Status: NEW → RESOLVED
Closed: 23 years ago23 years ago
Depends on: 137141
Resolution: --- → FIXED
Keywords: mozilla1.0mozilla1.0.1
please checkin to the 1.0.1 branch. once there remove the "mozilla1.0.1+" keyword and add the "fixed1.0.1" keyword.
Attachment #84814 - Flags: approval+
bug 137141 has been checked into the branch, so marking this bug fixed on the branch as well.
Verified on branch 06/12/02, Win2K (classic), Linux (modern), Mac OSX (modern).
Status: RESOLVED → VERIFIED
Verified it works in 1.0.1 nightly build. Question, wouldnt you want to include "Open Link in New Tab" also? Or is there a seperation between browser and email client?
*** Bug 156969 has been marked as a duplicate of this bug. ***
*** Bug 160551 has been marked as a duplicate of this bug. ***
*** Bug 172621 has been marked as a duplicate of this bug. ***
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: