Bug 376609 - Glide effect not activated at startup
Summary: Glide effect not activated at startup
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.9.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://phabricator.kde.org/D5225
Keywords: regression
: 376368 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-02-18 12:59 UTC by Janek Bevendorff
Modified: 2017-03-31 05:42 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.9.5
Sentry Crash Report:
mgraesslin: ReviewRequest+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Janek Bevendorff 2017-02-18 12:59:17 UTC
Since the last update, the Glide effect isn't activated at startup anymore.
When I restart the system, windows just appear and disappear instantly without any animation.
Most of the time I can fix it by going to the effects settings and turning the effect off and on again (no joke intended).

Using Plasma 5.9.0 on Arch Linux with official Nvidia driver (375.26)

KWin Support Information:
The following information should be used when requesting support on e.g. http://forum.kde.org.
It provides information about the currently running instance, which options are used,
what OpenGL driver and which effects are running.
Please post the information provided underneath this introductory text to a paste bin service
like http://paste.kde.org instead of pasting into support threads.

==========================

Version
=======
KWin version: 5.9.0
Qt Version: 5.8.0
Qt compile version: 5.8.0
XCB compile version: 1.12

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11901000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 9
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 10
font: Noto Sans,10,-1,5,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 30
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 30
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777251
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 1
glSmoothScale: 1
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: true
glPreferBufferSwap: 99
glPlatformInterface: 1
windowsBlockCompositing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
reActivateThreshold: 350
actionTopLeft: 1
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 2

Screen 0:
---------
Name: DVI-I-1
Geometry: 0,0,2560x1440
Refresh Rate: 59.9506

Screen 1:
---------
Name: DVI-D-0
Geometry: 2560,0,2560x1440
Refresh Rate: 59.9506


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce GTX 960/PCIe/SSE2
OpenGL version string: 3.1.0 NVIDIA 375.26
OpenGL platform interface: GLX
OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 375.26
GPU class: Unknown
OpenGL version: 3.1
GLSL version: 1.40
X server version: 1.19.1
Linux kernel version: 4.9.6
Direct rendering: Requires strict binding: no
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  yes

Loaded Effects:
---------------
zoom
dimscreen
slidingpopups
kwin4_effect_login
wobblywindows
glide
slide
screenshot
magiclamp
kwin4_effect_windowaperture
desktopgrid
kwin4_effect_translucency
colorpicker
kwin4_effect_morphingpopups
kwin4_effect_fade
kwin4_effect_maximize
presentwindows
kwin4_effect_dialogparent
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
blur
contrast

Effect Settings:
----------------
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

dimscreen:

slidingpopups:
fadeInTime: 150
fadeOutTime: 250

kwin4_effect_login:

wobblywindows:
stiffness: 0.15
drag: 0.55
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveEffectEnabled: true
openEffectEnabled: false
closeEffectEnabled: false
moveWobble: true
resizeWobble: true

glide:
duration: 350
effect: 0
angle: 1

slide:

screenshot:

magiclamp:
animationDuration: 250

kwin4_effect_windowaperture:

desktopgrid:
zoomDuration: 300
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

kwin4_effect_translucency:

colorpicker:

kwin4_effect_morphingpopups:

kwin4_effect_fade:

kwin4_effect_maximize:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 150
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

kwin4_effect_dialogparent:

highlightwindow:

blur:
blurRadius: 12
cacheTexture: true

contrast:

startupfeedback:
type: 0

screenedge:

kscreen:
Comment 1 Víctor 2017-03-04 20:58:19 UTC
Same issue for me.

Chakra OS on AMD graphics card with privative drivers. 

"Most of the time I can fix it by going to the effects settings and turning the effect off and on again (no joke intended)."
Comment 2 Vova Mshanetskiy 2017-03-17 15:10:54 UTC
Same issue on OpenSUSE Tumbleweed. I have also been able to reproduce it on KDE neon live CD (neon-useredition-20170309-1018-amd64.iso). Here are steps to reproduce:

1. Boot up the live CD
2. Start System settings and go to Desktop behavior > Effects
3. Disable Fade and enable Glide, then click Apply
4. Start Dolphin; notice that window opening animation works
5. Close all windows and log out, then log in again
6. Start Dolphin; notice there is no window opening animation

As others say, the effect can be restored by disabling it, clicking Apply, enabling it and clicking Apply again.

It looks like the following bug report is about the same issue:

https://bugs.kde.org/show_bug.cgi?id=376368
Comment 3 Martin Flöser 2017-03-28 05:16:39 UTC
*** Bug 376368 has been marked as a duplicate of this bug. ***
Comment 4 Martin Flöser 2017-03-28 15:53:32 UTC
Finally figured out the root problem of this issue. It was a misbehavior in the sliding popups effect. Addressed in https://phabricator.kde.org/D5225
Comment 5 Martin Flöser 2017-03-31 05:42:42 UTC
Git commit 49fc31059433fe495090b8987e07043b4e3d893d by Martin Gräßlin.
Committed on 31/03/2017 at 05:42.
Pushed by graesslin into branch 'Plasma/5.9'.

[slidingpopups] Only remove WindowClosedGrabRole if the effect owns the grab

Summary:
The effect unset the WindowClosedGrabRole unconditionally if it does not
manage the window. This results in any grab set by other effects to break.
FIXED-IN: 5.9.5

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D5225

M  +3    -1    effects/slidingpopups/slidingpopups.cpp

https://commits.kde.org/kwin/49fc31059433fe495090b8987e07043b4e3d893d