<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#ffffff" text="#000000">
A couple of days ago over irc, timeless suggested a solution to fix <a
href="https://bugzilla.mozilla.org/show_bug.cgi?id=123440">Bug 123440</a>
-
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<span id="summary_alias_container"><span id="short_desc_nonedit_display">Stop
that annoying modal dialog when mail can't connect to the mail server
from connection time out error.<br>
<br>
The basic idea is that all Mailnews modal dialogs go to the alerts
service. I think this would mean they would appear in the same location
as the new mail alert - certainly on Linux & Mac (not quite so sure
about Windows, but probably!).<br>
<br>
I say all Mailnews modal dialogs - afaik this pretty much encompasses
all single button - "OK" - dialogs that are generated from protocol
errors and that end up going through </span></span>nsIMsgMailSession::alertUser.
I suspect there may be a few other modal dialog prompts that aren't
covered by this.<br>
<span id="summary_alias_container"><span id="short_desc_nonedit_display"><br>
Personally I'm not quite sure if I like the idea that all modal dialogs
would go to the popup notification are, as there may be some instances
that would make more sense to be a direct prompt to the user, but I
think the basic idea is reasonable. I've generated some try server
builds from the patch for people to try out and see what they think.<br>
<br>
These ones are latest-trunk:<br>
<br>
<a class="moz-txt-link-freetext" href="http://s3.mozillamessaging.com/build/try-server/2010-03-22_06:10-bugzilla@standard8.plus.com-alertService-trunk/bugzilla@standard8.plus.com-alertService-trunk-mail-try-win32.installer.exe">http://s3.mozillamessaging.com/build/try-server/2010-03-22_06:10-bugzilla@standard8.plus.com-alertService-trunk/bugzilla@standard8.plus.com-alertService-trunk-mail-try-win32.installer.exe</a><br>
<a class="moz-txt-link-freetext" href="http://s3.mozillamessaging.com/build/try-server/2010-03-22_06:10-bugzilla@standard8.plus.com-alertService-trunk/bugzilla@standard8.plus.com-alertService-trunk-mail-try-mac.dmg">http://s3.mozillamessaging.com/build/try-server/2010-03-22_06:10-bugzilla@standard8.plus.com-alertService-trunk/bugzilla@standard8.plus.com-alertService-trunk-mail-try-mac.dmg</a><br>
<a class="moz-txt-link-freetext" href="http://s3.mozillamessaging.com/build/try-server/2010-03-22_06:10-bugzilla@standard8.plus.com-alertService-trunk/bugzilla@standard8.plus.com-alertService-trunk-mail-try-linux.tar.bz2">http://s3.mozillamessaging.com/build/try-server/2010-03-22_06:10-bugzilla@standard8.plus.com-alertService-trunk/bugzilla@standard8.plus.com-alertService-trunk-mail-try-linux.tar.bz2</a><br>
<br>
Although this won't get into the 3.0.x series, I did some builds based
on 3.0.4 in case people want to use those instead for testing:<br>
<br>
<a class="moz-txt-link-freetext" href="http://s3.mozillamessaging.com/build/try-server/2010-03-22_12:40-bugzilla@standard8.plus.com-alertService-191-v2/bugzilla@standard8.plus.com-alertService-191-v2-mail-try-win32.installer.exe">http://s3.mozillamessaging.com/build/try-server/2010-03-22_12:40-bugzilla@standard8.plus.com-alertService-191-v2/bugzilla@standard8.plus.com-alertService-191-v2-mail-try-win32.installer.exe</a><br>
<a class="moz-txt-link-freetext" href="http://s3.mozillamessaging.com/build/try-server/2010-03-22_12:40-bugzilla@standard8.plus.com-alertService-191-v2/bugzilla@standard8.plus.com-alertService-191-v2-mail-try-mac.dmg">http://s3.mozillamessaging.com/build/try-server/2010-03-22_12:40-bugzilla@standard8.plus.com-alertService-191-v2/bugzilla@standard8.plus.com-alertService-191-v2-mail-try-mac.dmg</a><br>
<a class="moz-txt-link-freetext" href="http://s3.mozillamessaging.com/build/try-server/2010-03-22_12:40-bugzilla@standard8.plus.com-alertService-191-v2/bugzilla@standard8.plus.com-alertService-191-v2-mail-try-linux.tar.bz2">http://s3.mozillamessaging.com/build/try-server/2010-03-22_12:40-bugzilla@standard8.plus.com-alertService-191-v2/bugzilla@standard8.plus.com-alertService-191-v2-mail-try-linux.tar.bz2</a><br>
<br>
Feedback welcome. Note: I haven't put this in the bug for now, as it
may not make 3.1 (depending on what we decide) and given the amount of
noise in there recently, I don't want to add to it until we've got a
better idea of where we want to go with this patch.<br>
<br>
Mark.<br>
</span></span>
</body>
</html>