[Kde-games-devel] Saving overheads when resizing SVG
Ian Wadham
ianw2 at optusnet.com.au
Sat Jun 2 15:55:42 CEST 2007
On Sat, 2 Jun 2007 08:26 pm, Dmitry Suzdalev wrote:
> If you quit your app while it was in "maximize" state (i.e. you maximize it
> by hitting "Maximize" button on window header), then on the next startup Qt
> will generate ONE resizeEvent for which
> testAttribute(Qt::QA_PendingResizeEvent) will return true, indicating that
> further resize event will come next, but there isn't one. This leaves your
> app in an inconsistant state - it expected to get one more resizeEvent, but
> didn't get one :-).
>
> Note that this happens to me ONLY when I quit app while it is maximized.
> All other cases work perfectly as expected.
>
Both KGoldrunner and KJumpingCube get the usual 2 resize events if
you maximize, quit and re-run, however they seem to forget the maximize
and pre-maximize size completely and go back to small (default?) size.
It's nearly midnight here ... I'll look more closely tomorrow.
> P.S. Ian, thanks for new word in my 'known-English-words' list that I keep
> in my head :-). It's the word 'mug' :-). Also thank you for a bunch of
> smiles that touched my lips upon reading your yesterday's short reply to
> Mauricio :-).
>
I hope it was not *too* "short". I did not wish to be rude to Mauricio.
Cheers, Ian W.
More information about the kde-games-devel
mailing list