Complete.Org: Mailing Lists: Archives: freeciv-dev: June 2006:
[Freeciv-Dev] Re: (PR#17741) Client does not handle input with timeout -
Home

[Freeciv-Dev] Re: (PR#17741) Client does not handle input with timeout -

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: andrearo@xxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#17741) Client does not handle input with timeout -1
From: "Jason Dorje Short" <jdorje@xxxxxxxxx>
Date: Thu, 8 Jun 2006 15:11:17 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=17741 >

Andreas Røsdal wrote:
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=17741 >
> 
> Hello!
> 
> When timeout is set to -1, the game no longer handles input from 
> keyboard or mouse, and is effectively frozen. The same problem occurs 
> when time timeout is set too low, so the phase where units are moved 
> around between turns takes longer than the timeout. I think that I have 
> also seen this when my players gets killed, and there is only AI players 
> remaining. The only solution to this is to kill the client and server.

That's not a bug, it is intentional.

> The game should be forgiving towards user-settings, and allow them to be 
> undone. Prioritize handling user-input over everything else. I started 
> making a patch, handling outstanding GTK events in gui_flush(), but it 
> reduced performance and framerates, so I have no suggested solution 
> right now.

Timeout -1 should have no effect if any clients are connected. 
Command-line input should maybe still be handled.

-jason





[Prev in Thread] Current Thread [Next in Thread]