gnome-shell-extension-gsconnect
gnome-shell-extension-gsconnect copied to clipboard
Multiple notification popups for WhatsApp messages
Describe the bug
I get multiple notification popups for the same WhatsApp message if I've unread chats.
Lets say I receive a message from A then I get a notification, as I should. But, if I leave this message unread and later receive a message from B I get a notification popup for A again and then (several seconds delayed) the one for B. If I were t receive a third message from C I would get A and B again. This adds up, if you have a lot of unread chats.
Steps To Reproduce:
Leave one (or multiple) messages in WhatsApp unread. Recieve a new message
Expected behavior
One popup-notification for the new message
Observed behavior
Multiple pop-ups. One for each unread chat, even if I already got a popup for this chat/message.
Support Log
Please generate a support log (Instructions) and paste any messages related to this issue between the two ``` lines below.
GSConnect Version: 37
GSConnect Install: user
GJS: 16401
XDG_SESSION_TYPE: x11
GDMSESSION: ubuntu
--------------------------------------------------------------------------------
-- Logs begin at Fri 2020-05-08 21:41:56 CEST, end at Mon 2020-05-11 13:26:19 CEST. --
GSConnect Version: 37
GSConnect Install: user
GJS: 16401
XDG_SESSION_TYPE: x11
GDMSESSION: ubuntu
--------------------------------------------------------------------------------
-- Logs begin at Fri 2020-05-08 21:41:56 CEST, end at Mon 2020-05-11 13:26:19 CEST. --
Mai 11 13:24:02 gvfsd[4279]: daemon: Error creating server at address unix:abstract=/dbus-vfs-daemon/socket-XLXXg9Fw: Unable to create socket: Too many open files
Mai 11 13:24:04 gvfsd[4279]: daemon: Error creating server at address unix:abstract=/dbus-vfs-daemon/socket-3EC2K3Zd: Unable to create socket: Too many open files
Mai 11 13:24:05 gnome-shell[3844]: JS ERROR: Gio.DBusError: GDBus.Error:org.freedesktop.DBus.Error.Failed: Set global engine failed: Operation was cancelled
setEngine/<@resource:///org/gnome/shell/misc/ibusManager.js:240:32
Mai 11 13:24:07 gvfsd[4279]: daemon: Error creating server at address unix:abstract=/dbus-vfs-daemon/socket-l9WCq30E: Unable to create socket: Too many open files
Mai 11 13:24:08 gnome-shell[3844]: Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x6200007
Mai 11 13:24:41 org.gnome.Shell.Extensions.GSConnect[3994]: [/service/protocol/core.js:receive/<:298]: miniroedler: {
"id": 1589196280965,
"type": "kdeconnect.notification",
"body": {
"id": "0|android|17040825|null|1000",
"isCancel": true
}
}
Mai 11 13:25:02 gvfsd[4279]: daemon: Error creating server at address unix:abstract=/dbus-vfs-daemon/socket-hLwKGN6w: Unable to create socket: Too many open files
Mai 11 13:25:03 org.gnome.Shell.Extensions.GSConnect[3994]: [/service/protocol/lan.js:_onIdentity:315]: {
"id": 1589196302609,
"type": "kdeconnect.identity",
"body": {
"deviceId": "a3d0e98cbed7bf1f",
"deviceName": "miniroedler",
"protocolVersion": 7,
"deviceType": "phone",
"incomingCapabilities": [
"kdeconnect.telephony.request_mute",
"kdeconnect.notification",
"kdeconnect.ping",
"kdeconnect.notification.reply",
"kdeconnect.notification.action",
"kdeconnect.share.request",
"kdeconnect.clipboard.connect",
"kdeconnect.runcommand",
"kdeconnect.contacts.request_all_uids_timestamps",
"kdeconnect.sms.request_conversations",
"kdeconnect.telephony.request",
"kdeconnect.mpris",
"kdeconnect.sms.request_conversation",
"kdeconnect.findmyphone.request",
"kdeconnect.systemvolume",
"kdeconnect.mousepad.keyboardstate",
"kdeconnect.sftp.request",
"kdeconnect.share.request.update",
"kdeconnect.notification.request",
"kdeconnect.mousepad.request",
"kdeconnect.photo.request",
"kdeconnect.sms.request",
"kdeconnect.contacts.request_vcards_by_uid",
"kdeconnect.mpris.request",
"kdeconnect.battery.request",
"kdeconnect.clipboard"
],
"outgoingCapabilities": [
"kdeconnect.sms.messages",
"kdeconnect.telephony",
"kdeconnect.mpris",
"kdeconnect.notification",
"kdeconnect.contacts.response_uids_timestamps",
"kdeconnect.findmyphone.request",
"kdeconnect.ping",
"kdeconnect.mousepad.keyboardstate",
"kdeconnect.share.request",
"kdeconnect.contacts.response_vcards",
"kdeconnect.notification.request",
"kdeconnect.mousepad.echo",
"kdeconnect.clipboard.connect",
"kdeconnect.mousepad.request",
"kdeconnect.presenter",
"kdeconnect.sftp",
"kdeconnect.photo",
"kdeconnect.runcommand.request",
"kdeconnect.mpris.request",
"kdeconnect.systemvolume.request",
"kdeconnect.battery",
"kdeconnect.clipboard"
],
"tcpPort": 1716,
"tcpHost": "192.168.1.205"
}
}
Mai 11 13:25:12 gvfsd[4279]: daemon: Error creating server at address unix:abstract=/dbus-vfs-daemon/socket-cP79ikIg: Unable to create socket: Too many open files
Mai 11 13:25:14 org.gnome.Shell.Extensions.GSConnect[3994]: [/service/protocol/core.js:receive/<:298]: miniroedler: {
"id": 1589196313480,
"type": "kdeconnect.notification",
"body": {
"payloadHash": "79880435b93b59250627c5f5fc5e7267",
"actions": [
"Mark as read"
],
"id": "0|com.whatsapp|1|80w24INTiV/WRNUZK6GYeFpQl143TpBqws1uvW/2V3Y=\n|10167",
"onlyOnce": true,
"isClearable": true,
"appName": "WhatsApp",
"time": "1589196313438",
"requestReplyId": "44ac43b0-ad58-4f19-b2b9-62e5f9de7c06",
"ticker": "<OLD UNREAD MESSAGE I GOT 30 MINUTES AGO>",
"title": "<OLD UNREAD MESSAGE I GOT 30 MINUTES AGO>",
"text": "<OLD UNREAD MESSAGE I GOT 30 MINUTES AGO>"
},
"payloadSize": 8965,
"payloadTransferInfo": {
"port": 1746
}
}
Mai 11 13:25:22 gvfsd[4279]: daemon: Error creating server at address unix:abstract=/dbus-vfs-daemon/socket-bRddOc2m: Unable to create socket: Too many open files
Mai 11 13:25:24 org.gnome.Shell.Extensions.GSConnect[3994]: [/service/protocol/core.js:receive/<:298]: miniroedler: {
"id": 1589196313540,
"type": "kdeconnect.notification",
"body": {
"payloadHash": "8ca648d6d5c1bc277ed14db407f4c22c",
"actions": [
"Mark as read"
],
"id": "0|com.whatsapp|1|gvqnm3aV9IXtB60p+XM9qzEl9RmwWgXbDIDvOgzKQrA=\n|10167",
"onlyOnce": true,
"isClearable": true,
"appName": "WhatsApp",
"time": "1589196313522",
"requestReplyId": "77e4909c-3be5-48aa-832f-be12297c6cf0",
"ticker": "<NEW MESSAGE>",
"title": "<NEW MESSAGE>",
"text": "<NEW MESSAGE>"
},
"payloadSize": 7770,
"payloadTransferInfo": {
"port": 1746
}
}
System Details (please complete the following information):
-
GSConnect version: 37
- Installed from: zip provided by @andyholmes here: https://github.com/andyholmes/gnome-shell-extension-gsconnect/issues/788
- GNOME/Shell version: 3.36
- Distro/Release: ubuntu 20.04
GSConnect environment:
- Paired Device(s): Sony XZ1 Compact with LineageOS 15.1
- KDE Connect app version: 1.14.2
Do you have more than ~10 notifications in the tray when this happens?
No, my tray is usually empty. I "can't stand" that little dot and clear it everytime I notice a notification :-)
I haven't forgotten this one, but still can't reproduce myself either. I will have another go at this sometime soon (eg. at least within a month or so).
@andyholmes I faced similar issue, everytime a new notification pops up on my phone, all old unread notifications re-appear on my PC. And the next issue, I had was that my WhatsApp notification stopped appearing on my phone since I started using GSConnect Extension on Ubuntu and KDEConnect App on my Android.
I faced similar issue, everytime a new notification pops up on my phone, all old unread notifications re-appear on my PC.
That sounds like a different problem than this, so you should open new issue.
And the next issue, I had was that my WhatsApp notification stopped appearing on my phone since I started using GSConnect Extension on Ubuntu and KDEConnect App on my Android.
GSConnect can't tell your phone not to show notifications so this is more likely related to kdeconnect-android, although as far as I know the Android app can't do that either.
I am using Ubuntu 20.04, While receiving a WhatsApp message I can't able to make a reply directly from the notification even though it shows reply and mark as read both options are not working