Bug 423571 - Desktop Behaviour - Animation speed
Summary: Desktop Behaviour - Animation speed
Status: RESOLVED FIXED
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.19.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2020-06-27 07:34 UTC by Domenico Panella
Modified: 2021-04-28 04:05 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Domenico Panella 2020-06-27 07:34:32 UTC
SUMMARY

I set animation speed in Desktop Behaviour but it is ignored.

STEPS TO REPRODUCE
1. System Settings
2. Desktop Behaviour
3. animation speed setting by slider

OBSERVED RESULT

Setting animation speed  is ignored. Unable increase or decrease animation speed.

EXPECTED RESULT

I'd want to see the speed animation of desktop effects increase or decrease

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.19.2
KDE Frameworks Version: 5.71.0
Qt Version: 5.15.0


ADDITIONAL INFORMATION
Comment 1 David Edmundson 2020-06-29 12:29:52 UTC
Please include your 

~/.config/kdeglobals
and ~/.config/kwinrc 

before and after making some change
Comment 2 Domenico Panella 2020-06-29 13:28:50 UTC
kdeglobals (before)
[$Version]
update_info=filepicker.upd:filepicker-remove-old-previews-entry,fonts_global.upd:Fonts_Global,fonts_global_toolbar.upd:Fonts_Global_Toolbar,icons_remove_effects.upd:IconsRemoveEffects,kwin.upd:animation-speed,style_widgetstyle_default_breeze.upd:StyleWidgetStyleDefaultBreeze

[ColorEffects:Disabled]
Color=56,56,56
ColorAmount=0
ColorEffect=0
ContrastAmount=0.65000000000000002
ContrastEffect=1
IntensityAmount=0.10000000000000001
IntensityEffect=2

[ColorEffects:Inactive]
ChangeSelectionColor=true
Color=112,111,110
ColorAmount=0.025000000000000001
ColorEffect=2
ContrastAmount=0.10000000000000001
ContrastEffect=2
Enable=false
IntensityAmount=0
IntensityEffect=0

[Colors:Button]
BackgroundAlternate=64,69,82
BackgroundNormal=65,72,87
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=61,174,233
ForegroundInactive=102,106,115
ForegroundLink=41,128,185
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=82,148,226

[Colors:Complementary]
BackgroundAlternate=59,64,69
BackgroundNormal=49,54,59
DecorationFocus=30,146,255
DecorationHover=61,174,230
ForegroundActive=246,116,0
ForegroundInactive=175,176,179
ForegroundLink=61,174,230
ForegroundNegative=237,21,21
ForegroundNeutral=201,206,59
ForegroundNormal=239,240,241
ForegroundPositive=17,209,22
ForegroundVisited=61,174,230

[Colors:Selection]
BackgroundAlternate=29,153,243
BackgroundNormal=82,148,226
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=252,252,252
ForegroundInactive=211,218,227
ForegroundLink=253,188,75
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=189,195,199

[Colors:Tooltip]
BackgroundAlternate=47,52,63
BackgroundNormal=53,57,69
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=61,174,233
ForegroundInactive=102,106,115
ForegroundLink=41,128,185
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=82,148,226

[Colors:View]
BackgroundAlternate=64,69,82
BackgroundNormal=64,69,82
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=61,174,233
ForegroundInactive=102,106,115
ForegroundLink=41,128,185
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=82,148,226

[Colors:Window]
BackgroundAlternate=47,52,63
BackgroundNormal=47,52,63
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=61,174,233
ForegroundInactive=102,106,115
ForegroundLink=41,128,185
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=82,148,226

[DirSelect Dialog]
DirSelectDialog Size=1007,654
History Items[$e]=file:$HOME/Scaricati,file:$HOME/void-packages,file:$HOME,file:$HOME/Scrivania

[General]
ColorScheme=ArcDark
Name[it_IT]=Brezza scuro
Name=Arc Dark
XftHintStyle=hintslight
XftSubPixel=rgb
fixed=Hack,14,-1,5,50,0,0,0,0,0
font=Cantarell,14,-1,5,50,0,0,0,0,0
menuFont=Cantarell,14,-1,5,50,0,0,0,0,0
shadeSortColumn=true
smallestReadableFont=Cantarell,12,-1,5,50,0,0,0,0,0
toolBarFont=Cantarell,14,-1,5,50,0,0,0,0,0
widgetStyle=Breeze

[Icons]
Theme=Papirus-Dark

