[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: Review Request 124149: Rework the notifications sizing code
From: "Jens Reuterberg" <jens () ohyran ! se>
Date: 2015-06-22 16:41:24
Message-ID: 20150622164124.26033.66742 () mimi ! kde ! org
[Download RAW message or body]
--===============1543191038192838923==
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124149/#review81659
-----------------------------------------------------------
Ship it!
Ship It!
- Jens Reuterberg
On June 22, 2015, 3:04 p.m., Martin Klapetek wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124149/
> -----------------------------------------------------------
>
> (Updated June 22, 2015, 3:04 p.m.)
>
>
> Review request for Plasma and Kai Uwe Broulik.
>
>
> Bugs: 339588 and 349142
> https://bugs.kde.org/show_bug.cgi?id=339588
> https://bugs.kde.org/show_bug.cgi?id=349142
>
>
> Repository: plasma-workspace
>
>
> Description
> -------
>
> This reworks the notification sizing computation to use Layouts. This should fix \
> all the popup sizing issues there are (including a binding loop error).
> Now it also properly elides after max 4 lines of text.
>
>
> Diffs
> -----
>
> applets/notifications/package/contents/ui/NotificationItem.qml 176ae91
> applets/notifications/package/contents/ui/NotificationPopup.qml e4e5fad
>
> Diff: https://git.reviewboard.kde.org/r/124149/diff/
>
>
> Testing
> -------
>
> I've been running it for couple hours, all notifications have correct sizes, see \
> screenshot
>
> File Attachments
> ----------------
>
> Screenshot
> https://git.reviewboard.kde.org/media/uploaded/files/2015/06/22/f4f7689c-2a95-46aa-8e51-e90d25d99bb2__notifications-layout.png
>
>
> Thanks,
>
> Martin Klapetek
>
>
--===============1543191038192838923==
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: 7bit
<html>
<body>
<div style="font-family: Verdana, Arial, Helvetica, Sans-Serif;">
<table bgcolor="#f9f3c9" width="100%" cellpadding="12" style="border: 1px #c9c399 \
solid; border-radius: 6px; -moz-border-radius: 6px; -webkit-border-radius: 6px;"> \
<tr> <td>
This is an automatically generated e-mail. To reply, visit:
<a href="https://git.reviewboard.kde.org/r/124149/">https://git.reviewboard.kde.org/r/124149/</a>
</td>
</tr>
</table>
<br />
<p>Ship it!</p>
<pre style="white-space: pre-wrap; white-space: -moz-pre-wrap; white-space: \
-pre-wrap; white-space: -o-pre-wrap; word-wrap: break-word;">Ship It!</pre> <br />
<p>- Jens Reuterberg</p>
<br />
<p>On June 22nd, 2015, 3:04 p.m. UTC, Martin Klapetek wrote:</p>
<table bgcolor="#fefadf" width="100%" cellspacing="0" cellpadding="12" style="border: \
1px #888a85 solid; border-radius: 6px; -moz-border-radius: 6px; \
-webkit-border-radius: 6px;"> <tr>
<td>
<div>Review request for Plasma and Kai Uwe Broulik.</div>
<div>By Martin Klapetek.</div>
<p style="color: grey;"><i>Updated June 22, 2015, 3:04 p.m.</i></p>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt; margin-top: 1.5em;">Bugs: </b>
<a href="https://bugs.kde.org/show_bug.cgi?id=339588">339588</a>,
<a href="https://bugs.kde.org/show_bug.cgi?id=349142">349142</a>
</div>
<div style="margin-top: 1.5em;">
<b style="color: #575012; font-size: 10pt;">Repository: </b>
plasma-workspace
</div>
<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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">This reworks the notification sizing computation to \
use Layouts. This should fix all the popup sizing issues there are (including a \
binding loop error).</p> <p style="padding: 0;text-rendering: inherit;margin: \
0;line-height: inherit;white-space: inherit;">Now it also properly elides after max 4 \
lines of text.</p></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;"><p style="padding: 0;text-rendering: inherit;margin: 0;line-height: \
inherit;white-space: inherit;">I've been running it for couple hours, all \
notifications have correct sizes, see screenshot</p></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>applets/notifications/package/contents/ui/NotificationItem.qml <span \
style="color: grey">(176ae91)</span></li>
<li>applets/notifications/package/contents/ui/NotificationPopup.qml <span \
style="color: grey">(e4e5fad)</span></li>
</ul>
<p><a href="https://git.reviewboard.kde.org/r/124149/diff/" style="margin-left: \
3em;">View Diff</a></p>
<h1 style="color: #575012; font-size: 10pt; margin-top: 1.5em;">File Attachments \
</h1>
<li><a href="https://git.reviewboard.kde.org/media/uploaded/files/2015/06/22/f4f7689c-2a95-46aa-8e51-e90d25d99bb2__notifications-layout.png">Screenshot</a></li>
</ul>
</td>
</tr>
</table>
</div>
</body>
</html>
--===============1543191038192838923==--
[Attachment #3 (text/plain)]
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic