Review Request 127768: Don't hardcode app name to filter notifications
Aleix Pol Gonzalez
aleixpol at kde.org
Wed Apr 27 22:15:56 UTC 2016
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/127768/#review94924
-----------------------------------------------------------
Ship it!
The solution looks overly to complex IMHO, but it's indeed better like this.
- Aleix Pol Gonzalez
On April 27, 2016, 9:08 p.m., David Kahles wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/127768/
> -----------------------------------------------------------
>
> (Updated April 27, 2016, 9:08 p.m.)
>
>
> Review request for kdeconnect.
>
>
> Repository: kdeconnect-kde
>
>
> Description
> -------
>
> The app name used by KNotification is translated, and thus the filtering
> doesn't work if the translated app name is different.
>
> Previously, when the phone gets a new notification and sends it to the computer, kdeconnect will post
> a notification, but record this notification (as the filtering didn't work) and send it back to the phone. Therefore each notification on the phone will there be two times.
>
> This works on master because notifications aren't synchronized with the phone (a bug?). On sslrefactor this is fixed, and thus we need to fix the filtering.
>
> I need to parse this configuration file, as I don't see another way to retrieve the translated app name.
>
>
> Diffs
> -----
>
> plugins/notifications/CMakeLists.txt d74cca6b249411d981a23fdf6ec5a493efd472e1
> plugins/notifications/notificationslistener.h dfa37b8a914e8cd03e1bb3d3eaf8f4f66269ef02
> plugins/notifications/notificationslistener.cpp d21f3d733752a155ea26f34bfab2b873f7e3de72
>
> Diff: https://git.reviewboard.kde.org/r/127768/diff/
>
>
> Testing
> -------
>
> If the phone gets a notification, it will appear on the computer, but not again on the phone.
> Sending notification from the computer to the phone still works fine.
>
>
> Thanks,
>
> David Kahles
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdeconnect/attachments/20160427/053b9bad/attachment.html>
More information about the KDEConnect
mailing list