6.0.0-git
2019-03-24

[#876] Notification popup no longer working
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 2004-11-22 (5235 days ago)
Due
Updated 2005-01-14 (5182 days ago)
Assigned 2005-01-13 (5183 days ago)
Resolved 2005-01-14 (5182 days ago)
Milestone
Patch No

History
2005-01-14 21:46:20 Jan Schneider Comment #9
State ⇒ Resolved
Reply to this comment
Danke, Olli! :-)
2005-01-14 14:16:46 oliver (at) kuhn (dot) net Comment #8 Reply to this comment
This patch works for me. Thanks
2005-01-13 12:15:15 Jan Schneider Comment #7
State ⇒ Feedback
Reply to this comment
2005-01-06 16:46:23 djohnston (at) golden (dot) net Comment #6 Reply to this comment
Managed to work around the problem by modifying the IF statement and 
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.
2005-01-05 19:01:49 djohnston (at) golden (dot) net Comment #5 Reply to this comment
Doesn't work for me either.



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.
2005-01-05 14:10:47 tux (at) almatau (dot) com Comment #4 Reply to this comment
IMP 4.0

Popup doesn't appear neither in Firefox-1.0 nor  in IE-6SP1.

Popups aren't blocked.
2004-11-25 15:26:24 Jan Schneider State ⇒ Not A Bug
 
2004-11-22 16:39:11 bobbyspam (at) queerlydigital (dot) com Comment #3 Reply to this comment
I don't have a computer where I don't have 1.0 already installed, 
sorry. It's not a big deal, just thought I would put this one out 
there in case other people had a similar issue.
2004-11-22 16:27:09 Jan Schneider Comment #2 Reply to this comment
All I can say is that it works fine here. Can you try RC1?
2004-11-22 15:54:52 bobbyspam (at) queerlydigital (dot) com Comment #1
Type ⇒ Bug
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Summary ⇒ Notification popup no longer working
Queue ⇒ IMP
Reply to this comment
I have IMP set to give me the javascript popup to notify me of new 
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).

Saved Queries