cuongtt2109 / ff-html5notifications

Automatically exported from code.google.com/p/ff-html5notifications
0 stars 0 forks source link

Gmail notifications no longer working (Linux) #32

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am using the latest version of the add-on (1.0.5) and the email notifications 
on Gmail (and Google Apps mail) are no longer working. They used to work like a 
month ago or so.

I have tested it on two computers, one running Linux Mint 12 and the other 
Ubuntu 11.10, on both Firefox versions 8 and 9.

It could be possible that Google is blocking the notifications on Firefox 
browsers, because the example available in 
http://code.google.com/p/ff-html5notifications/ works flawlessly (using 
libnotify).

Original issue reported on code.google.com by jonathan.reyes33@gmail.com on 12 Jan 2012 at 3:32

GoogleCodeExporter commented 8 years ago
Make sure you have authorized the notifications for Google. You can check this 
in the preference dialog window.

Original comment by pascal.c...@gmail.com on 16 Jan 2012 at 5:38

GoogleCodeExporter commented 8 years ago
I double checked, mail.google.com is Allowed. I also tried deleting the 
permission and authorizing it again from Gmail, it didn't work.

Original comment by jonathan.reyes33@gmail.com on 16 Jan 2012 at 5:42

GoogleCodeExporter commented 8 years ago
I just found this great add-on and installed it (1.0.5) tonight on Fx 9.0.1 
(running on winxp)

And I can't get the noti to pop up from gmail.  And I did auth it in Gmail 
correctly (x2 installs)

Your example on the front page here - worked fine for me - I saw that noti 
without problem.  Not sure if it's because I have gmail as a pinned tab?

Don't know if I should've posted this here or not - but thought I'd jump in on 
his request.  Thanks!

Original comment by KaRensKr...@gmail.com on 18 Jan 2012 at 6:55

GoogleCodeExporter commented 8 years ago
Maybe I spoke too soon?  I suddenly just had 2 notis appear.  Will keep an eye 
on it and report back if I have any other problems.  Sorry to bother you and 
THANKS for the addon!

Original comment by KaRensKr...@gmail.com on 18 Jan 2012 at 7:03

GoogleCodeExporter commented 8 years ago
I have discovered that with Firefox 9 and Linux some of the notifications do 
work, while the others just don't.

If I go to http://sam-benne.co.uk/demo/desknoty/index.htm, the "Call 
notification" button doesn't cause notifications to appear, while pressing 
"Call notification (HTML)" does.

There's also a test page at http://athousandnodes.com/labs/jwNotify/ where one 
can play with various parameters of pop-ups.

