Review Request 125140: [kdeconnect-kde] initial support for desktop-to-XXX notifications
Holger Kaelberer
holger.k at elberer.de
Wed Dec 2 08:16:03 UTC 2015
> On Dec. 1, 2015, 3:20 p.m., Aleix Pol Gonzalez wrote:
> > plugins/notifications/notifyingapplicationmodel.h, line 34
> > <https://git.reviewboard.kde.org/r/125140/diff/2/?file=419327#file419327line34>
> >
> > Remove the numbers, no need.
Hm, ok. The col-numbers were magic numbers before, then I changed col-ordering and introduced this enum to avoid error-prone search-n-replacing in the future. But yes, they probably won't change anymore.
> On Dec. 1, 2015, 3:20 p.m., Aleix Pol Gonzalez wrote:
> > plugins/notifications/notifyingapplicationmodel.h, line 60
> > <https://git.reviewboard.kde.org/r/125140/diff/2/?file=419327#file419327line60>
> >
> > Why would it need locking? dbus also lives in the gui thread.
Fine, I thought it was not needed, but was not a 100% sure, because of the slot touching the container and thus introduced a potential concurrent access to it if invoked directly from another thread ...
On Dec. 1, 2015, 3:20 p.m., Holger Kaelberer wrote:
> > Do you think it would be possible to test it somehow? Maybe we can get inspired in the sharefiletest.cpp there?
> >
> > Otherwise, ship it. Looks good and I'd like to give it a try!
Will have a look at the tests first ...
- Holger
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125140/#review89001
-----------------------------------------------------------
On Nov. 27, 2015, 8:18 p.m., Holger Kaelberer wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125140/
> -----------------------------------------------------------
>
> (Updated Nov. 27, 2015, 8:18 p.m.)
>
>
> Review request for kdeconnect.
>
>
> Repository: kdeconnect-kde
>
>
> Description
> -------
>
> Eavesdrop on the Notify call of the org.freedesktop.Notifications dbus-interface, proxy all caught notifications to our peer device and track them in the internal notifications-list.
>
> Also fix "cancel" requests from peer devices, by cutting of kdeconnect-android's id-prefix.
>
>
> Diffs
> -----
>
> core/kdeconnectpluginconfig.h 09bf68e
> core/kdeconnectpluginconfig.cpp 980235c
> plugins/notifications/CMakeLists.txt 41c5b78
> plugins/notifications/kdeconnect_notifications_config.desktop PRE-CREATION
> plugins/notifications/notifications_config.h PRE-CREATION
> plugins/notifications/notifications_config.cpp PRE-CREATION
> plugins/notifications/notifications_config.ui PRE-CREATION
> plugins/notifications/notificationsdbusinterface.h 21d5a6a
> plugins/notifications/notificationsdbusinterface.cpp 3c504c6
> plugins/notifications/notificationslistener.h PRE-CREATION
> plugins/notifications/notificationslistener.cpp PRE-CREATION
> plugins/notifications/notificationsplugin.h 7cc67c5
> plugins/notifications/notificationsplugin.cpp badb5d3
> plugins/notifications/notifyingapplication.h PRE-CREATION
> plugins/notifications/notifyingapplication.cpp PRE-CREATION
> plugins/notifications/notifyingapplicationmodel.h PRE-CREATION
> plugins/notifications/notifyingapplicationmodel.cpp PRE-CREATION
>
> Diff: https://git.reviewboard.kde.org/r/125140/diff/
>
>
> Testing
> -------
>
> I tested with my (patched) tablet, works fine.
>
>
> File Attachments
> ----------------
>
> config screenshot 1
> https://git.reviewboard.kde.org/media/uploaded/files/2015/11/27/975e2005-2baa-4584-9bc4-dd406ebe2ae1__notifications-config0.jpg
> config screeshot 2
> https://git.reviewboard.kde.org/media/uploaded/files/2015/11/27/09c97354-19ca-4606-81b8-61cdb3fa2af0__notifications-config1.jpg
>
>
> Thanks,
>
> Holger Kaelberer
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20151202/0de5a1ca/attachment-0001.html>
More information about the KDEConnect
mailing list