[KDE]
AnimationDurationFactor=0.5
ColorScheme=Breeze
LookAndFeelPackage=com.github.varlesh.arc-dark
ShowDeleteCommand=false
SingleClick=false
contrast=4
widgetStyle=Breeze

[KFileDialog Settings]
Allow Expansion=false
Automatically select filename extension=true
Breadcrumb Navigation=true
Decoration position=2
LocationCombo Completionmode=5
PathCombo Completionmode=5
Show Bookmarks=false
Show Full Path=false
Show Inline Previews=true
Show Preview=false
Show Speedbar=true
Show hidden files=false
Sort by=Name
Sort directories first=true
Sort reversed=false
Speedbar Width=160
View Style=DetailTree

[KScreen]
ScaleFactor=2
ScreenScaleFactors=eDP1=2;DP1=2;DP2=2;VIRTUAL1=2;

[PreviewSettings]
MaximumRemoteSize=0

[WM]
activeBackground=47,52,63
activeBlend=47,52,63
activeFont=Cantarell,14,-1,5,50,0,0,0,0,0
activeForeground=211,218,227
inactiveBackground=47,52,63
inactiveBlend=47,52,63
inactiveForeground=102,106,115



kwinrc (before)
[$Version]
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed

[Compositing]
GLCore=true
OpenGLIsUnsafe=false

[Desktops]
Id_1=db95c8ea-dfac-417f-ae1c-7cb7ad765f90
Number=1
Rows=1

[Effect-PresentWindows]
BorderActivateAll=9

[Effect-Wobbly]
Drag=90
Stiffness=6
WobblynessLevel=2

[ElectricBorders]
TopLeft=None

[KDE]
AnimationDurationFactor=0.25

[NightColor]
Active=true

[Plugins]
blurEnabled=true
contrastEnabled=true
highlightwindowEnabled=true
kwin4_effect_dialogparentEnabled=false
kwin4_effect_dimscreenEnabled=true
kwin4_effect_squashEnabled=false
kwin4_effect_windowapertureEnabled=false
magiclampEnabled=true
wobblywindowsEnabled=true

[TabBox]
BorderActivate=9
DesktopLayout=org.kde.breeze.desktop
DesktopListLayout=org.kde.breeze.desktop
LayoutName=big_icons
TouchBorderActivate=9

[Windows]
BorderlessMaximizedWindows=true
Placement=Centered

[org.kde.kdecoration2]
BorderSize=Tiny
BorderSizeAuto=false
ButtonsOnLeft=XAI
ButtonsOnRight=
library=org.kde.kwin.aurorae
theme=__aurorae__svg__Arc-Dark


kdeglobals (after)
[$Version]
update_info=filepicker.upd:filepicker-remove-old-previews-entry,fonts_global.upd:Fonts_Global,fonts_global_toolbar.upd:Fonts_Global_Toolbar,icons_remove_effects.upd:IconsRemoveEffects,kwin.upd:animation-speed,style_widgetstyle_default_breeze.upd:StyleWidgetStyleDefaultBreeze

[ColorEffects:Disabled]
Color=56,56,56
ColorAmount=0
ColorEffect=0
ContrastAmount=0.65000000000000002
ContrastEffect=1
IntensityAmount=0.10000000000000001
IntensityEffect=2

[ColorEffects:Inactive]
ChangeSelectionColor=true
Color=112,111,110
ColorAmount=0.025000000000000001
ColorEffect=2
ContrastAmount=0.10000000000000001
ContrastEffect=2
Enable=false
IntensityAmount=0
IntensityEffect=0

[Colors:Button]
BackgroundAlternate=64,69,82
BackgroundNormal=65,72,87
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=61,174,233
ForegroundInactive=102,106,115
ForegroundLink=41,128,185
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=82,148,226

[Colors:Complementary]
BackgroundAlternate=59,64,69
BackgroundNormal=49,54,59
DecorationFocus=30,146,255
DecorationHover=61,174,230
ForegroundActive=246,116,0
ForegroundInactive=175,176,179
ForegroundLink=61,174,230
ForegroundNegative=237,21,21
ForegroundNeutral=201,206,59
ForegroundNormal=239,240,241
ForegroundPositive=17,209,22
ForegroundVisited=61,174,230

[Colors:Selection]
BackgroundAlternate=29,153,243
BackgroundNormal=82,148,226
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=252,252,252
ForegroundInactive=211,218,227
ForegroundLink=253,188,75
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=189,195,199

[Colors:Tooltip]
BackgroundAlternate=47,52,63
BackgroundNormal=53,57,69
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=61,174,233
ForegroundInactive=102,106,115
ForegroundLink=41,128,185
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=82,148,226

