[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-games-devel
Subject:    Re: [Kde-games-devel] Extra resize events from KXmlGuiWindow
From:       Luciano Montanaro <mikelima () cirulla ! net>
Date:       2009-03-24 22:10:47
Message-ID: 200903242310.53821.mikelima () cirulla ! net
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On martedì 24 marzo 2009, Parker Coates wrote:

>
> I also should have mentioned your KGoldrunner solution. While it's
> quite clever and works well in KGr, it is definitely a workaround and
> doesn't apply as cleanly to all apps.
>
> > It also describes the various behaviors of KXMlGuiWindow with respect
> > to resize events and AFAIK still represents the state of play in KXmlGW.
>
> I would agree. Out of interest's sake, I will point out that it seems
> there have been changes since pre 4.0. KPat contains some code to mask
> the extra resize events that was added during the conversion to Qt4.
> Apparently it worked at the time, but it doesn't anymore. By the way,
> KPat is the app where this problem is currently most noticeable. It
> animates on resize, so when the game is fired up, the first thing you
> see is all of cards bunching together as a result of the extra resize.
>
> Parker

Actually, I think it's a general problem with Qt applications, it's not just 
games that show the problem, althought for games it is more severe, since the 
SVG background rendering is expensive.

I spotted the multiple resizes in konsole and Konqueror, at least.

Maybe it's not noticeable with composite on and accelerated graphics; but it 
could be that a general solution to this problem could make application 
startup feel quite a bit snappier. Maybe it won't save seconds, but even 
tenths of a second could be noticed.


Luciano

- -- 
Luciano Montanaro //
                \X/ mikelima@cirulla.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAknJWmgACgkQaeOY6B53J4U5kwCgt5My5uPzSa0if4x/FAg+jkfj
rUsAoLj8aWLRJl3ObgiiTrm/5RozGFho
=org0
-----END PGP SIGNATURE-----
_______________________________________________
kde-games-devel mailing list
kde-games-devel@kde.org
https://mail.kde.org/mailman/listinfo/kde-games-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic