[Freeciv-Dev] [bug #16311] ./civ -a fails to prompt for password

2010-10-05 Thread anonymous

Follow-up Comment #10, bug #16311 (project freeciv):

If autoconnect is used without a network connection freeciv fails to start.

The error in stderror.txt is  Failed looking up host.

It would be better if freeciv displayed this error message on the status bar

___

Reply to this item at:

  http://gna.org/bugs/?16311

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16311] ./civ -a fails to prompt for password

2010-08-09 Thread pepeto

Update of bug #16311 (project freeciv):

  Status:  Ready For Test = Fixed  
 Open/Closed:Open = Closed 


___

Reply to this item at:

  http://gna.org/bugs/?16311

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16311] ./civ -a fails to prompt for password

2010-08-07 Thread pepeto

Update of bug #16311 (project freeciv):

  Status:   Confirmed = Ready For Test 
 Assigned to:None = pepeto 

___

Follow-up Comment #7:

This patch should content all.


(file #9734)
___

Additional Item Attachment:

File name: trunk_S2_2_autoconnect_password.diff Size:3 KB


___

Reply to this item at:

  http://gna.org/bugs/?16311

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16311] ./civ -a fails to prompt for password

2010-08-06 Thread George Koehler

Follow-up Comment #6, bug #16311 (project freeciv):

I wrongly fixed it. We must reject my patch (file #9708) because it adds a
bug where the password prompt fails to grab focus when _not_ autoconnecting.

___

Reply to this item at:

  http://gna.org/bugs/?16311

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16311] ./civ -a fails to prompt for password

2010-08-05 Thread George Koehler

Follow-up Comment #5, bug #16311 (project freeciv):

I thank pepeto for mentioning g_idle_add().

Because g_idle_add() delays set_client_page(PAGE_NETWORK), Freeciv sets
NEW_PASSWORD_TYPE or ENTER_PASSWORD_TYPE *before* entering the network page.
The problem is that set_client_page(PAGE_NETWORK) assumes that we want
LOGIN_TYPE.

Here is my patch for S2_2. The idea is to *always* set_connection_type() to
LOGIN_TYPE, NEW_PASSWORD_TYPE or ENTER_PASSWORD_TYPE before doing
set_client_page(PAGE_NETWORK).

The patch fixes the bug for me, but I only tested a few situations:

0 Starting client with no arguments, then clicking Connect to Network
Game.
0 Autoconnecting to server that wants new password.
0 Autoconnecting to server that wants existing password.

(file #9708)
___

Additional Item Attachment:

File name: p22-autoconnect-password.diff  Size:4 KB


___

Reply to this item at:

  http://gna.org/bugs/?16311

___
  Message sent via/by Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16311] ./civ -a fails to prompt for password

2010-07-31 Thread pepeto

Follow-up Comment #2, bug #16311 (project freeciv):

I remember someone has already fixed a such bug in Freeciv or Warclient, but
I failed to find it out.


___

Reply to this item at:

  http://gna.org/bugs/?16311

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16311] ./civ -a fails to prompt for password

2010-07-31 Thread pepeto

Follow-up Comment #3, bug #16311 (project freeciv):

References :
RT#38354 (jdorje)
revisions 14849 (S2_0), 14850 (trunk), 14851(S2_1).


___

Reply to this item at:

  http://gna.org/bugs/?16311

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


[Freeciv-Dev] [bug #16311] ./civ -a fails to prompt for password

2010-07-31 Thread pepeto

Follow-up Comment #4, bug #16311 (project freeciv):

The problem is that the page change is delayed and reset the password entry
before we can see it (due to the usage of _g_idle_add()_)...


___

Reply to this item at:

  http://gna.org/bugs/?16311

___
  Message posté via/par Gna!
  http://gna.org/


___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev