Summary | Notification popup no longer working |
Queue | IMP |
Queue Version | 4.0-BETA |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | bobbyspam (at) queerlydigital (dot) com |
Created | 11/22/2004 (7531 days ago) |
Due | |
Updated | 01/14/2005 (7478 days ago) |
Assigned | 01/13/2005 (7479 days ago) |
Resolved | 01/14/2005 (7478 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
State ⇒ Feedback
http://cvs.horde.org/diff.php/imp/lib/Mailbox.php?r1=1.77&r2=1.78&ty=u
changing the location of where $newmsgs gets set in imp/mailbox.php (v
2.618 2005/01/03 14:34:58)
//Added line below as Line 378, old line 378 is now line 379
$newmsgs = $imp_mailbox->newMessageCount();
Changed the IF statement to (Starts on Line 805, 806 if you add the
above line first):
if ($prefs->getValue('nav_popup') && $newmsgs > 0 &&
!Util::getFormData('no_newmail_popup')) {
require IMP_TEMPLATES . '/mailbox/alert.inc';
}
New mail pop-up notification now works again for me.
As I'm not a PHP programmer this could be wrong or totally un-related
but I took a look at mailbox.php (Horde: imp/mailbox.php,v 2.619
2005/01/03 22:19:24) and I printed the values thar are checked by the
IF statement that loads '/mailbox/alert.inc' and this is what I found
$prefs->getValue('nav_popup') = 1
$imp_mailbox->newMessageCount() =
!Util::getFormData('no_newmail_popup') = 1
It appears as if the function newMessageCount is not returning the
correct number of messages. Several test messages were sent and the
outcome was the same for each.
Popup doesn't appear neither in Firefox-1.0 nor in IE-6SP1.
Popups aren't blocked.
sorry. It's not a big deal, just thought I would put this one out
there in case other people had a similar issue.
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Notification popup no longer working
Queue ⇒ IMP
State ⇒ Unconfirmed
e-mail. This worked on an older version of IMP using Firefox 1.0 RC1.
We upgraded to the 4.0 Beta about the same time as I upgraded to
Firefox 1.0, and since then I don't get the popup anymore. I checked
that I still have it turned on in my IMP settings, and I have
javascript enabled in Firefox (I don't see any javascript errors
either in the javascript console).