D26756: Strip richtext on Windows, as Windows does not support it
Nicolas Fella
noreply at phabricator.kde.org
Sun Jan 19 00:24:39 GMT 2020
nicolasfella added a comment.
We have the same problem on Linux (if the server doesn't support rich text) and probably Android too. In notifybypopup we do this with QXmlStreamReader + some API from KCodecs, but your solution is much simpler and nicer.
Ideally this should be done in KNotification instead of the backends. Therefore we'd need some API in KNotificationPlugin/KNotification to indicate whether rich text is supported. The KNotificationManager code is quite convoluted currently, but it should be doable.
This would help our quest of making KNotifications Tier 1 ;-)
REPOSITORY
R289 KNotifications
REVISION DETAIL
https://phabricator.kde.org/D26756
To: vonreth, broulik, brute4s99
Cc: nicolasfella, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200119/446a80e3/attachment.html>
More information about the Kde-frameworks-devel
mailing list