2018-06-10 11:02:57 +00:00
|
|
|
Version=5
|
|
|
|
|
|
|
|
# Replace old Scale in effect with Scale effect.
|
|
|
|
Id=replace-scalein-with-scale
|
|
|
|
File=kwinrc
|
|
|
|
Group=Plugins
|
|
|
|
Key=kwin4_effect_scaleinEnabled,scaleEnabled
|
[effects] Re-implement the Minimize Animation effect in JavaScript
Summary:
There were several reasons to rewrite the Minimize Animation effect in
JavaScript: to simplify code and to get rid of full repaints. One could
say that nothing prevents us from calculating the dirty region in
postPaintScreen or postPaintWindow and it is correct, but with the
scripting effects API the dirty region will be calculated for us, so we
can focus more on "what we want" instead of "how".
Visually, the "old" effect and the rewritten one look quite the same.
Except one tiny bit: if a window doesn't have an icon in the task manager,
it won't be animated. The reason for that is the purpose of this effect is
to show where the window will be after it's minimized, if the window
doesn't have icon in the task manager, one can't click at the center of
the screen to unminimize the window.
There is one significant change, the name of the effect was changed to
"Squash". If we put this effect and the Magic lamp effect under "Window
Minimize Animation" category (or if we add some "heading" label), then
the old name and the name of the category would "conflict". The new name
was suggested by Nate Graham and it very closely describes what the
effect does. "Scale" doesn't fit this effect because while a window is
being animated, its aspect ratio is not preserved.
Reviewers: #kwin, #plasma, davidedmundson
Reviewed By: #kwin, #plasma, davidedmundson
Subscribers: davidedmundson, kwin
Tags: #kwin
Differential Revision: https://phabricator.kde.org/D16372
2018-09-23 17:07:48 +00:00
|
|
|
|
|
|
|
# Port the Minimize Animation effect to JavaScript.
|
|
|
|
Id=port-minimizeanimation-effect-to-js
|
|
|
|
File=kwinrc
|
|
|
|
Group=Plugins
|
|
|
|
Key=minimizeanimationEnabled,kwin4_effect_squashEnabled
|
2018-10-27 21:27:25 +00:00
|
|
|
|
|
|
|
# Port the Scale effect to JavaScript.
|
|
|
|
Id=port-scale-effect-to-js
|
|
|
|
File=kwinrc
|
|
|
|
Group=Effect-Scale,Effect-kwin4_effect_scale
|
|
|
|
AllKeys
|
|
|
|
Group=Plugins
|
|
|
|
Key=scaleEnabled,kwin4_effect_scaleEnabled
|
2018-11-17 12:14:35 +00:00
|
|
|
|
|
|
|
# Port the Dim Screen effect to JavaScript.
|
|
|
|
Id=port-dimscreen-effect-to-js
|
|
|
|
File=kwinrc
|
|
|
|
Group=Plugins
|
|
|
|
Key=dimscreenEnabled,kwin4_effect_dimscreenEnabled
|
2019-05-03 18:23:58 +00:00
|
|
|
|
|
|
|
# Deactivate auto border size if the user has changed border size in the past
|
|
|
|
Id=auto-bordersize
|
|
|
|
File=kwinrc
|
|
|
|
Group=org.kde.kdecoration2
|
|
|
|
Script=kwin-5.16-auto-bordersize.sh,sh
|
2019-09-25 13:31:52 +00:00
|
|
|
|
|
|
|
# Move AnimationSpeed to kdeglobals as AnimationDurationFactor converting to a useful value
|
|
|
|
Id=animation-speed
|
|
|
|
File=kwinrc,kdeglobals
|
|
|
|
Group=Compositing,KDE
|
2020-01-27 14:39:00 +00:00
|
|
|
Script=kwin-5.18-move-animspeed.py,python3
|
2020-10-30 09:39:00 +00:00
|
|
|
|
|
|
|
# In the Desktop Grid effect, replace the PresentWindows boolean with an enum
|
|
|
|
Id=desktop-grid-click-behavior
|
|
|
|
File=kwinrc
|
|
|
|
Group=Effect-DesktopGrid
|
2020-11-06 22:21:57 +00:00
|
|
|
Script=kwin-5.21-desktop-grid-click-behavior.py,python3
|
2021-01-07 08:09:47 +00:00
|
|
|
|
|
|
|
# Remove GLPreferBufferSwap if it has a value of "n"
|
|
|
|
Id=no-swap-encourage
|
|
|
|
File=kwinrc
|
|
|
|
Group=Compositing
|
2021-01-07 19:28:00 +00:00
|
|
|
Script=kwin-5.21-no-swap-encourage.py,python3
|
2021-05-14 14:37:35 +00:00
|
|
|
|
|
|
|
# Make the Translucency effect disabled by default
|
|
|
|
Id=make-translucency-effect-disabled-by-default
|
|
|
|
File=kwinrc
|
|
|
|
Group=Plugins
|
|
|
|
Script=kwin-5.23-disable-translucency-effect.sh,sh
|
2021-05-31 10:37:11 +00:00
|
|
|
|
|
|
|
# Remove the Flip Switch effect
|
|
|
|
Id=remove-flip-switch-effect
|
|
|
|
File=kwinrc
|
|
|
|
Group=TabBox,TabBoxAlternative
|
|
|
|
Script=kwin-5.23-remove-flip-switch.py,python3
|
2021-05-31 10:41:05 +00:00
|
|
|
|
|
|
|
# Remove the Cover Switch effect
|
|
|
|
Id=remove-cover-switch-effect
|
|
|
|
File=kwinrc
|
|
|
|
Group=TabBox,TabBoxAlternative
|
|
|
|
Script=kwin-5.23-remove-cover-switch.py,python3
|
2021-05-31 10:51:17 +00:00
|
|
|
|
|
|
|
# Remove the Desktop Cube Animation effect
|
|
|
|
Id=remove-cubeslide-effect
|
|
|
|
File=kwinrc
|
|
|
|
Group=Plugins
|
|
|
|
Script=kwin-5.23-remove-cubeslide.py,python3
|
2021-06-08 18:38:43 +00:00
|
|
|
|
|
|
|
# Remove Backend if it has a value of "XRender"
|
|
|
|
Id=remove-xrender-backend
|
|
|
|
File=kwinrc
|
|
|
|
Group=Compositing
|
|
|
|
Script=kwin-5.23-remove-xrender-backend.py,python3
|
2022-01-04 20:53:31 +00:00
|
|
|
|
|
|
|
# Enable the Scale effect by default.
|
|
|
|
Id=enable-scale-effect-by-default
|
|
|
|
File=kwinrc
|
|
|
|
Group=Plugins
|
|
|
|
Key=kwin4_effect_fadeEnabled,kwin4_effect_scaleEnabled
|