User Agent: Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20110902 Firefox/6.0.2 SeaMonkey/2.3.3 Build ID: 20110902180055 Steps to reproduce: 1. Opening RSS Feed article 2. rightclicking on website URL Actual results: Context-menu only offers single function (copy URL) Expected results: additional function: "Open in new tab"
Hmm. Works for me with Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a1) Gecko/20110930 SeaMonkey/2.7a1. How are you "Opening RSS Feed article"? I tried from the preview pane and from the standalone message window.
Created attachment 563808 [details] Screenshot I think I used what is called the preview pane. I've uploaded a screenshot where the context menu is encircled in red.
Ah I thought you meant a URL *in* the feed content. Confirmed with: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0a1) Gecko/20110930 SeaMonkey/2.7a1 For anyone who is interested in fixing this bug the context menu is in: suite/mailnews/msgHdrViewOverlay.xul See: function OpenBrowserWithMessageId() in: suite/mailnews/mailContextMenus.js For hints on how to implement this.
Created attachment 583049 [details] [diff] [review] Added 'Open in New Tab' to RSS context menu popup. (v1)
There is no need to invent a new function. Please use openAsExternal() so that the window/tab/background prefs are respected. > + <menuitem label="&openInNewTab.label;" accesskey="&openInNewTab.accesskey;" oncommand="OpenInNewTab(document.popupNode)"/> I think this could work: ... oncommand= "openAsExternal(document.popupNode.getAttribute("value")" > +<!ENTITY openInNewTab.label "Open in New Tab"> > +<!ENTITY openInNewTab.accesskey "T"> If you use openAsExternal() the url might open in a new window instead depending on the preferences, so I suggest "Open in Browser".
Created attachment 583409 [details] [diff] [review] Added 'Open in Browser' to RSS context menu popup. (v2)
Comment on attachment 583409 [details] [diff] [review] Added 'Open in Browser' to RSS context menu popup. (v2) Unfortunately, you got bit-rotted by Jens. >+++ b/suite/locales/en-US/chrome/mailnews/msgHdrViewPopup.dtd >+<!ENTITY openInBrowser.label "Open in Browser"> >+<!ENTITY openInBrowser.accesskey "p"> I think "O" would be a better accesskey here as it is available. >+++ b/suite/mailnews/msgHdrViewOverlay.xul >@@ -131,6 +131,9 @@ > > <menupopup id="copyUrlPopup"> > <menuitem label="©LinkCmd.label;" accesskey="©LinkCmd.accesskey;" oncommand="CopyWebsiteAddress(document.popupNode)"/> >+ <menuitem label="&openInBrowser.label;" >+ accesskey="&openInBrowser.accesskey;" >+ oncommand="openAsExternal(document.popupNode.getAttribute('value'))"/> Nit: use ; at end of the ) within the oncommand. I think "Open in Browser" should be the first option in the list, followed by Bookmark, followed by Copy Link. r=me with those changes, probably worth getting a moa from Mnyromyr too
Created attachment 584247 [details] [diff] [review] Added 'Open in Browser' to RSS context menu popup. (v3)
Edmund, remember to ask for moa from Mnyromyr by using the sr? flag.
Created attachment 584913 [details] [diff] [review] Added 'Open in Browser' to RSS context menu popup. (v4)
Pushed to comm-central: http://hg.mozilla.org/comm-central/rev/230f526f4fca