I also tried several notification daemons on this RHEL6+XFCE/GNOME machine and 
the problem is still the same, so they have nothing to do with it. HTML 
notifications correctly work on Chrome only so maybe that's what has to done at 
the notification daemon level, I haven't investigated it much yet. Chrome draws 
its own windows for that (doesn't use system daemons).

After testing the same pages on Google Chrome, my quick guess is that the 
problem is somehow associated with the image icon in pop-up: specifying a valid 
image path causes pop-ups to not show up at all (just remove the image file 
from the input box and the pop-up will appear again). This seems to only happen 
with Firefox 9 but popups still seem to work with Firefox 8 so I'm not 100% 
sure that the problem lies exactly in this plugin; but maybe that will help you 
to pinpoint the cause of this behaviour.

This bug is bothering me since I sometimes miss important incoming Emails now 
(I'm using Gmail at work).

I hope this is helpful and thanks in advance for fixing it (if possible).

Original comment by sergeb...@gmail.com on 19 Jan 2012 at 6:47

GoogleCodeExporter commented 8 years ago
This is indeed really annoying. If you think the image might be the cause, I 
can give you a version without image :
http://cyril.me/dl/h5n/ff-html5notifications-1.0.5.1-woimage-fx.xpi

You might want to run firefox from console, go to about:config and enable 
browser.dom.window.dump.enabled and see if you have some error reported by the 
extension (PXLH5N).

If you use firefox compiled with libnotify, HTML notifications will not work. 
(because only text can be displayed with libnotify).

Thank you for debugging !

Cyril

Original comment by pascal.c...@gmail.com on 20 Jan 2012 at 8:46

GoogleCodeExporter commented 8 years ago
Hi Cyril,

I've just did a quick check of the version 1.0.5.1 (without icons) at home and 
it works! I'll do more testing when I'm back in the office and follow up with 
further results (including debugging logs).

Thanks for speedy feedback!
Serge

Original comment by sergeb...@gmail.com on 20 Jan 2012 at 12:49

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I can confirm it worked again with this new version.

Thanks a lot.

Original comment by jonathan.reyes33@gmail.com on 20 Jan 2012 at 3:07

GoogleCodeExporter commented 8 years ago
Ok. I think I will make an update with a checkbox to enable images or not. Then 
you will have to disable the images when new extension is shipped. I will post 
it here so that you will be warned when update is made.
Thank you for debugging !

Original comment by pascal.c...@gmail.com on 20 Jan 2012 at 3:12

GoogleCodeExporter commented 8 years ago
Hi !
Here is the location of the future version of the extension : could you test 
and tell me if everything is ok ?
http://cyril.me/dl/h5n/ff-html5notifications-1.0.6-fx.xpi
Thanks !
Cyril

Original comment by pascal.c...@gmail.com on 9 Feb 2012 at 6:50

GoogleCodeExporter commented 8 years ago
Hello,

Sadly, it stopped working (Firefox 10, Linux Mint 12). I tried it with both the 
images checkbox on and off. Neither worked.

Original comment by jonathan.reyes33@gmail.com on 9 Feb 2012 at 7:08

GoogleCodeExporter commented 8 years ago
I also did a test and can confirm that only HTML notifications work, the usual 
ones do not (hence, no more G-mail notifications as well).

I've found two more demo/test pages for notifications:
http://beakkon.com/tutorial/html5/desktop-notification
http://sandbox.gtaero.net/chrome/notifications.php

I was going to try debug the original extension some time ago but could not 
find enough time to do that (and the debugging instructions did not work for me 
for some reason). How do we trace plugins on Firefox? I tried installing 
Firebug but did not succeed in step-by-step debugging.

I'll have to revert to the icon-less version (that sort of worked but without 
icons, obviously).

Serge

Original comment by sergeb...@gmail.com on 9 Feb 2012 at 7:14

GoogleCodeExporter commented 8 years ago
Bad news :(
To do some debug, you have first to configure some options
https://developer.mozilla.org/en/Setting_up_extension_development_environment#De
velopment_preferences
Then, restart firefox in console mode : you will have some debug informations. 
Grep with PXL to get mine :)

Original comment by pascal.c...@gmail.com on 9 Feb 2012 at 7:30

GoogleCodeExporter commented 8 years ago

Original comment by pascal.c...@gmail.com on 9 Feb 2012 at 7:30

GoogleCodeExporter commented 8 years ago
To fix this as a workaround for Linux, can we optionally choose not to use 
libnotify and instead make it work like the Windows version?  Or is this not 
technically feasible?

Original comment by sarushik...@gmail.com on 11 Feb 2012 at 1:57

GoogleCodeExporter commented 8 years ago
I will investigate, but I think it's not possible (./configure option).

Original comment by pascal.c...@gmail.com on 11 Feb 2012 at 8:27

GoogleCodeExporter commented 8 years ago
I can confirm that 1.0.5 doesn't work in Fedora 16 with Gnome 3, but 
1.0.5.1-woimage-fx works.

Original comment by kamil.paral on 13 Feb 2012 at 11:09

GoogleCodeExporter commented 8 years ago
Hi everybody,
I think I found the issue (I compiled firefox with libnotify option). Please 
try this one :
http://cyril.me/dl/h5n/ff-html5notifications-1.0.6-fx-r105.xpi
I will also ask some support to Firefox team for this issue.
Cheers,
Cyril

Original comment by pascal.c...@gmail.com on 13 Feb 2012 at 3:26

GoogleCodeExporter commented 8 years ago
I've just tried the r105 version with newly updated Firefox 10.0.1 (x64, 
RHEL6): unfortunately, the behavior is still the same (working for HTML 
notifications only (and without HTML parsing, obviously)). Regular 
notifications do not work.

