Review Request 125736: Add Skip Window Close Animation to KWindowEffects
Martin Gräßlin
mgraesslin at kde.org
Wed Oct 21 14:38:52 UTC 2015
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/125736/#review87206
-----------------------------------------------------------
src/kwindoweffects.h (line 167)
<https://git.reviewboard.kde.org/r/125736/#comment59905>
please add an @since
src/kwindoweffects.h
<https://git.reviewboard.kde.org/r/125736/#comment59906>
looks like you removed an empty line
src/kwindoweffects.cpp (line 95)
<https://git.reviewboard.kde.org/r/125736/#comment59908>
why return?
src/kwindoweffects_extensions.h (lines 26 - 35)
<https://git.reviewboard.kde.org/r/125736/#comment59907>
Why this new file and why as a public header?
I would suggest to just add it to the existing header for KWindowEffectsPrivate.
src/platforms/xcb/kwindoweffects_x11.h (line 26)
<https://git.reviewboard.kde.org/r/125736/#comment59909>
why are you going for multiple inheritance? I would have gone for:
class KWindowEffectsPrivate2 : public KWindowEffectsPrivate { ... }
and
class KWindowEffectsPrivateX11 : public KWindowEffectsPrivate2
- Martin Gräßlin
On Oct. 21, 2015, 1:55 p.m., Boudhayan Gupta wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/125736/
> -----------------------------------------------------------
>
> (Updated Oct. 21, 2015, 1:55 p.m.)
>
>
> Review request for KDE Frameworks and Martin Gräßlin.
>
>
> Repository: kwindowsystem
>
>
> Description
> -------
>
> Adds a Skip Window Close Animation effect to KWindowEffects, with an implementation for X11.
>
> Binary compatibility with older plugins is **not** preserved. I welcome comments on how exactly to do this - creating a new base class (KWindowEffectsPrivate2 based on KWindowEffectsPrivate and basing the plugins off that sounds kind of complicated). Maybe we can just drop internal ABI compatibility and update kwayland-integration to implement the new method too?
>
>
> Diffs
> -----
>
> autotests/kwindoweffectstest.cpp 0e83bdc
> src/kwindoweffects.h bf0ea1e
> src/kwindoweffects.cpp 0c6600f
> src/kwindoweffects_dummy.cpp 65924ae
> src/kwindoweffects_dummy_p.h 2beabdd
> src/kwindoweffects_extensions.h PRE-CREATION
> src/platforms/xcb/atoms_p.h b5a6e7e
> src/platforms/xcb/kwindoweffects.cpp c8da6d2
> src/platforms/xcb/kwindoweffects_x11.h c240ddf
>
> Diff: https://git.reviewboard.kde.org/r/125736/diff/
>
>
> Testing
> -------
>
> * make test succeeds with the new plugin installed
> * make test succeeds on all tests in the kwindoweffects test except the skipCloseAnimation unit with the old plugin installed. skipCloseAnimation segfaults.
>
>
> Thanks,
>
> Boudhayan Gupta
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20151021/6bc26a90/attachment-0001.html>
More information about the Kde-frameworks-devel
mailing list