Review Request 124149: Rework the notifications sizing code

Martin Klapetek martin.klapetek at gmail.com
Wed Jun 24 12:42:26 UTC 2015



> On June 24, 2015, 2:32 p.m., Alexander Potashev wrote:
> > Sorry for off-topic, is it possible to see the full text that was elided? If not, I'm going to file a feature request on bko.

No; notifications should really be short and meaningfull, placing 10 lines text inside a notification kinda defeats the purpose of the notifications and such notifications should be fixed at the source.


- Martin


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124149/#review81722
-----------------------------------------------------------


On June 22, 2015, 6:53 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, 6:53 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
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150624/c02c7d45/attachment.html>


More information about the Plasma-devel mailing list