Serge

Original comment by sergeb...@gmail.com on 13 Feb 2012 at 4:51

GoogleCodeExporter commented 8 years ago
Forgot to add, if I click the option to ignore images, it starts to work.
Serge

Original comment by sergeb...@gmail.com on 13 Feb 2012 at 4:53

GoogleCodeExporter commented 8 years ago
Have you tried enabling the option "do not display image" ?
For info, I submitted a bug @BMO 
https://bugzilla.mozilla.org/show_bug.cgi?id=726594

Original comment by pascal.c...@gmail.com on 13 Feb 2012 at 4:54

GoogleCodeExporter commented 8 years ago
Hi,
With you 106r105 addon, when the images are ignored, it works well with Gmail 
and with "call notification" button from 
http://sam-benne.co.uk/demo/desknoty/index.htm and with "Show notification" 
button from http://code.google.com/p/ff-html5notifications/.
If it's not ticked, then nothing happens with all these sites.
I'm using ArchLinux, with firefox 10.0.1-1, under icewm.
Best regards.

Original comment by mathieu....@gmail.com on 13 Feb 2012 at 9:40

GoogleCodeExporter commented 8 years ago

Original comment by pascal.c...@gmail.com on 16 Feb 2012 at 6:28

GoogleCodeExporter commented 8 years ago
Bug filed at BMO #726594 https://bugzilla.mozilla.org/show_bug.cgi?id=726594
But it's been a week and no answer :(

For those who want full info : I think the issue concerns images that need more 
than 1 http channel, see redirectionLimit attribute for nsIHttpChannel at 
https://developer.mozilla.org/en/XPCOM_Interface_Reference/nsIHttpChannel#Attrib
utes

Original comment by pascal.c...@gmail.com on 21 Feb 2012 at 4:46

GoogleCodeExporter commented 8 years ago
I think I found an alternate solution : images even on ubuntu :)
http://cyril.me/dl/h5n/ff-html5notifications-1.0.7-fx.xpi
Tell me if it's ok !

Original comment by pascal.c...@gmail.com on 23 Feb 2012 at 10:02

GoogleCodeExporter commented 8 years ago
Unfortunately, the version 1.0.7 does not show simple (non-HTML) pop-ups at 
all, regardless of whether the option to display images is checked or not :(
(Tested on RHEL6 x64, Firefox 10.0.2; will have to try it on Ubuntu 11.10 x64 
at home)
Meanwhile reverted back to ff-html5notifications-1.0.5.1-woimage-fx.xpi - no 
images but it works...

Original comment by sergeb...@gmail.com on 23 Feb 2012 at 7:44

GoogleCodeExporter commented 8 years ago
I can confirm that version 1.0.7 didn't work. Tested on Linux Mint 12 64 bit, 
which is almost the same as Ubuntu 11.10, and Firefox 10.0.2.

Original comment by jonathan.reyes33@gmail.com on 23 Feb 2012 at 7:48

GoogleCodeExporter commented 8 years ago
Issue 47 has been merged into this issue.

Original comment by pascal.c...@gmail.com on 13 Jul 2012 at 2:20

GoogleCodeExporter commented 8 years ago
Issue 55 has been merged into this issue.

Original comment by pascal.c...@gmail.com on 10 Oct 2012 at 5:10

GoogleCodeExporter commented 8 years ago
The status is marked as "done", but will the extension be able to show images 
with linux in the future, or is disabling images a permanent fix?

Thanks!

Original comment by leandror...@gmail.com on 6 Feb 2013 at 1:52