zhukov / webogram

Telegram web application, GPL v3
https://web.telegram.org
GNU General Public License v3.0
7.95k stars 2.36k forks source link

Telegram web often pops up three blank chrome notifications #1458

Open smartjinyu opened 7 years ago

smartjinyu commented 7 years ago

After enabling chrome notifications for telegram web, it often pops up three blank notifications, especially after opening Android client. This bug happens in my two different laptops, and exists for a long time (may more than two months) Chrome version: 60.0.3112.50 Beta Operating System: Windows 10 Pro 1607 and 1703 (64-bit) Android client: Telegram 4.1.1(1030) for arm_v7a (official client) Screenshots:

snipaste20170710_172828

(After closing one notification, it may pop up a new blank notification again, so total number of notifications may be larger than three)

NutritiousCookie commented 7 years ago

Bit of a necro, but I am also experiencing this bug in Chrome on Windows 10

azzimuth commented 7 years ago

Same here. Chrome 60.0.3112.101 (Official Build) (64-bit), Windows 10 64-bit.

iowaz commented 7 years ago

Same here, 60.0.3112.113 (Official Build) (64-bit) on Linux Mint 18.2

mafflin commented 7 years ago

Same here Chromium 61.0.3163.91 on Archlinux.

NeonWizard commented 7 years ago

Same here. Chrome 60.0.3112.113 (Official Build) (64-bit), Windows 10 64-bit.

JasonRammoray commented 6 years ago

This issue looks interesting. I would like to dig into it and investigate. Guys, @smartjinyu, @NutritiousCookie , @azzimuth , @iowaz , @mafflin , @NeonWizard, can you please, describe a precise steps to reproduce? Can it also be reproduced in Chrome on Mac? Have you enabled "Message preview" setting in user settings?

smartjinyu commented 6 years ago

@JasonRammoray Just keep all default settings in Telegram Web (with Message preview option on), allow Telegram Web send notifications in chrome. Then open Telegram client on Android, sometimes nothing need to do, sometimes just tap into some chats, then chrome will pop a blank notification from Telegram (maybe after one or two minutes). If you close your chrome, and open Android client several times, you may get more than one blank notifications after opening chrome again. Not tested on chrome for mac.

JasonRammoray commented 6 years ago

@smartjinyu , thanks for the detailed steps. I'll try to reproduce that on Mac and then will cover the issue with unit tests.

JasonRammoray commented 6 years ago

I confirm, that the issue has been reproduced in Chrome (60.0.3112.113) on Mac OS (El Capitan). I'll try to prepare a pull-request during weekend.

JasonRammoray commented 6 years ago

Still working on it. Need some more time.

ghost commented 6 years ago

Same for me on Windows 10, Arch and Devuan.

stepri commented 6 years ago

Same for me on Windows 10. When closing one of the notifications, a new one appears.

ostretsov commented 6 years ago

Same problem. It's too annoying.

azzimuth commented 6 years ago

Still happening!

Pyrestone commented 5 years ago

This issue happens when one receives a message from a user whose notifications have been muted. Please look into this!