6.0.0-beta1
7/6/25

[#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 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

History
01/14/2005 09:46:20 PM Jan Schneider Comment #9
State ⇒ Resolved
Reply to this comment
Danke, Olli! :-)
01/14/2005 02:16:46 PM oliver (at) kuhn (dot) net Comment #8 Reply to this comment
This patch works for me. Thanks
01/13/2005 12:15:15 PM Jan Schneider Comment #7
State ⇒ Feedback
Reply to this comment
01/06/2005 04:46:23 PM 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.
01/05/2005 07:01:49 PM 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.
01/05/2005 02:10:47 PM 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.
11/25/2004 03:26:24 PM Jan Schneider State ⇒ Not A Bug
 
11/22/2004 04:39:11 PM 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.
11/22/2004 04:27:09 PM Jan Schneider Comment #2 Reply to this comment
All I can say is that it works fine here. Can you try RC1?
11/22/2004 03:54:52 PM bobbyspam (at) queerlydigital (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Notification popup no longer working
Queue ⇒ IMP
State ⇒ Unconfirmed
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