mnimize & magiclamp effects, infinite repaints

View: New views
1 Messages — Rating Filter:   Alert me  

mnimize & magiclamp effects, infinite repaints

by Bugzilla from thomas.luebking@web.de :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

related bug #184859

The window needs to be removed from the hash on windowDeleted(EffectWindow* c)
(what i can reproduce fore sure with kmail, notice that the fade effect
apparently shadows this incident)

Unfortunately i've patched both effects before in other regards (magiclamp
focusses to the pointer -i don't use a taskbar- and minimize to update the
hash during prepaintscreen (i guess to fix a similar issue - i forgot and i
use the magiclamp anyway...) what lead to a crash rather than a repaintloop in
this case =D

Nevertheless, the changes in magiclamp are unrelated to this issue and
+void MagicLampEffect::windowDeleted( EffectWindow* w )
+    {
+        mTimeLineWindows.remove( w );
+    }
fixes it for sure and prevent the crash (and therefore likely the repaint
issue) in the minimize effect....

I just cannot provide a clean patch/svn commit atm - sorry :-(

Thomas
_______________________________________________
kwin mailing list
kwin@...
https://mail.kde.org/mailman/listinfo/kwin