The purpose would be to discuss the possibility of creating a new KWin effect based mainly on QML but unifying the features of present windows and desktop grid effects.
The QML part of the new effect would be based on Parachute script (https://github.com/tcorreabr/Parachute).
Possible advantages:
- One of the biggest problems with Parachute is the lack of smoothness of the animations. I already did a test that consisted in replacing the component responsible for draw the windows (KWin.ThumbnailItem) by a simple rectangle and as a result the animation became quite fluid. So replacing the QML component by the EffectWindow C++ class would solve this problem.
- EffectWindow's allows to define stacking order. This would give a much better effect on animations and drag operations.
- I am not sure but I think it would be possible to put QML components (labels, icons, buttons, etc.) on top of EffectWindow's. The component KWin.ThumbnailItem does not allow that.
- Possibility to keep plasma panels visible. The windows created by KWin scripts do not allow this because they are necessarily "always on top" type.
Disadvantage:
- Weird and difficult mix of QML and C++ code on UI. For example, how to support a drag of an EffectWindow in a QML container component?