Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification sound repeating forever #284

Open
amarantex64 opened this issue Apr 12, 2023 · 16 comments
Open

Notification sound repeating forever #284

amarantex64 opened this issue Apr 12, 2023 · 16 comments
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed upstream Upstream issue

Comments

@amarantex64
Copy link

Description
In version 1.6.2 there is a bug with the notification sound repeating forever until you close the app.

Environment

  • Distro [Ubuntu, Fedora, OpenSUSE, Manjaro]
  • Package [flatpak]
  • Desktop Environment or Window Manager [GNOME, KDE, Xfce]
@amarantex64 amarantex64 added the bug Something isn't working label Apr 12, 2023
@Switch123456789
Copy link

Same here!
AUR / Arch / EndeavourOS / Gnome / Pipewire / v 1.6.2

@Switch123456789
Copy link

Since it might be related to this issue: Is this expected behavior?

Screenshot from 2023-04-14 00-34-37

@xeco23
Copy link
Owner

xeco23 commented Apr 14, 2023

I think that is normal because of the nature of WebKit (generally browsers) and WhatsApp web. Normally, 3 or 4 streams are okay and that might be related because there are too many and some of them could be got stuck.

Also, I cannot reproduce the issue so far, so I will try again.

@mabequinho
Copy link

Same issue here, Fedora copr and OpenSUSE's.

@xeco23 xeco23 added good first issue Good for newcomers help wanted Extra attention is needed labels Apr 20, 2023
@xeco23
Copy link
Owner

xeco23 commented Apr 20, 2023

Could you guys please try to see if the application prints anything when that happens? You can simply run it from the terminal.

@Switch123456789
Copy link

@eneshecan I am on it for a few days now but couldn't catch it happening yet (I don't use whatsapp much). I might do some testing with a friend if I have an opportunity.

@Switch123456789
Copy link

Hey, I just wanna add some additional infos that might be important.

  1. I recently ended up with this after having the client running for a while, I guess it spawns a new one whenever I play audio-files (purple icon) that were sent or received in WAFL but it doesn't "despawn" it?

Screenshot from 2023-04-18 01-16-15

  1. These are some logs I got right after I started WAFL, not sure if this means anything important.
[switch@DESKTOP ~]$ whatsapp-for-linux 
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: 
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: ** (whatsapp-for-linux:4012): WARNING **: 16:43:39.817: Error loading plugin: libhspell.so.0: cannot open shared object file: No such file or directory
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: 
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: 
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: ** (whatsapp-for-linux:4012): WARNING **: 16:43:39.817: Error loading plugin: libvoikko.so.1: cannot open shared object file: No such file or directory
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: 
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: 
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: ** (whatsapp-for-linux:4012): WARNING **: 16:43:39.817: Error loading plugin: libaspell.so.15: cannot open shared object file: No such file or directory
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: 
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: 
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: ** (whatsapp-for-linux:4012): WARNING **: 16:43:39.818: Error loading plugin: libnuspell.so.5: cannot open shared object file: No such file or directory
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: 
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: SettingMap: Key file does not have key “min-font-size” in group “web”, returning default value: 0
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: SettingMap: Key file does not have key “header-bar” in group “general”, returning default value: 1
Opening in existing browser session.
<13>Apr 26 16:43:39 whatsapp-for-linux[4016]: libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
  1. While trying to reproduce the problem I noticed I don't get notification-sounds at all. Maybe it is because I muted the entry when it was stuck in a loop but now I can't see it anymore because it disappears after playing the notification-sound, so I don't have a chance to turn it back on? I don't know!

@berserkwarwolf
Copy link

Same here, on Arch. The only way to make it stop is to quit the app and reopen, until it does that again.

@xeco23
Copy link
Owner

xeco23 commented May 21, 2023

I did something with a86df29 that might solve the issue. Would be nice to keep an eye on it.

@spifory
Copy link

spifory commented Jun 17, 2023

Seems to still be making the sound for me. I've installed the app from the AUR, and I'm on version 1.6.3-1.

@xeco23
Copy link
Owner

xeco23 commented Jun 17, 2023

Seems to still be making the sound for me. I've installed the app from the AUR, and I'm on version 1.6.3-1.

Does it happen always?

@spifory
Copy link

spifory commented Jun 17, 2023

Yep, as soon as someone sends me a message and the notification plays, it just continuously plays the sound until I re-open it.

@xeco23
Copy link
Owner

xeco23 commented Jun 18, 2023

I am not sure what is causing. Gotta test with some other account sending me messages. Could be that webkit sending continuous notifications...

@ananyo141
Copy link

Same here, using version 1.6.3

@xeco23
Copy link
Owner

xeco23 commented Jun 22, 2023

Finally, I was able to reproduce it and realized that this is the actual sound that comes from WhatsApp web which is different than the application sound we implemented. However, this seems to be a WebKit bug. The reason we implemented notification sounds was that WhatsApp web notification sounds didn't work at all on Webkit. Now, it still doesn't work but it doesn't stop playing the sound once it starts to work... As a workaround for now, you can try to disable this setting from WhatsApp web settings and use the app's notification sounds.
image

@xeco23 xeco23 added the upstream Upstream issue label Jun 22, 2023
@xeco23 xeco23 pinned this issue Jun 27, 2023
@heikkiwaan
Copy link

heikkiwaan commented Oct 14, 2023

I have the bug also. Gentoo + Guru overlay and Gnome 44.3
Thanks for the suggestion on how to get rid of this sound :)
BTW, i always push the refresh button when the sound starts playing..... ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers help wanted Extra attention is needed upstream Upstream issue
Projects
None yet
Development

No branches or pull requests

8 participants