Review Request 125120: [wip] support for the slide protocol
Martin Gräßlin
mgraesslin at kde.org
Thu Sep 10 06:33:28 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125120/#review85083
-----------------------------------------------------------
What I miss in general is support for removing the "property" again.
effects/slidingpopups/slidingpopups.cpp (line 277)
<https://git.reviewboard.kde.org/r/125120/#comment58835>
this connect is dangerous: it doesn't have a context. It will fire after slide is unloaded -> crash. And it might fire also when the EffectWindow for the Surface would get destroyed.
I suggest to change it to something like:
connect(surf, &slideOnShowHideChanged, this, [this, surf] { slotThingy(effects->findWindow(surf); });
effects/slidingpopups/slidingpopups.cpp (lines 433 - 434)
<https://git.reviewboard.kde.org/r/125120/#comment58836>
on X11 the time might also come from the property.
- Martin Gräßlin
On Sept. 9, 2015, 9:27 p.m., Marco Martin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125120/
> -----------------------------------------------------------
>
> (Updated Sept. 9, 2015, 9:27 p.m.)
>
>
> Review request for kwin and Plasma.
>
>
> Repository: kwin
>
>
> Description
> -------
>
> take and apply thhe informations from the wayland slide protocol in the sliding popups effect
>
>
> Diffs
> -----
>
> effects/slidingpopups/slidingpopups.h ac3cf10
> effects/slidingpopups/slidingpopups.cpp f6d9ec5
>
> Diff: https://git.reviewboard.kde.org/r/125120/diff/
>
>
> Testing
> -------
>
> slide to appear works, slide out to disappear doesn't.
>
> the second time a popup is opened, kwin crashes and an assert is hit
>
> kwin_wayland: /home/diau/git/kf5/kde/workspace/kwin/libkwineffects/kwineffects.cpp:908: KWin::WindowQuad KWin::WindowQuad::makeSubQuad(double, double, double, double) const: Assertion `x1 < x2 && y1 < y2 && x1 >= left() && x2 <= right() && y1 >= top() && y2 <= bottom()' failed.
>
>
> Thanks,
>
> Marco Martin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150910/11ee9169/attachment.html>
More information about the Plasma-devel
mailing list