Bug 196900 - KWin slide back effect on restore window
Summary: KWin slide back effect on restore window
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compositing (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-17 19:18 UTC by Viesturs Zarins
Modified: 2009-10-04 21:24 UTC (History)
2 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 Viesturs Zarins 2009-06-17 19:18:42 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

The new "slide back" focus switching effect is great. But is has a bug.

Steps to reproduce:
* open two windows
* minimize both
* restore first - all OK
* restore second - the first one slides to side and back

Expected behavior:
* upon restoring a minimized window, the slide effect should not activate
Comment 1 Michael Zanetti 2009-07-06 13:13:50 UTC
SVN commit 992143 by mzanetti:

Don't activate SlideBack on unminimized Windows
BUG: 196900


 M  +22 -0     slideback.cpp  
 M  +2 -0      slideback.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=992143
Comment 2 Ruchir Brahmbhatt 2009-07-15 10:44:38 UTC
I can reproduce on 4.3 rc2(4.2.96). 

Steps:
1. Open evolution and pidgin.
2. Evolution stays in focus and pidgin in systray.
3. Click pidgin icon in systray which opens pidgin.
4. Now close pidgin(by clicking close button of window).

Expected result:
Slide effect should not activate.

Actual result:
Evolution window slides.

Additional information:
This doesn't happen if I close pidgin using alt+f4.
Comment 3 Michael Zanetti 2009-07-22 09:39:14 UTC
(In reply to comment #2)
> Steps:
> 1. Open evolution and pidgin.
> 2. Evolution stays in focus and pidgin in systray.
> 3. Click pidgin icon in systray which opens pidgin.
> 4. Now close pidgin(by clicking close button of window).

Sorry... Can't see this behaviour here. I've followed exactly your described steps. Perhaps there is some important information missing?
Comment 4 Ruchir Brahmbhatt 2009-07-22 09:57:01 UTC
May be the combination of effects causing this? my kwinrc is as below:

[$Version]                                                                                                                           
update_info=kwin_on_off.upd:kwin_on_off,kwin.upd:kde3.0r1,kwin.upd:kde3.2Xinerama,kwin_focus2.upd:kwin_focus2,kwin_focus1.upd:kwin_focus1,kwin3_plugin.upd:kde3.2                                                                                                                                                         

[Compositing]
AnimationSpeed=3
Backend=OpenGL  
DisableChecks=false
Enabled=true       
GLDirect=true      
GLMode=TFP         
GLTextureFilter=1  
GLVSync=false      
HiddenPreviews=6   
XRenderSmoothScale=false

[Desktops]
Name_1=   
Name_2=   
Name_3=   
Name_4=   
Number=4  

[Effect-PresentWindows]
TabBox=false           

[Plugins]
kwin4_effect_blurEnabled=false
kwin4_effect_boxswitchEnabled=false
kwin4_effect_coverswitchEnabled=true
kwin4_effect_cubeEnabled=false      
kwin4_effect_cubeslideEnabled=true  
kwin4_effect_desktopgridEnabled=true
kwin4_effect_dialogparentEnabled=true
kwin4_effect_diminactiveEnabled=false
kwin4_effect_dimscreenEnabled=true
kwin4_effect_explosionEnabled=false
kwin4_effect_fadeEnabled=true
kwin4_effect_fadedesktopEnabled=false
kwin4_effect_fallapartEnabled=false
kwin4_effect_flipswitchEnabled=false
kwin4_effect_highlightwindowEnabled=false
kwin4_effect_invertEnabled=false
kwin4_effect_loginEnabled=true
kwin4_effect_logoutEnabled=true
kwin4_effect_lookingglassEnabled=false
kwin4_effect_magiclampEnabled=false
kwin4_effect_magnifierEnabled=false
kwin4_effect_minimizeanimationEnabled=true
kwin4_effect_mousemarkEnabled=false
kwin4_effect_presentwindowsEnabled=true
kwin4_effect_scaleinEnabled=false
kwin4_effect_shadowEnabled=true
kwin4_effect_sharpenEnabled=false
kwin4_effect_sheetEnabled=true
kwin4_effect_showfpsEnabled=false
kwin4_effect_showpaintEnabled=false
kwin4_effect_slideEnabled=false
kwin4_effect_slidebackEnabled=true
kwin4_effect_snaphelperEnabled=false
kwin4_effect_snowEnabled=false
kwin4_effect_taskbarthumbnailEnabled=true
kwin4_effect_thumbnailasideEnabled=false
kwin4_effect_trackmouseEnabled=false
kwin4_effect_translucencyEnabled=true
kwin4_effect_wobblywindowsEnabled=false
kwin4_effect_zoomEnabled=true

[Style]
BorderSize=1
ButtonsOnLeft=MS
ButtonsOnRight=HIA__X
CustomButtonPositions=false
PluginLib=kwin3_ozone
ShowToolTips=true
Comment 5 Michael Zanetti 2009-10-04 21:24:12 UTC
SVN commit 1031353 by mzanetti:

dont trigger the effect if a window is closed and the focus falls
to a window other than the topwindow
BUG: 196900



 M  +1 -1      slideback.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1031353