can't open a 'news:' URI in new tab/window (enable Open Link in New Tab/Window context menu entries for news URLs)

RESOLVED FIXED in seamonkey2.6

Status

SeaMonkey
General
RESOLVED FIXED
14 years ago
6 years ago

People

(Reporter: David G King, Assigned: Ian Neal)

Tracking

Trunk
seamonkey2.6
Bug Flags:
in-testsuite -

SeaMonkey Tracking Flags

(seamonkey2.3 wontfix, seamonkey2.4 fixed, seamonkey2.5 fixed, seamonkey2.6 fixed)

Details

(Whiteboard: [bugday0420][SmBugEvent], URL)

Attachments

(1 attachment)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20030916

At the above URL, there is a link to
news://news.mozilla.org:119/3F6C68C1.8070206@mozilla.org
which I expected to be able to right-click and open in a new tab or window.
However, the resulting window didn't have either option. 

When I clicked on the link, it displayed the URI in the existing tab that I was
viewing Mozillazine in.

Reproducible: Always

Steps to Reproduce:
1. goto specified URL
2. try and open link to the 15/Sept staff meeting in a new tab/window.

Actual Results:  
Wrong menu appeared.

Expected Results:  
Ability to open news: link in new tab.

This is running 1.5 RC1
Product: Browser → Seamonkey

Comment 1

8 years ago
MASS-CHANGE:
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
INVALID: you don't open "news" URLs in the browser
Status: UNCONFIRMED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
Whiteboard: bugday0420
sorry, comment #2 was mistaken
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.10pre) Gecko/20100419 SeaMonkey/2.0.5pre - Build ID: 20100419001026

Confirming. No "Open in New Tab" in context menu
Status: UNCONFIRMED → NEW
Ever confirmed: true
the URL in comment #0 opens a blank page for me: outdated URL?
(In reply to comment #5)
> the URL in comment #0 opens a blank page for me: outdated URL?

Probably. Put the one brought up on #bugday into the URL field.
Summary: can't open a 'news:' URI in new tab/window → can't open a 'news:' URI in new tab/window (enable Open Link in New Tab/Window context menu entries for news URLs)
Mozilla/5.0 (X11; Linux x86_64; rv:2.0.2pre) Gecko/20110517 Firefox/4.0.2pre SeaMonkey/2.1.1pre

Still no "open in new tab/window" menuitems in context menu. Strangely enough, clicking the link opens it in a new _browser_ tab, not in the mailer and (unlike http links) not in the current browser tab.

A mailto: link has the same context menu (but clicking it opens a message-compose window, of course).
Whiteboard: bugday0420 → [bugday0420][SmBugEvent]
(Assignee)

Comment 8

6 years ago
Created attachment 556812 [details] [diff] [review]
Remove disablement from nsContextMenu [Checked in: Comment 12 & Comment 14]

This was originally put in as part of the fix to bug 32359, as the browser now knows how to deal with news/snews, the news/snews part can be removed.
Assignee: general → iann_bugzilla
Status: NEW → ASSIGNED
Attachment #556812 - Flags: review?(neil)
(Assignee)

Updated

6 years ago
OS: Windows XP → All
Hardware: x86 → All

Comment 9

6 years ago
Comment on attachment 556812 [details] [diff] [review]
Remove disablement from nsContextMenu [Checked in: Comment 12 & Comment 14]

Does saving a news: link work? (I don't have an easy example to test.)
(Assignee)

Comment 10

6 years ago
(In reply to neil@parkwaycc.co.uk from comment #9)
> Comment on attachment 556812 [details] [diff] [review]
> Remove disablement from nsContextMenu
> 
> Does saving a news: link work? (I don't have an easy example to test.)

It saves it as an email message e.g.
news://news.mozilla.org:119/j8OdnddY9vrWDlrWnZ2dnUVZ_vydnZ2d@mozilla.org
Comment on attachment 556812 [details] [diff] [review]
Remove disablement from nsContextMenu [Checked in: Comment 12 & Comment 14]

It might be an idea to rewrite this as a sequence of &&s using De Morgan's Law, which says that !(a == b || c == d) can be written a != b && c != d. [Would lose the blame for this.linkProtocol == "mailto" though ;-) ]
Attachment #556812 - Flags: review?(neil) → review+
(Assignee)

Comment 12

6 years ago
Comment on attachment 556812 [details] [diff] [review]
Remove disablement from nsContextMenu [Checked in: Comment 12 & Comment 14]

Checked in with suggested change:
http://hg.mozilla.org/comm-central/rev/9eba3b1b217b
Attachment #556812 - Attachment description: Remove disablement from nsContextMenu → Remove disablement from nsContextMenu [Checked in: Comment 12]
(Assignee)

Updated

6 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago6 years ago
status-seamonkey2.3: --- → wontfix
status-seamonkey2.4: --- → affected
status-seamonkey2.5: --- → affected
status-seamonkey2.6: --- → fixed
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.6
(Assignee)

Comment 13

6 years ago
Comment on attachment 556812 [details] [diff] [review]
Remove disablement from nsContextMenu [Checked in: Comment 12 & Comment 14]

This low risk, simple fix should be ideal to go into both comm-aurora/beta
Attachment #556812 - Flags: approval-comm-beta?
Attachment #556812 - Flags: approval-comm-aurora?

Updated

6 years ago
Attachment #556812 - Flags: approval-comm-beta?
Attachment #556812 - Flags: approval-comm-beta+
Attachment #556812 - Flags: approval-comm-aurora?
Attachment #556812 - Flags: approval-comm-aurora+
(Assignee)

Comment 14

6 years ago
Comment on attachment 556812 [details] [diff] [review]
Remove disablement from nsContextMenu [Checked in: Comment 12 & Comment 14]

http://hg.mozilla.org/releases/comm-aurora/rev/2d0d6815d0f3
http://hg.mozilla.org/releases/comm-beta/rev/5d79475fb188
Attachment #556812 - Attachment description: Remove disablement from nsContextMenu [Checked in: Comment 12] → Remove disablement from nsContextMenu [Checked in: Comment 12 & Comment 14]
(Assignee)

Updated

6 years ago
status-seamonkey2.4: affected → fixed
status-seamonkey2.5: affected → fixed
You need to log in before you can comment on or make changes to this bug.