Bug 398609 - New "Scale" effect and "Slide" effect do the same thing
Summary: New "Scale" effect and "Slide" effect do the same thing
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: effects-various (show other bugs)
Version: 5.13.90
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-14 09:13 UTC by tromzy
Modified: 2018-09-14 15:54 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
KCM of the Glide effect (49.01 KB, image/png)
2018-09-14 09:21 UTC, Vlad Zahorodnii
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tromzy 2018-09-14 09:13:01 UTC
I'm trying the new Plasma 5.14 beta and I like the new Scale effect for opening and closing windows ; but I noticed that enabling the "Slide" effect (not sure about the name, I use Plasma in french where it's called "Glisser") does the exact same Kwin effect.

I'm on Wayland ; archlinux, Frameworks 5.50.

qdbus org.kde.KWin /KWin supportInformation                               11:12:36 
Informations de gestion de KWin :
Les informations suivantes doivent être utilisées lorsqu'une demande d'aide est effectuée sur « http://forum.kde.org ».
Il s'agit de fournir des informations complémentaires sur l'instance actuellement lancée, les options utilisées, le pilote OpenGL et les effets actifs.
Veuillez poster le texte d'introduction ci-dessous grâce à un service de « copier / coller » tel que « http://paste.kde.org » au lieu de coller cela directement dans le fil de discussion de la demande d'aide.

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

Version
=======
KWin version: 5.13.90
Qt Version: 5.11.1
Qt compile version: 5.11.1
XCB compile version: 1.13

Operation Mode: Xwayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: 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: 12001000
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.sierrabreeze
Theme: 
Blur: 1
onAllDesktopsAvailable: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 0
gridUnit: 10
font: IBM Plex Sans,10,-1,5,57,0,0,0,0,0,Medium
smallSpacing: 2
largeSpacing: 10

Platform
==========
Name: DRM
Active: true
Atomic Mode Setting: true

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: 0
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: false
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 101
glPlatformInterface: 2
windowsBlockCompositing: false

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 0
reActivateThreshold: 300
actionTopLeft: 0
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: KYK75156BGE eDP-1-inconnu
Geometry: 1920,312,1366x768
Scale: 1
Refresh Rate: 60.003

Screen 1:
---------
Name: DEL HDMI-A-1-DELL E2210H/D553R99L066S
Geometry: 0,0,1920x1080
Scale: 1
Refresh Rate: 60


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile 
OpenGL version string: 3.0 Mesa 18.3.0-devel (git-d4bf954fe6)
OpenGL platform interface: EGL
OpenGL shading language version string: 1.30
Driver: Intel
GPU class: Haswell
OpenGL version: 3.0
GLSL version: 1.30
Mesa version: 18.3
Linux kernel version: 4.18.7
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:  no

Loaded Effects:
---------------
kwin4_effect_morphingpopups
kwin4_effect_logout
kwin4_effect_login
kwin4_effect_windowaperture
dimscreen
kwin4_effect_dialogparent
kwin4_effect_frozenapp
kwin4_effect_maximize
slidingpopups
scale
slideback
slide
screenshot
magiclamp
flipswitch
desktopgrid
coverswitch
colorpicker
presentwindows
highlightwindow
blur
contrast
startupfeedback
screenedge
kscreen

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

Effect Settings:
----------------
kwin4_effect_morphingpopups:

kwin4_effect_logout:

kwin4_effect_login:

kwin4_effect_windowaperture:

dimscreen:

kwin4_effect_dialogparent:

kwin4_effect_frozenapp:

kwin4_effect_maximize:

slidingpopups:
slideInDuration: 150
slideOutDuration: 250

scale:
duration: 160
inScale: 0.96
inOpacity: 0.4
outScale: 0.96
outOpacity: 0

slideback:

slide:
duration: 500
horizontalGap: 45
verticalGap: 20
slideDocks: false
slideBackground: true

screenshot:

magiclamp:

flipswitch:
tabBox: false
tabBoxAlternative: false
duration: 200
angle: 30
xPosition: 0.33000001311302185
yPosition: 1
windowTitle: true

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

coverswitch:
animationDuration: 200
animateSwitch: true
animateStart: true
animateStop: true
reflection: true
windowTitle: true
zPosition: 900
primaryTabBox: true
secondaryTabBox: false

colorpicker:

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

highlightwindow:

blur:

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 1 Vlad Zahorodnii 2018-09-14 09:21:59 UTC
Created attachment 114949 [details]
KCM of the Glide effect

Does KCM of the "Glisser" effect look something like the one on the attached screenshot?
Comment 2 Vlad Zahorodnii 2018-09-14 09:37:15 UTC
... if so, do you have the scale and the glide effect enabled both at the same time?
Comment 3 tromzy 2018-09-14 10:15:29 UTC
Yes, this is the configuration popup. So, "Glisser" is "Glide".

And no, I did not enable both effects at the same time, I did it alternatively to compare them (and see they are the same).
Comment 4 Vlad Zahorodnii 2018-09-14 10:20:41 UTC
(In reply to tromzy from comment #3)
> Yes, this is the configuration popup. So, "Glisser" is "Glide".
> 
> And no, I did not enable both effects at the same time, I did it
> alternatively to compare them (and see they are the same).

Okay, good. Can you please try to set the animation speed to very slow (go to System Settings > Display and Monitor > Compositor) and test whether there is a difference between the scale and the glide effect?
Comment 5 Vlad Zahorodnii 2018-09-14 15:54:01 UTC
I just tried the KDE Neon Unstable.

After using the Glide effect for really long time, the Scale effect looked alike for some short amount of time, then I started noticing differences. Probably, my mind(or eyes) played tricks with me.

Anyway, the Glide and the Scale effect are totally different effects. I suggest you to pay close attention to side borders when a window is being animated (with the glide effect, they will be tilted).

Another potential reason why they seem to be very similar is the fact that they are very subtle and in both cases, size of the animated window "grows"(with the glide effect, window moves towards user; with the scale effect, window is scaled). I don't think that the subtlety will be ever changed, otherwise those effects will be distracting in long term. (but you can always change defaults and make them more noticeable :-) )

Thus, I mark this bug report as RESOLVED.

Thank you for testing effects.