[Colors:View]
BackgroundAlternate=64,69,82
BackgroundNormal=64,69,82
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=61,174,233
ForegroundInactive=102,106,115
ForegroundLink=41,128,185
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=82,148,226

[Colors:Window]
BackgroundAlternate=47,52,63
BackgroundNormal=47,52,63
DecorationFocus=82,148,226
DecorationHover=82,148,226
ForegroundActive=61,174,233
ForegroundInactive=102,106,115
ForegroundLink=41,128,185
ForegroundNegative=218,68,83
ForegroundNeutral=246,116,0
ForegroundNormal=211,218,227
ForegroundPositive=39,174,96
ForegroundVisited=82,148,226

[DirSelect Dialog]
DirSelectDialog Size=1007,654
History Items[$e]=file:$HOME/Scaricati,file:$HOME/void-packages,file:$HOME,file:$HOME/Scrivania

[General]
ColorScheme=ArcDark
Name[it_IT]=Brezza scuro
Name=Arc Dark
XftHintStyle=hintslight
XftSubPixel=rgb
fixed=Hack,14,-1,5,50,0,0,0,0,0
font=Cantarell,14,-1,5,50,0,0,0,0,0
menuFont=Cantarell,14,-1,5,50,0,0,0,0,0
shadeSortColumn=true
smallestReadableFont=Cantarell,12,-1,5,50,0,0,0,0,0
toolBarFont=Cantarell,14,-1,5,50,0,0,0,0,0
widgetStyle=Breeze

[Icons]
Theme=Papirus-Dark

[KDE]
AnimationDurationFactor=4
ColorScheme=Breeze
LookAndFeelPackage=com.github.varlesh.arc-dark
ShowDeleteCommand=false
SingleClick=false
contrast=4
widgetStyle=Breeze

[KFileDialog Settings]
Allow Expansion=false
Automatically select filename extension=true
Breadcrumb Navigation=true
Decoration position=2
LocationCombo Completionmode=5
PathCombo Completionmode=5
Show Bookmarks=false
Show Full Path=false
Show Inline Previews=true
Show Preview=false
Show Speedbar=true
Show hidden files=false
Sort by=Name
Sort directories first=true
Sort reversed=false
Speedbar Width=160
View Style=DetailTree

[KScreen]
ScaleFactor=2
ScreenScaleFactors=eDP1=2;DP1=2;DP2=2;VIRTUAL1=2;

[PreviewSettings]
MaximumRemoteSize=0

[WM]
activeBackground=47,52,63
activeBlend=47,52,63
activeFont=Cantarell,14,-1,5,50,0,0,0,0,0
activeForeground=211,218,227
inactiveBackground=47,52,63
inactiveBlend=47,52,63
inactiveForeground=102,106,115


kwinrc ( after )

[$Version]
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed

[Compositing]
GLCore=true
OpenGLIsUnsafe=false

[Desktops]
Id_1=db95c8ea-dfac-417f-ae1c-7cb7ad765f90
Number=1
Rows=1

[Effect-PresentWindows]
BorderActivateAll=9

[Effect-Wobbly]
Drag=90
Stiffness=6
WobblynessLevel=2

[ElectricBorders]
TopLeft=None

[KDE]
AnimationDurationFactor=0.25

[NightColor]
Active=true

[Plugins]
blurEnabled=true
contrastEnabled=true
highlightwindowEnabled=true
kwin4_effect_dialogparentEnabled=false
kwin4_effect_dimscreenEnabled=true
kwin4_effect_squashEnabled=false
kwin4_effect_windowapertureEnabled=false
magiclampEnabled=true
wobblywindowsEnabled=true

[TabBox]
BorderActivate=9
DesktopLayout=org.kde.breeze.desktop
DesktopListLayout=org.kde.breeze.desktop
LayoutName=big_icons
TouchBorderActivate=9

[Windows]
BorderlessMaximizedWindows=true
Placement=Centered

[org.kde.kdecoration2]
BorderSize=Tiny
BorderSizeAuto=false
ButtonsOnLeft=XAI
ButtonsOnRight=
library=org.kde.kwin.aurorae
theme=__aurorae__svg__Arc-Dark
Comment 3 Domenico Panella 2020-06-29 13:31:26 UTC
after i have decrease animation speed, the magic lamp effect is the same.
Comment 4 Domenico Panella 2020-07-05 10:37:37 UTC
I go on magic lamp effect and i set the animation duration and it work correctly.
Before plasma update, this behaviour was gettable also setting animation speed in desktop behaviour.
Now , i don't know if this is a bug or a simple change desktop effect management . If so, this bug can be close.
Comment 5 David Edmundson 2020-07-05 15:13:59 UTC
reopening
Comment 6 David Edmundson 2020-07-05 15:18:54 UTC
in kwinrc

