> On Dec. 5, 2014, 8:19 p.m., Martin Gräßlin wrote:
> > I'm a little bit concerned about the mutex usage. I somehow don't see where 
> > this could be threaded. If it's using threads due to the rendering, then 
> > it's important that you create it as a QMutex::Recursive mutex as otherwise 
> > on single-threaded renderers (all non-NVIDIA) it could dead-lock.

I'm not 100% sure either, but I was observing strange issues and really a 
concurrency issues, they all went out when I put the mutexes there.

I'll change to Recursive.


- Martin


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


On Dec. 5, 2014, 8:01 p.m., Martin Klapetek wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/121360/
> -----------------------------------------------------------
> 
> (Updated Dec. 5, 2014, 8:01 p.m.)
> 
> 
> Review request for Plasma and Kai Uwe Broulik.
> 
> 
> Bugs: 339732
>     https://bugs.kde.org/show_bug.cgi?id=339732
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> There can easily be situations where the popups could overlap one another or 
> result in strange animations. This patch rewrites the notifications so that 
> all actions such as show/reposition/hide are handled from a one single place 
> and every action is properly queued and protected around, which makes it more 
> robust, more predictive and less chaotic. There's also a slight delay between 
> every action so it's also visually much more cleaner and easier to see what's 
> going on. 
> 
> 
> Diffs
> -----
> 
>   applets/notifications/package/contents/ui/NotificationPopup.qml c99bf21 
>   applets/notifications/plugin/notificationshelper.h af8f6fa 
>   applets/notifications/plugin/notificationshelper.cpp 425f0d6 
> 
> Diff: https://git.reviewboard.kde.org/r/121360/diff/
> 
> 
> Testing
> -------
> 
> Tested whole day plus stress-tested with something like for i in {1..200}; do 
> notify-send "$i - $RANDOM" "$RANDOM sdf sdf sdfwefhsdjfnskdfbkwefnos igodsfgn 
> sodifgj asodfgnsdlfgdf g"; done executed from 4 terminals at once, all works 
> fine and as expected.
> 
> 
> Thanks,
> 
> Martin Klapetek
> 
>

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

Reply via email to