[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-telepathy
Subject: Re: Review Request 109492: Allow Rich Text in QML notifications plasmoid
From: "nucleo nucleo" <alekcejk () googlemail ! com>
Date: 2013-04-05 0:42:16
Message-ID: 20130405004216.31782.23463 () vidsolbach ! de
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
> On March 31, 2013, 10:19 p.m., Commit Hook wrote:
> > This review has been submitted with commit \
> > 81fd37ec62cf8f064996aac409e6808ec7916153 by David Edmundson to branch KDE/4.10.
>
> nucleo nucleo wrote:
> I still see popups with things like "<b>" with kde-workspace-4.10.2 and backported \
> patch. I use DBus based popups in KVIrc. When popup shown firs time "<b>" appears \
> there but after popup disappears and I open it by pressing on notification widget \
> popup shown fine without "<b>" and with bold text.
> David Edmundson wrote:
> It is not in 4.10.2, it is in what will be 4.10.3
>
> nucleo nucleo wrote:
> kde-workspace-4.10.2 built with backported patch
As I told, patch works but partially.
Here popup with text displayed correctly after pressing on notification widget \
http://i.imgur.com/ap9B8Su.png But at first popup appeared with broken text \
http://i.imgur.com/kmXS6a0.png
- nucleo
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/109492/#review30191
-----------------------------------------------------------
On March 31, 2013, 10:19 p.m., David Edmundson wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/109492/
> -----------------------------------------------------------
>
> (Updated March 31, 2013, 10:19 p.m.)
>
>
> Review request for kde-workspace, Plasma and Telepathy.
>
>
> Description
> -------
>
> Allow Rich Text in QML Notification plasmoid
>
> This matches behaviour of the notifications in 4.9 which used QLabel
> It fixes a problem we noticed in KTp in which we would see notifications with \
> > in the body as we deliberately try and keep formatting the same and be \
> HTML safe.
> I want to backport this to 4.10 branch
>
>
> Diffs
> -----
>
> plasma/generic/applets/notifications/contents/ui/NotificationDelegate/NotificationDelegate.qml \
> ed8ed99f92b7b5e7c2b491bd8d13d3eadb3d65db
> Diff: http://git.reviewboard.kde.org/r/109492/diff/
>
>
> Testing
> -------
>
> Emitted notifications which were known to trigger the bug.
>
>
> Thanks,
>
> David Edmundson
>
>
[Attachment #5 (text/html)]
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="8" style="border: 1px #c9c399 \
solid;"> <tr>
<td>
This is an automatically generated e-mail. To reply, visit:
<a href="http://git.reviewboard.kde.org/r/109492/">http://git.reviewboard.kde.org/r/109492/</a>
</td>
</tr>
</table>
<br />
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <p style="margin-top: 0;">On March 31st, 2013, 10:19 p.m. UTC, <b>Commit \
Hook</b> wrote:</p> <blockquote style="margin-left: 1em; border-left: 2px solid \
#d0d0d0; padding-left: 10px;"> <pre style="white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">This review has been submitted with commit \
81fd37ec62cf8f064996aac409e6808ec7916153 by David Edmundson to branch KDE/4.10.</pre> \
</blockquote>
<p>On April 4th, 2013, 8:17 p.m. UTC, <b>nucleo nucleo</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">I still see popups with \
things like "<b>" with kde-workspace-4.10.2 and backported patch. I \
use DBus based popups in KVIrc. When popup shown firs time "<b>" \
appears there but after popup disappears and I open it by pressing on notification \
widget popup shown fine without "<b>" and with bold text.</pre> \
</blockquote>
<p>On April 4th, 2013, 10:12 p.m. UTC, <b>David Edmundson</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">It is not in 4.10.2, it \
is in what will be 4.10.3</pre> </blockquote>
<p>On April 4th, 2013, 10:15 p.m. UTC, <b>nucleo nucleo</b> wrote:</p>
<blockquote style="margin-left: 1em; border-left: 2px solid #d0d0d0; padding-left: \
10px;"> <pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">kde-workspace-4.10.2 \
built with backported patch</pre> </blockquote>
</blockquote>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">As I told, patch works \
but partially. Here popup with text displayed correctly after pressing on \
notification widget http://i.imgur.com/ap9B8Su.png But at first popup appeared with \
broken text http://i.imgur.com/kmXS6a0.png</pre> <br />
<p>- nucleo</p>
<br />
<p>On March 31st, 2013, 10:19 p.m. UTC, David Edmundson wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="8" \
style="background-image: \
url('http://git.reviewboard.kde.org/static/rb/images/review_request_box_top_bg.ab6f3b1072c9.png'); \
background-position: left top; background-repeat: repeat-x; border: 1px black \
solid;"> <tr>
<td>
<div>Review request for kde-workspace, Plasma and Telepathy.</div>
<div>By David Edmundson.</div>
<p style="color: grey;"><i>Updated March 31, 2013, 10:19 p.m.</i></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Description </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" \
style="border: 1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Allow Rich Text in QML Notification plasmoid
This matches behaviour of the notifications in 4.9 which used QLabel
It fixes a problem we noticed in KTp in which we would see notifications with \
&nbsp; > in the body as we deliberately try and keep formatting the same and \
be HTML safe.
I want to backport this to 4.10 branch</pre>
</td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Testing </h1>
<table width="100%" bgcolor="#ffffff" cellspacing="0" cellpadding="10" style="border: \
1px solid #b8b5a0"> <tr>
<td>
<pre style="margin: 0; padding: 0; white-space: pre-wrap; white-space: \
-moz-pre-wrap; white-space: -pre-wrap; white-space: -o-pre-wrap; word-wrap: \
break-word;">Emitted notifications which were known to trigger the bug.</pre> </td>
</tr>
</table>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Diffs</b> </h1>
<ul style="margin-left: 3em; padding-left: 0;">
<li>plasma/generic/applets/notifications/contents/ui/NotificationDelegate/NotificationDelegate.qml \
<span style="color: grey">(ed8ed99f92b7b5e7c2b491bd8d13d3eadb3d65db)</span></li>
</ul>
<p><a href="http://git.reviewboard.kde.org/r/109492/diff/" style="margin-left: \
3em;">View Diff</a></p>
</td>
</tr>
</table>
</div>
</body>
</html>
_______________________________________________
KDE-Telepathy mailing list
KDE-Telepathy@kde.org
https://mail.kde.org/mailman/listinfo/kde-telepathy
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic