Summary: Initial state of chatline toolbar is wrong
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Sun Jul 29 11:55:24 2012
                Category: client-gtk-3.0
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: S2_4 r21637
         Discussion Lock: Any
        Operating System: GNU/Linux
         Planned Release: 2.4.0,2.5.0



The "Chat tools" button starts in the deactivated state (popped out), but the
toolbar (bold, strikethrough, etc) is nevertheless shown. (In the Gtk2 client
it's initially hidden.)
The first time the tools button is pressed, nothing happens other than that
the button goes in.
After that it behaves as designed.

I haven't spotted an obvious mistake in chatline.c. I'm not sure what sets the
initial hidden state in gtk2 -- probably the set_toolbar_visibility() callback
connected to "expose-event". In gtk3 this is connected to "map"; perhaps that
makes things happen in the wrong order?


Reply to this item at:


  Message sent via/by Gna!

Freeciv-dev mailing list

Reply via email to