kwin/kcmkwin/kwincompositing
Nate Graham d288276269 [kcmkwin/compositing] Port Effects KCM to QQC2
Summary:
This patch ports the Effects KCM to QQC2, which yields the following benefits:
1. General performance enhancements of only using QQC2 rather than a mix of 1 and 2
2. Some code simplification is possible
3. Improves the appearance of the checkable menu items in the dropdown menu, fixing https://bugs.kde.org/show_bug.cgi?id=402701
4. Improves the appearance when using a fractional scale factor, fixing https://bugs.kde.org/show_bug.cgi?id=396725
5. Fixes the incorrect size when opened from `kcmshell5`

Along the way, two visual changes are introduced as a by-product of porting:
1. The scrollbar is inline, so it overlaps some of the buttons in the content. This is somewhat undesirable, but adopting a Kirigami scrollview would fix this.
2. The button that displays a dropdown menu no longer has a downward-pointing arrow to indicate as such. This is not my preference, but there's a benefit to being consistent, and eventually we could can change this in one place to impeove the appearance of buttons that display dropdown menus everywhere in one fell swoop.

BUG: 396725
BUG: 402701
BUG: 396076
FIXED-IN: 5.15.0

Test Plan:
All functionality still works

In System Settings, showing improved checkable menu item appearance:
{F6523385}

In `kcmshell` at 1x scale:
{F6523386}

In `kcmshell` at 1.5x scale:
{F6523387}

Reviewers: #kwin, #plasma, davidedmundson

Reviewed By: #kwin, #plasma, davidedmundson

Subscribers: davidedmundson, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D17928
2019-01-06 16:09:07 -07:00
..
qml [kcmkwin/compositing] Port Effects KCM to QQC2 2019-01-06 16:09:07 -07:00
test Remove Qt module declarations in includes 2018-06-05 18:07:23 +01:00
CMakeLists.txt [effects] Make scripted effects GHNS-able 2018-09-28 20:17:30 +03:00
compositing.cpp [kcmkwin/compositing] Do not write GLPlatformInterface config 2017-04-04 19:38:02 +02:00
compositing.h Drop OpenGL based color correction from KWin 2016-11-22 07:16:51 +01:00
compositing.ui Drop OpenGL based color correction from KWin 2016-11-22 07:16:51 +01:00
config-compiler.h.cmake Initial commit 2014-04-03 07:23:12 +02:00
config-prefix.h.cmake Initial commit 2014-04-03 07:23:12 +02:00
effectconfig.cpp Fix loading of effect config plugins 2015-03-06 13:16:17 +01:00
effectconfig.h [kcmkwin/compositing] Use Effect name as configuration window title 2014-06-12 07:22:17 +02:00
kcmkwineffects.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2018-12-24 05:25:01 +01:00
kwincompositing.desktop SVN_SILENT made messages (.desktop file) - always resolve ours 2018-11-22 06:02:11 +01:00
kwineffect.knsrc SVN_SILENT made messages (.desktop file) - always resolve ours 2018-07-23 07:12:23 +02:00
main.cpp Fix compile when we use QT_NO_NARROWING_CONVERSIONS_IN_CONNECT flags 2018-09-17 13:43:18 +02:00
Messages.sh i18n fixes 2014-07-23 03:35:36 +02:00
model.cpp [effects] Move Fade, Glide, and Scale effect into exclusive group 2018-11-15 19:02:00 +02:00
model.h Convert EffectView to a QQuickWidget 2018-03-05 21:57:33 +01:00