Closed
Bug 47981
Opened 25 years ago
Closed 24 years ago
news://host/group (and news:group) urls launch new 3 pane window
Categories
(SeaMonkey :: MailNews: Message Display, defect, P3)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.6
People
(Reporter: dcoyle, Assigned: hwaara)
References
()
Details
Attachments
(3 files, 1 obsolete file)
3.60 KB,
patch
|
Details | Diff | Splinter Review | |
2.42 KB,
patch
|
Details | Diff | Splinter Review | |
2.62 KB,
patch
|
sspitzer
:
review+
sspitzer
:
superreview+
|
Details | Diff | Splinter Review |
[build 2000080712]
Clicking on HTML links to newsgroups e.g.
news://news.mozilla.org/netscape.public.mozilla.webtools or
news://news.mozilla.org/netscape.public.mozilla.mail-news launches a new Mail
window each time, even though one was already open. Pasting above url into
browser location bar produces the same behavior.
Clicking link or pasting url also launches blank 'account wizard' dialog box.
Dialog box reappears immediately after restarting Mail.
Comment 1•25 years ago
|
||
Confirmed 2000080804 Linux
Comment 5•25 years ago
|
||
accepting all "future" bugs to get them off my "new" bug radar.
Status: NEW → ASSIGNED
Seeing this also on Windows 2000, build 2000121608. Setting Platform/OS to ALL.
OS: Linux → All
QA Contact: lchiang → stephend
Hardware: PC → All
Assignee | ||
Comment 7•24 years ago
|
||
This is really annoying. Fix coming up soon.
Assignee: sspitzer → hwaara
Status: ASSIGNED → NEW
Assignee | ||
Comment 8•24 years ago
|
||
Assignee | ||
Comment 9•24 years ago
|
||
The patch uses the windowmediator to walk to windowtree, to see if there's any
messenger window open, if there is, we focus it, if not, we open a new window.
I've done extensive testing with this patch, together with the patch in bug
40033.
Bienvenu, can you please r= so sspitzer can sr=?
Comment 10•24 years ago
|
||
I'll let Seth r and I'll sr, if that's OK.
Assignee | ||
Comment 11•24 years ago
|
||
Comment on attachment 54870 [details] [diff] [review]
Fix
This patch broke multiple mail window handling. I'm working on a better patch.
Attachment #54870 -
Attachment is obsolete: true
Assignee | ||
Comment 12•24 years ago
|
||
Actually, it looks like this is broken in trunk builds as well, so this is not
my fault.
Assignee | ||
Comment 13•24 years ago
|
||
Assignee | ||
Comment 14•24 years ago
|
||
The new fix does only affect news urls. My last patch may have affected other
parts of mailnews, since it was very general.
Comment 15•24 years ago
|
||
looks good, but instead of defining the static id, use the contract id.
NS_WINDOWMEDIATOR_CONTRACTID
Assignee | ||
Comment 16•24 years ago
|
||
Assignee | ||
Comment 17•24 years ago
|
||
New patch posted with a change to use the CONTRACTID, as suggested. Now awaiting
additional review.
Status: NEW → ASSIGNED
Target Milestone: Future → mozilla0.9.6
Comment 18•24 years ago
|
||
nsCOMPtr<nsIWindowMediator> mediator(do_GetService(NS_WINDOWMEDIATOR_CONTRACTID));
we should check either check rv or if the mediator was null.
I'd suggest:
nsCOMPtr<nsIWindowMediator> mediator =
do_GetService(NS_WINDOWMEDIATOR_CONTRACTID, &rv);
NS_ENSURE_SUCCESS(rv,rv);
Assignee | ||
Comment 19•24 years ago
|
||
Comment 20•24 years ago
|
||
Comment on attachment 55076 [details] [diff] [review]
Patch -- add and prefer NS_ENSURE_SUCCESS for safety
r=sspitzer
the removal of the if (!aChannel) is safe because QI will return error on failure.
Attachment #55076 -
Flags: superreview+
Attachment #55076 -
Flags: review+
Assignee | ||
Comment 21•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
Summary: link to newsgroups launches new mail window → news://host/group (and news:group) urls launch new 3 pane window
This works great on Windows and Linux (and, great for the _1st_ time on Mac).
Subsequent parses of either |news://news.mozilla.org/netscape.test| or
|news:netscape.test| URLs on Mac fail as follows:
Entering news:netscape.test and hitting enter results in:
* news://news.mozilla.org:119/netscape.test
Entering news://news.mozilla.org:119/netscape.test results in:
* news://news.mozilla.org:119/netscape.test
On Mac, we still don't open up a new window (which is what this bug was about),
but we're still doing something weird in the URL field [extractFromPort()], perhaps?
On Windows and Linux, this is fixed because we don't open a new window and we
don't change the url field.
I'll spin up a new bug about the Mac, or maybe just note the case in bug 106553.
See also semi-related bug 40033.
Mac OS 9.1 - build 2001-10-30-08
Windows 2K - build 2001-10-30-03
RedHat 7.1 - build 2001-10-30-12
Status: RESOLVED → VERIFIED
Correction:
'Entering news://news.mozilla.org:119/netscape.test results in:
* news://news.mozilla.org:119/netscape.test'
Should read:
'Entering news://news.mozilla.org/netscape.test results in:
* news://news.mozilla.org:119/netscape.test'
I think the port should be transparent to the user, since 119 is the default for
NNTP.
Updated•21 years ago
|
Product: Browser → Seamonkey
Component: MailNews: Subscribe → MailNews: Message Display
QA Contact: stephend → search
You need to log in
before you can comment on or make changes to this bug.
Description
•