1 (edited by azmeuk 2009-01-12 19:24:46)

Topic: Strange GUI bug on 0.5.0

Hello world
I've installed the latest version of teeworlds using svn and I have noticed a strange bug.
First I give you my configuration : I'm running Ubuntu 8.10 (with compiz) on a Dell Latitude E6500. My screen resolution is 1440*900 and Teeworlds 0.4.3 runs perfectly.
Now if I run the game trough a console, the mouse isn't "captured" by the game. So I can see the Gnome white cursor moving, but not the teeworlds one. But if I run the game by double-clicking on the icon, this is working properly. Note that if the game isn't on 1440*900 resolution, both work.
That's all smile

edit : In fact it seems that it is done randomly, even using the icon.
edit² : Right or left click are captured by the game, but doesn't solve the problem
edit³ : tonight I test on another pc...

Play ctf_fall if you dare!

2

Re: Strange GUI bug on 0.5.0

Similar bug using Windows: Sometimes the windows cursor is showing, but the Teeworlds cursor as well just on another position. Clicking the left mousebutton one time fixes this bug: Windows cursor gone, Teeworlds cursor acts like normal.

bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future

3

Re: Strange GUI bug on 0.5.0

shmafoozius wrote:

Similar bug using Windows: Sometimes the windows cursor is showing, but the Teeworlds cursor as well just on another position. Clicking the left mousebutton one time fixes this bug: Windows cursor gone, Teeworlds cursor acts like normal.

This is as it should be. Opening console or switching window sets the mouse input to absolute, no error there.

4 (edited by D3xter 2009-01-13 14:07:48)

Re: Strange GUI bug on 0.5.0

I'd say, the teeworlds-cursor should be hidden, if teeworlds looses focus and capture the cursor, if it gains focus or the user clicked into the window.


Dexter

5

Re: Strange GUI bug on 0.5.0

I've tried on two others pc running Ubuntu 8.10 and the bug still appears randomly. Compiz effects are enabled on all this computers, and they all have a nVidia GPU... (6800  and 9600).

Play ctf_fall if you dare!

6

Re: Strange GUI bug on 0.5.0

If I disable compiz, it works every time. That's so annoying ! However it worked perfectly on the previous version... Did the devs test the game on an equivalent configuration?
If you don't fix this bug, could you at least configure the "Escape" touch to make the game quit when we are on the GUI ? Because, as the mouse doesn't work once on ten, I have to press F1 and type "quit" every time... A fatser way to relaunch the game would be nice smile

Play ctf_fall if you dare!

7

Re: Strange GUI bug on 0.5.0

Just press ctrl+shift+q to quit.

bam: WARNING:'src/game/server/gamemodes/mod.cpp' comes from the future

8

Re: Strange GUI bug on 0.5.0

Erf. Thanks smile

Play ctf_fall if you dare!