[Kde-games-devel] Kapman crashes

Thomas Gallinari tg8187 at yahoo.fr
Mon Feb 23 16:18:46 CET 2009


Hi Mauricio,

You were right, this new version of Qt revealed a bug that was not visible  
(but I don't know why !): level and lives labels did not have the right  
location.
However, other bugs are still there:
- Score, level and lives labels do not appear on new game, but only when  
the game starts
- Animations with the retro theme are very bad!

I still don't know how to fix these bugs, but for now I have fixed the  
label positions on the view, so that they are not on the maze but below,  
as they are supposed to. This is a temporary fix but quite important since  
it avoid the game crashing!

Should I commit this fix? On the trunk? On the branch? Should I temporary  
remove the retro theme since it is not fully supported?

Regards.


Le Thu, 19 Feb 2009 03:37:56 +0100, Mauricio Piacentini  
<piacentini at kde.org> a écrit:

> Thomas Gallinari wrote:
>> Hi all,
>>
>> I received many bug reports concerning Kapman since the upgrade to  
>> Qt4.5-rc1. I don't understand why the compatibility is broken for that  
>> game while the others seem to be all right.
>>
>> The problem looks simple, there is a cast error when the character  
>> collides with the score label, which provokes a crash. The question is:  
>> why labels appear on the maze?? Why does the upgrade to QT 4.5-rc1  
>> imply such a behaviour on Kapman?? How could I correct that and be sure  
>> it will be ok for a next version of Qt?
>
> Hi, Thomas. I do not have an answer to your question, but I can verify
> the the game is broken when it is built against 4.4, and ran against
> Qt4.5rc1. I then recompiled it against 4.5rc1 from qt-copy, and the
> problem still occurs.
> I can also see that labels are misplaced when the game is executed under
> 4.5rc1: they appear inside the game area, and previously they were
> appearing below the maze. So maybe the bug was there even in 4.4, but it
> was not visible as it was not possible to make the hero collide with the
> labels?
> In any way, it seems like something changed maybe in QGV, so it would be
> nice if we could identify the exact issue. I am cc'ing kde-devel as
> there are more developers capable of giving us advice there. The bug
> (including backtraces) is filled as
>
> http://bugs.kde.org/show_bug.cgi?id=184350
>
> Regards,
> Mauricio Piacentini
> _______________________________________________
> kde-games-devel mailing list
> kde-games-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-games-devel



-- 
Thomas Gallinari



More information about the kde-games-devel mailing list