GSConnect / gnome-shell-extension-gsconnect

KDE Connect implementation for GNOME
GNU General Public License v2.0
3.15k stars 255 forks source link

Notifications keep reappearing on new notification #789

Open ashwin-phadke opened 4 years ago

ashwin-phadke commented 4 years ago

Describe the bug

Expected behavior

Only new notification shoudl show up once it arrives and also notifications shouldn't repeat after a certain time.

System Details (please complete the following information):

GSConnect environment (if applicable):

Support Log


GSConnect Version: 33
GSConnect Install: user
GJS: 15805
XDG_SESSION_TYPE: wayland
GDMSESSION: gnome
--------------------------------------------------------------------------------
-- Logs begin at Wed 2020-02-05 19:19:39 IST, end at Fri 2020-03-20 22:58:04 IST. --
Mar 20 22:55:08 NetworkManager[956]: <info>  [1584725108.9573] dhcp4 (wlp1s0): state changed bound -> bound
Mar 20 22:55:08 systemd[1]: Starting Network Manager Script Dispatcher Service...
Mar 20 22:55:09 systemd[1]: Started Network Manager Script Dispatcher Service.
Mar 20 22:55:09 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

[NEW NOTIFICATION]

Mar 20 22:56:04 org.gnome.Shell.Extensions.GSConnect[4041]: [/service/protocol/lan.js:_onIdentity:313]: {
                                                              "id": 1584725164024,
                                                              "type": "kdeconnect.identity",
                                                              "body": {
                                                                "deviceId": "f43b1dedf1e336ee",
                                                                "deviceName": "Galaxy M10",
                                                                "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.43.1"
                                                              }
                                                            }
Mar 20 22:56:04 org.gnome.Shell.Extensions.GSConnect[4041]: [/service/protocol/lan.js:open:754]: "lan://192.168.43.1:1716 (53c0067a-5cad-46f4-8cfe-06cab8d93c95)"
Mar 20 22:56:04 org.gnome.Shell.Extensions.GSConnect[4041]: [/service/protocol/lan.js:attach:805]: "lan://192.168.43.1:1716 (29edcdfb-263a-4821-8318-4c3e54905368) => lan://192.168.43.1:1716 (53c0067a-5cad-46f4-8cfe-06cab8d93c95)"
Mar 20 22:56:04 org.gnome.Shell.Extensions.GSConnect[4041]: [/service/protocol/lan.js:close:771]: "lan://192.168.43.1:1716 (29edcdfb-263a-4821-8318-4c3e54905368)"
Mar 20 22:56:04 org.gnome.Shell.Extensions.GSConnect[4041]: [/service/device.js:_setConnected:320]: "Connected to Galaxy M10 (f43b1dedf1e336ee)"
Mar 20 22:56:14 org.gnome.Shell.Extensions.GSConnect[4041]: [/service/protocol/core.js:receive/<:298]: Galaxy M10: {

[NOTIFICATIONS IN JSON LIKE FORMAT]                                                            }
                                                            }
