URL:
  <http://gna.org/bugs/?23540>

                 Summary: /obs <player> crashes
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 26 Apr 2015 07:54:57 PM EEST
                Category: client-sdl2
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: In Progress
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

Switching to player-observer mode crashes sdl2-client (I'm not yet sure about
sdl-client). Also the "/take <another player>" crashes a bit similar way, but
I'm not yet sure if it has the same root causes or not.

The problem is in that while disconnecting from the player, set_client_state()
calls popdown_all_game_dialogs(), closing also the message window.
The message window is never reopened, so it crashes by the time there's an
attempt to print a new message to it.

In addition to these crashes, there's some usability issues in sdl2-client
version of /obs and /take in that they do not /aitoggle players, and the
'options' menu button is not reopened in the new server connection (however, I
got the menu button back by switching to global observer)




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?23540>

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


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to