[KDE]
AnimationDurationFactor=0.25


That shouldn't exist in this file.
It's kwin overriding the global setting; so obviously it won't follow it.

As a fix, just delete that line from that file.

Question then is why that exists. The compositor KCM does still write if it's run outside the KDE environment. Or potentially the user manually figured with it.

Do you remember altering that file?
Comment 7 Domenico Panella 2020-07-05 15:58:04 UTC
I'm sure , i didn't touch that file
Comment 8 David Edmundson 2020-07-06 09:28:25 UTC
Ok, I'll keep an eye out for other reports.

In the meantime can you remove those lines, confirm it fixes the issue and let me know if you have any other details reproducing it.
Comment 9 Domenico Panella 2020-07-06 09:47:01 UTC
Now, it works well.
I can increase and decrease animation speed perfectly.
Thanks
Comment 10 Patrick Silva 2020-07-16 22:10:39 UTC
I had the same issue on Arch Linux running Plasma 5.19.3.
Deleting the lines

[KDE]
AnimationDurationFactor=0.25

from kwinrc file fixed it for me too.

I also have never edited kwinrc file manually.

Another user mentioned this issue on reddit 2 days ago.
https://www.reddit.com/r/kde/comments/hr052j/kde_neon_animation_speed_bug/
Comment 11 Christoph Feck 2020-07-21 08:27:01 UTC
David, is the faulty entry in kwinrc a kwin bug, or does some plasma framework component write there, too?
Comment 12 David Edmundson 2020-07-21 08:35:06 UTC
>is the faulty entry in kwinrc a kwin bug

Only kwin would write there.

There is a path that does it, but that's only used if kwin is used outside of plasma and the display settings KCM is opened.  I kept the option there as those users wouldn't have the desktop settings KCM. I can't see how any user could normally hit it.
Comment 13 Bug Janitor Service 2020-08-05 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Domenico Panella 2020-08-05 08:21:29 UTC
Solved by deleting  the following line in kwinrc

[KDE]
AnimationDurationFactor=0.25
Comment 15 Gauthier 2020-11-28 22:05:37 UTC
Bug is still (In reply to David Edmundson from comment #12)
> >is the faulty entry in kwinrc a kwin bug
> 
> Only kwin would write there.
> 
> There is a path that does it, but that's only used if kwin is used outside
> of plasma and the display settings KCM is opened.  I kept the option there
> as those users wouldn't have the desktop settings KCM. I can't see how any
> user could normally hit it.

Hi David,

Just so you know this bug may seem to be here. Animation speed did change using kcm and I also had the line:

[KDE]
AnimationDurationFactor=0.5

in ~/.confg/kwnrc, and I didn't make any manual change to the file.


Operating System: KDE neon 5.20
KDE Plasma Version: 5.20.3
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.1
Kernel Version: 5.4.0-54-generic
OS Type: 64-bit
Processors: 8 × Intel® Core™ i5-8350U CPU @ 1.70GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 16 Mateus Mercer 2021-03-29 02:31:00 UTC
Today my ~/.config/kwinrc file had the 0.5 animation speed written to it.

One thing that I did differently from other users is that I stopped the plasma desktop with logout to restart it.

Maybe for some reason this was the root cause.

I had to delete the 0.5 animation speed line from my ~/.config/kwinrc file to make it back to normal.

My system:

KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
QT Version: 5.15.2
kwin Version: 5.21.3
distro: Arch Linux
Comment 17 Donovan Zimmerman 2021-04-28 04:05:59 UTC
Which version is this fixed in?

I had the same thing happen to me today with kwin_x11 and was perplexed why only some animations were affected by the slider [KCM -> Workspace -> Workspace Behavior -> General Behavior -> Animation speed], whereas others were not. See examples below.

Animation speed slider affects:
 - Kickstart menu animations
 - Dock/panel animations

Animation speed slider does not affect:
 - Any effect enabled under the [Desktop Effects] KCM


As suggested in other replies, I removed the AnimationDurationFactor=0.25 property-value pair from under the KDE section in ~/.config/kwinrc and the animation speed slider once affects everything as expected.


Manjaro Linux
KDE Plasma 5.21.4
KDE Frameworks 5.81.0
Qt 5.15.2
kwin_x11 5.21.4