Mar 20 22:57:10 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:10 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:10 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:10 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:10 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:10 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:10 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:10 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:10 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:11 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:12 systemd[1533]: Started dbus-:1.2-org.gnome.Boxes.SearchProvider@2.service.
Mar 20 22:57:12 systemd[1533]: Started dbus-:1.2-org.gnome.Calculator.SearchProvider@2.service.
Mar 20 22:57:12 systemd[1533]: Started dbus-:1.2-org.gnome.Characters.BackgroundService@2.service.
Mar 20 22:57:12 systemd[1533]: Started dbus-:1.2-org.gnome.Contacts.SearchProvider@2.service.
Mar 20 22:57:12 systemd[1533]: Started dbus-:1.2-org.gnome.ControlCenter.SearchProvider@2.service.
Mar 20 22:57:12 systemd[1533]: Started dbus-:1.2-org.gnome.Nautilus@2.service.
Mar 20 22:57:12 systemd[1533]: Started dbus-:1.2-org.gnome.Photos@2.service.
Mar 20 22:57:12 systemd[1533]: Started dbus-:1.2-org.gnome.clocks@2.service.
Mar 20 22:57:12 systemd[1533]: Starting GNOME Terminal Server...
Mar 20 22:57:12 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:12 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:12 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:12 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:13 gnome-calculato[7614]: search-provider.vala:117: Failed to spawn Calculator: Child process killed by signal 9
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/apps-menu_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/apps-menu_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/drive-menu_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/drive-menu_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/places-menu_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/places-menu_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/windowsNavigator_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/windowsNavigator_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/auto-move-windows_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/auto-move-windows_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/native-window-placement_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/native-window-placement_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/user-theme_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/user-theme_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/workspace-indicator_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/workspace-indicator_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/launch-new-instance_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/launch-new-instance_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/window-list_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/window-list_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/screenshot-window-sizer_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/screenshot-window-sizer_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-terminal-server[7621]: Display does not support owner-change; copy/paste will be broken!
Mar 20 22:57:13 systemd[1533]: Started GNOME Terminal Server.
Mar 20 22:57:13 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:13 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/apps-menu_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/apps-menu_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/drive-menu_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/drive-menu_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/places-menu_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/places-menu_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/windowsNavigator_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/windowsNavigator_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/auto-move-windows_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/auto-move-windows_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/native-window-placement_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/native-window-placement_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/user-theme_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/user-theme_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/workspace-indicator_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/workspace-indicator_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/launch-new-instance_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/launch-new-instance_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/window-list_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/window-list_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing origin on system/package/updates/shell-extension/screenshot-window-sizer_gnome-shell-extensions.gcampax.github.com/* from updates to GNOME!
Mar 20 22:57:13 gnome-software[1968]: automatically prevented from changing management plugin on system/package/updates/shell-extension/screenshot-window-sizer_gnome-shell-extensions.gcampax.github.com/* from packagekit to shell-extensions!
Mar 20 22:57:13 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:13 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:14 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:14 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:14 systemd[1]: Starting flatpak system helper...
Mar 20 22:57:15 systemd[1]: Started flatpak system helper.
Mar 20 22:57:15 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=flatpak-system-helper comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:16 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:17 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:17 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:17 gnome-software[1968]: Error marking directory as changed: Permission denied
Mar 20 22:57:19 systemd[1533]: Starting Tracker metadata database store and lookup manager...
Mar 20 22:57:19 systemd[1533]: Started Tracker metadata database store and lookup manager.
Mar 20 22:57:20 gnome-shell[1725]: libinput error: client bug: timer event6 keyboard: scheduled expiry is in the past (-33ms), your system is too slow
Mar 20 22:57:20 gnome-shell[1725]: libinput error: client bug: timer event7 keyboard: scheduled expiry is in the past (-225ms), your system is too slow
Mar 20 22:57:20 gnome-shell[1725]: libinput error: client bug: timer event6 keyboard: scheduled expiry is in the past (-162ms), your system is too slow
Mar 20 22:57:20 gnome-shell[1725]: libinput error: client bug: timer event7 keyboard: scheduled expiry is in the past (-162ms), your system is too slow
Mar 20 22:57:20 gnome-shell[1725]: libinput error: client bug: timer event6 keyboard: scheduled expiry is in the past (-15ms), your system is too slow
Mar 20 22:57:20 gnome-shell[1725]: libinput error: client bug: timer event7 keyboard: scheduled expiry is in the past (-15ms), your system is too slow
Mar 20 22:57:20 gnome-shell[1725]: Failed to set the markup of the actor 'ClutterText': Error on line 1: Entity did not end with a semicolon; most likely you used an ampersand character without intending to start an entity — escape ampersand as &amp;
Mar 20 22:57:20 systemd[1]: Starting PackageKit Daemon...
Mar 20 22:57:21 PackageKit[7797]: daemon start
Mar 20 22:57:21 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=packagekit comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 20 22:57:21 systemd[1]: Started PackageKit Daemon.
Mar 20 22:57:21 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:21 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:22 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:57:23 systemd[1533]: gnome-terminal-server.service: Succeeded.
Mar 20 22:57:23 systemd[1533]: dbus-:1.2-org.gnome.clocks@2.service: Succeeded.
Mar 20 22:57:23 systemd[1533]: dbus-:1.2-org.gnome.clocks@2.service: Consumed 3.638s CPU time.
Mar 20 22:57:30 systemd[1533]: dbus-:1.2-org.gnome.Contacts.SearchProvider@2.service: Succeeded.
Mar 20 22:57:30 systemd[1533]: dbus-:1.2-org.gnome.Boxes.SearchProvider@2.service: Succeeded.
Mar 20 22:57:32 systemd[1533]: Started dbus-:1.2-com.intel.dleyna-renderer@1.service.
Mar 20 22:57:32 dleyna-renderer-service[7818]: dLeyna core version 0.6.0
Mar 20 22:57:32 dleyna-renderer-service[7818]: dleyna-renderer-service version 0.6.0
Mar 20 22:57:32 dleyna-renderer-service[7818]: Type[0] Level[0x13] Mask[0x4C] Flags[0x4F]
Mar 20 22:57:32 dleyna-renderer-service[7818]: Load file [.config/dleyna-renderer-service.conf]
Mar 20 22:57:32 dleyna-renderer-service[7818]: [General settings]
Mar 20 22:57:32 dleyna-renderer-service[7818]: Never Quit: F
Mar 20 22:57:32 dleyna-renderer-service[7818]: Connector Name: dbus
Mar 20 22:57:32 dleyna-renderer-service[7818]: Port: 0
Mar 20 22:57:32 dleyna-renderer-service[7818]: Push host port: 0
Mar 20 22:57:32 dleyna-renderer-service[7818]: [Logging settings]
Mar 20 22:57:32 dleyna-renderer-service[7818]: Log Type : 0
Mar 20 22:57:32 dleyna-renderer-service[7818]: Log Level: 0x13
Mar 20 22:57:32 dleyna-renderer-service[7818]: [Network filtering settings]
Mar 20 22:57:32 dleyna-renderer-service[7818]: Enabled : F
Mar 20 22:57:32 dleyna-renderer-service[7818]: Entries: (null)
Mar 20 22:57:32 dleyna-renderer-service[7818]: Calling GetRenderers method
Mar 20 22:57:32 systemd[1533]: dbus-:1.2-org.gnome.Nautilus@2.service: Succeeded.
Mar 20 22:57:33 systemd[1533]: dbus-:1.2-org.gnome.Photos@2.service: Succeeded.
Mar 20 22:57:33 systemd[1533]: dbus-:1.2-org.gnome.Photos@2.service: Consumed 1.948s CPU time.
Mar 20 22:57:33 dleyna-renderer-service[7818]: Client :1.234 lost
Mar 20 22:57:34 dleyna-renderer-service[7818]: dLeyna: Exit
Mar 20 22:57:34 systemd[1533]: dbus-:1.2-com.intel.dleyna-renderer@1.service: Succeeded.
Mar 20 22:57:36 systemd[1]: Starting Hostname Service...
Mar 20 22:57:36 org.gnome.Shell.Extensions.GSConnect[4041]: [/service/protocol/core.js:receive/<:298]: Galaxy M10: {
                                                              "id": 1584722999820,
                                                              "type": "kdeconnect.battery",
                                                              "body": {
                                                                "currentCharge": 23,
                                                                "isCharging": true,
                                                                "thresholdEvent": 0
                                                              }
                                                            }
Mar 20 22:57:36 systemd[1]: Started Hostname Service.
Mar 20 22:57:36 audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Mar 20 22:57:40 systemd[1533]: dbus-:1.2-org.gnome.Calculator.SearchProvider@2.service: Succeeded.
Mar 20 22:57:43 PackageKit[7797]: resolve transaction /1342_acadabdb from uid 1000 finished with success after 20973ms

[SECTION OF REPEATED NOTIFICATIONS JSON LIKE FORMAT]

Mar 20 22:57:49 tracker-store[7769]: OK
Mar 20 22:57:50 systemd[1533]: tracker-store.service: Succeeded.
Mar 20 22:57:50 systemd[1533]: dbus-:1.2-org.gnome.Characters.BackgroundService@2.service: Succeeded.
Mar 20 22:57:56 gnome-shell[1725]: libinput error: client bug: timer event5 debounce short: scheduled expiry is in the past (-3ms), your system is too slow
Mar 20 22:58:02 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:02 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:02 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:02 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:02 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:02 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:02 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:02 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:02 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
Mar 20 22:58:04 gnome-shell[1725]: value "nan" of type 'gdouble' is invalid or out of range for property 'vignette-sharpness' of type 'gdouble'
andyholmes commented 4 years ago

All your logs show is that Android keeps sending the notifications, so there's not much that GSConnect can do about that. Unless the notification ID changes, repeats are muted and your logs don't include the notifications so it's hard to tell if that's what's happening.

ashwin-phadke commented 4 years ago

Well there was actually too much info in the notifications hence I've excluded those. I could anonymize them and add for info if you'd want so.

What I understand from the comment is that Android is sending the notifications again after it receives a new notifications is that so?

That's strange from Android's perspective though, because then in that situation the notifications should also reappear on the phone I suppose.

Any changes that I can do on the phone's side to solve the issue?

ashwin-phadke commented 4 years ago

To add to the issue : there's also one more behavior I've noticed after I allowed permissions for SMS is that some random messages from phone appear as unread on the GSConnect side. I rechecked to see whether I actually did not read the message on the phone but it was not so as the message was already read and it also shows random messages from very long ago as unread.

ferdnyc commented 4 years ago

What I understand from the comment is that Android is sending the notifications again after it receives a new notifications is that so?

That's strange from Android's perspective though, because then in that situation the notifications should also reappear on the phone I suppose.

Well, not exactly — it's not Android's perspective, per se, but really the KDE Connect app's. It may be sending through what appears to be a new notification, because (for instance) it was updated on the device side by the app that created it.

As @andyholmes said, Android notifications are a complex beast, and apps actually have a lot of control over how they manage their notifications. (More than ever, now that notifications can have response actions associated with them.) They can do things like rewrite existing notifications, removing a previous notification and putting up an updated one in its place. To KDE Connect, that may just look like a new notification — there's really no established API for letting other apps know exactly how to display a particular notification.

The SMS issue is similar. GSConnect tries to interpret the content of the SMS list as best it can, in order to follow conversations and match messages to contacts. But there's too little data available in the information it's able to access, and what's there is too unstructured, for its interpretation to always be 100% accurate.

ferdnyc commented 4 years ago

As @andyholmes said,

(Oh, my mistake. He didn't say that here, it was over in https://github.com/andyholmes/gnome-shell-extension-gsconnect/issues/788#issuecomment-599423904.)

ashwin-phadke commented 4 years ago

@ferdnyc thank you for the description. I guess then there is nothing much to do in this case then. I'll see if the situation changes later in the Android updates.

As you rightly mentioned android notifications is indeed a complex element overall.

Thank you for your help.

andyholmes commented 4 years ago

Well there was actually too much info in the notifications hence I've excluded those. I could anonymize them and add for info if you'd want so.

We don't really need the content of the notifications, but knowing whether the ID, body and title change will help determine if that's why this is happening.

That's strange from Android's perspective though, because then in that situation the notifications should also reappear on the phone I suppose.

The Android app can query what notifications are in the message tray, so each time you connect it will send a list of all the current notifications. Usually the IDs don't change, but they will in some circumstances like if you reboot your phone.

I rechecked to see whether I actually did not read the message on the phone but it was not so as the message was already read and it also shows random messages from very long ago as unread.

There is no way to change the written status of a message in the database, from kdeconnect-android or GSConnect, so that has to happen on your phone. Unfortunately, that makes it hard to change the "read" status of messages in the window, without making them full GObjects and thus using up a lot more memory.

ashwin-phadke commented 4 years ago

Well there was actually too much info in the notifications hence I've excluded those. I could anonymize them and add for info if you'd want so.

We don't really need the content of the notifications, but knowing whether the ID, body and title change will help determine if that's why this is happening.

I tried to recreate the scenario by sending notifications. Found out that, the notifications do appear multiple times and the id's were found out to be different

That's strange from Android's perspective though, because then in that situation the notifications should also reappear on the phone I suppose.

I tried recreating the scenario and before I could generate logs the notifications were delivered as I do not have access to app from application menu and have to open it from software everytime. I will update whenever I will be able to create a log. As for the notifications in log I was able to create all the id's were different.

UPDATE : Tried to recreate the scenario using a public chat group.


[1]
Mar 23 20:26:12 org.gnome.Shell.Extensions.GSConnect[1966]: [/service/protocol/core.js:receive/<:298]: Galaxy M10: {
                                                              "id": 1584975371885,
                                                              "type": "kdeconnect.notification",
                                                              "body": {
                                                                "payloadHash": "31b034e0634ccc8b0532fd84b9f4d787",
                                                                "actions": [
                                                                  "Mark as read"
                                                                ],
                                                                "id": "0|org.telegram.messenger",
                                                                "onlyOnce": false,
                                                                "isClearable": true,
                                                                "appName": "Telegram",
                                                                "time": "1584975371770",
                                                                "ticker": "ML Jobs: https://www.facebook.com/groups/AnalyticsEdge/permalink/2603236166558006/",
                                                                "title": "ML Jobs",
                                                                "text": "https://www.facebook.com/groups/AnalyticsEdge/permalink/2603236166558006/\n"
                                                              },
                                                              "payloadSize": 3066,
                                                              "payloadTransferInfo": {
                                                                "port": 1740
                                                              }
                                                            }

[2]

                                                            }
Mar 23 20:27:32 org.gnome.Shell.Extensions.GSConnect[1966]: [/service/protocol/core.js:receive/<:298]: Galaxy M10: {
                                                              "id": 1584975372191,
                                                              "type": "kdeconnect.notification",
                                                              "body": {
                                                                "actions": [
                                                                  "Mark as read"
                                                                ],
                                                                "id": "0|org.telegram.messenger",
                                                                "onlyOnce": false,
                                                                "isClearable": true,
                                                                "appName": "Telegram",
                                                                "time": "1584975372051",
                                                                "ticker": "ML Jobs: https://www.facebook.com/groups/AnalyticsEdge/permalink/2603236166558006/",
                                                                "title": "ML Jobs",
                                                                "text": "https://www.facebook.com/groups/AnalyticsEdge/permalink/2603236166558006/\n"
                                                              }
                                                            }

[3]

Mar 23 20:27:42 org.gnome.Shell.Extensions.GSConnect[1966]: [/service/protocol/core.js:receive/<:298]: Galaxy M10: {
                                                              "id": 1584975381656,
                                                              "type": "kdeconnect.notification",
                                                              "body": {
                                                                "actions": [
                                                                  "Mark as read"
                                                                ],
                                                                "id": "0|org.telegram.messenger|",
                                                                "onlyOnce": false,
                                                                "isClearable": true,
                                                                "appName": "Telegram",
                                                                "time": "1584975381504",
                                                                "ticker": "ML Jobs: https://www.facebook.com/groups/AnalyticsEdge/permalink/2603236166558006/",
                                                                "title": "ML Jobs",
                                                                "text": "https://www.facebook.com/groups/AnalyticsEdge/permalink/2603236166558006/\n"
                                                              }
                                                            }

[4]

Mar 23 20:27:42 org.gnome.Shell.Extensions.GSConnect[1966]: [/service/protocol/core.js:receive/<:298]: Galaxy M10: {
                                                              "id": 1584975391455,
                                                              "type": "kdeconnect.notification",
                                                              "body": {
                                                                "payloadHash": "31b034e0634ccc8b0532fd84b9f4d787",
                                                                "actions": [
                                                                  "Mark as read"
                                                                ],
                                                                "id": "0|org.telegram.messenger|",
                                                                "onlyOnce": false,
                                                                "isClearable": true,
                                                                "appName": "Telegram",
                                                                "time": "1584975388584",
                                                                "ticker": "ML Jobs: https://www.facebook.com/groups/AnalyticsEdge/permalink/2603236166558006/",
                                                                "title": "ML Jobs",
                                                                "text": "https://www.facebook.com/groups/AnalyticsEdge/permalink/2603236166558006/\n"
                                                              },
                                                              "payloadSize": 3066,
                                                              "payloadTransferInfo": {
                                                                "port": 1740
                                                              }
                                                            }

The Android app can query what notifications are in the message tray, so each time you connect it will send a list of all the current notifications. Usually the IDs don't change, but they will in some circumstances like if you reboot your phone.

Oh.

I rechecked to see whether I actually did not read the message on the phone but it was not so as the message was already read and it also shows random messages from very long ago as unread.

There is no way to change the written status of a message in the database, from kdeconnect-android or GSConnect, so that has to happen on your phone. Unfortunately, that makes it hard to change the "read" status of messages in the window, without making them full GObjects and thus using up a lot more memory. Thanks @andyholmes urge you to let me know if personally identifying information is slipped from me in the log.

andyholmes commented 4 years ago

@andyholmes urge you to let me know if personally identifying information is slipped from me in the log.

Nope, it looks all good :)

Do any of the original notifications carry a field called requestReplyId? If so, then I may see what's been happening here.

andyholmes commented 4 years ago

Nevermind, I was mistaken. We already account for changing requestReplyId's.

Are you sure you don't have any other extensions installed that modify notifications?

ferdnyc commented 4 years ago
 "onlyOnce": false,

Well, it's not lying!

ashwin-phadke commented 4 years ago

Nevermind, I was mistaken. We already account for changing requestReplyId's.

Are you sure you don't have any other extensions installed that modify notifications?

I had initially installed kdeconnect but that did not work for me and removed it when I found GSConnect as a shell extension, although I tried installing GSconnect earlier using the git repo too, I don't think that's still there though. So as far as multiple apps are concerned I don't think it's that, apart from that, there are no other extensions that could change the notifications. I also encounter this exact same issue using KDEConnect too(FYI).

andyholmes commented 4 years ago

I'm not sure I see why this is happening, so there's not much I can do until I can find a way to reproduce it.

I'll mark this help wanted and leave it open, until there's some more information or further progress.

ferdnyc commented 4 years ago

Are you sure you don't have any other extensions installed that modify notifications?

I also encounter this exact same issue using KDEConnect too(FYI).

How about apps installed on your phone that might alter notifications? If the same thing was happening with both the kdeconnect desktop client and GSConnect, it kind of has to be a phone-side problem. It sounds like your phone is exhibiting atypical behaviors for some reason.

Do you have any sort of notification-management or enhancing app installed on the device? Is it possible your carrier/vendor preinstalled some software that would insert itself into the notification-handling process, something that might be throwing KDEConnect Android off its game?

ferdnyc commented 4 years ago

Since it's a Galaxy device, you don't by any chance have the Android parts of Galaxy Flow installed, do you? (Flow is Samsung's own, Windows-only answer to KDEConnect / GSConnect / Apple Continuity, and it would definitely have system-level permission to manage notifications on the phone.)

ashwin-phadke commented 4 years ago

Are you sure you don't have any other extensions installed that modify notifications?

I also encounter this exact same issue using KDEConnect too(FYI).

How about apps installed on your phone that might alter notifications? If the same thing was happening with both the kdeconnect desktop client and GSConnect, it kind of has to be a phone-side problem. It sounds like your phone is exhibiting atypical behaviors for some reason.

Yes although it does appear on both the platforms but there is a slight difference to it, on windows the notifications do not reappear that often like Linux. I am currently trying one more method to clear the notifications from notification panel on Fedora and check if the notifications reappear then.

UPDATE : Yes some notifications did reappear even after cleaning from notification tray in Fedora.

Do you have any sort of notification-management or enhancing app installed on the device? Is it possible your carrier/vendor preinstalled some software that would insert itself into the notification-handling process, something that might be throwing KDEConnect Android off its game?

I have no other app installed that could potentially just manage notifications and change the behaviour for it.

Since it's a Galaxy device, you don't by any chance have the Android parts of Galaxy Flow installed, do you? (Flow is Samsung's own, Windows-only answer to KDEConnect / GSConnect / Apple Continuity, and it would definitely have system-level permission to manage notifications on the phone.)

I did not even know about that app until I read it here tbh.

andyholmes commented 4 years ago

UPDATE : Yes some notifications did reappear even after cleaning from notification tray in Fedora.

Unless your device is connected when you close the notifcation, GSConnect can't tell your device to close the notification. In other words, if you close a notification when the device is disconnected you will definitely get that notification when the device reconnects.

Are these the types of repeats you're talking about?

ashwin-phadke commented 4 years ago

UPDATE : Yes some notifications did reappear even after cleaning from notification tray in Fedora.

Unless your device is connected when you close the notifcation, GSConnect can't tell your device to close the notification. In other words, if you close a notification when the device is disconnected you will definitely get that notification when the device reconnects.

Are these the types of repeats you're talking about?

No not these type of notification repeats. I was just trying to use all types of methods at my disposal to figure out what might be causing the issue.

gaussandhisgun commented 11 months ago

i am utterly deranged, its 2am and i've found the most likely cause and a probable fix for this.

if you disable the Enhanced Notifications thing, which was added in android 12 and is usually on the very bottom of Settings → Notifications, you can (albeit, from the second try) dismiss the notification on GSConnect side in a way it gets dismissed on android side as well. android 13, redmi note 9s.

all of this time, ANDROID SYSTEM INTELLIGENCE was the "notification-management or enhancing app installed on the device". tho idk what was happening back in 2020, but i would assume samsung had some sort of knox crap bundled in for the same stuff.

well, now we have a thing to report to their bugzilla

gaussandhisgun commented 11 months ago

update: this worked for some notifications, but not for the others. huh

femans commented 7 months ago

Has there been any progress with this? I see it is an old ticket. I just installed this app and I find that the messages keep coming back in Gnome. If I click "all clear", a few seconds later all messages come back. This makes a great plugin suddenly rather annoying. The first time they have nice pictograms, the second time and following times just an icon of a phone.

andyholmes commented 7 months ago

Any progress would listed here on the issue. If I recall, I could never reproduce this behaviour so not much to go on unfortunately.