Bug 375533 - Only the first notification from the mobile device gets displayed
Summary: Only the first notification from the mobile device gets displayed
Status: RESOLVED FIXED
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 1.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-01-25 10:13 UTC by Bernd
Modified: 2018-01-17 08:00 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernd 2017-01-25 10:13:31 UTC
After the pairing of the mobile device and the linux machine, only the first message from the mobile device is displayed on the linux machine.

I checked dbus-monitor "interface='org.freedesktop.Notifications'".
See the first notification below. Afterwards dbus-monitor does not receive any notifications.

method call time=1485163703.857443 sender=:1.86 -> destination=org.freedesktop.Notifications serial=88 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
   string "KDE Connect"
   uint32 0
   string "dialog-ok"
   string "devicename"
   string "Ping!"
   array [
   ]
   array [
      dict entry(
         string "x-kde-appname"
         variant             string "kdeconnect"
      )
      dict entry(
         string "x-kde-eventId"
         variant             string "pingReceived"
      )
   ]
   int32 -1
signal time=1485163714.635767 sender=:1.56 -> destination=:1.86 serial=27 path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=NotificationClosed
Comment 1 Bernd 2017-01-25 10:16:32 UTC
(In reply to Bernd from comment #0)
> After the pairing of the mobile device and the linux machine, only the first
> message from the mobile device is displayed on the linux machine.
> 
> I checked dbus-monitor "interface='org.freedesktop.Notifications'".
> See the first notification below. Afterwards dbus-monitor does not receive
> any notifications.
> 
> method call time=1485163703.857443 sender=:1.86 ->
> destination=org.freedesktop.Notifications serial=88
> path=/org/freedesktop/Notifications;
> interface=org.freedesktop.Notifications; member=Notify
>    string "KDE Connect"
>    uint32 0
>    string "dialog-ok"
>    string "devicename"
>    string "Ping!"
>    array [
>    ]
>    array [
>       dict entry(
>          string "x-kde-appname"
>          variant             string "kdeconnect"
>       )
>       dict entry(
>          string "x-kde-eventId"
>          variant             string "pingReceived"
>       )
>    ]
>    int32 -1
> signal time=1485163714.635767 sender=:1.56 -> destination=:1.86 serial=27
> path=/org/freedesktop/Notifications;
> interface=org.freedesktop.Notifications; member=NotificationClosed

Sorry forgot to mention the system.

Ubuntu 16.04 with Unity 7.4.0.
D-Bus Message Bus Daemon 1.10.6

I am using the kdeconnect-indecator from https://github.com/Bajoja/indicator-kdeconnect. The author told me, that the indicator is not managing notifications (https://github.com/Bajoja/indicator-kdeconnect/issues/32).
Comment 2 Bernd 2017-01-25 14:33:10 UTC
I also compiled the current git version and ran into the same problems. The first notification was displayed without a problem. Then i called myself; callReceived and missedCall were not displayed.

kdeconnect.core: KdeConnect daemon starting
kdeconnect.core: onStart
kdeconnect.core: KdeConnect daemon started
kdeconnect.core: Broadcasting identity packet
kdeconnect.core: Socket connected
kdeconnect.core: TCP connection done (i'm the existing device)
kdeconnect.core: Starting server ssl (I'm the client TCP socket)
kdeconnect.core: Socket succesfully stablished an SSL connection
kdeconnect.core: It is a known device "device"
kdeconnect.core: Not loading plugin "kdeconnect_remotecommands" because device doesn't support it
QObject::connect: No such signal QDBusAbstractInterface::messageReceived(QString,QString)
kdeconnect.plugin.sendnotification: Registered notifications listener for device "device"
kdeconnect.plugin.sftp: add to dolphin
kdeconnect.plugin.sftp: Created device: "device"
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
kdeconnect.plugin.telephony: Creating notification with type: "callReceived"
kdeconnect.plugin.telephony: Creating notification with type: "callReceived"
kdeconnect.plugin.telephony: Creating notification with type: "missedCall"
kdeconnect.plugin.notification: Not found noti by internal Id:  "0|com.android.dialer|1|null|10008"
Comment 3 Nicolas Fella 2018-01-17 00:14:06 UTC
Can you check again with 1.2 or master, it should be resolved by now
Comment 4 Bernd 2018-01-17 08:00:55 UTC
It works now. Thanks