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

                 Summary: "More units" button background doesn't match
surroundings
                 Project: Freeciv
            Submitted by: jtn
            Submitted on: Sat 02 May 2015 18:09:53 BST
                Category: client-gtk-2.0
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: In Progress
             Assigned to: jtn
        Originator Email: 
             Open/Closed: Open
                 Release: 2.4.4, 2.5.0
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 2.4.5, 2.5.1, 2.6.0, 3.0.0

    _______________________________________________________

Details:

The Gtk docs
<https://developer.gnome.org/gtk2/stable/GtkEventBox.html#gtk-event-box-set-visible-window>
note that event boxes can cause theming problems: "You should generally make
your event box invisible if you just want to trap events. Creating a visible
window may cause artifacts that are visible to the user, especially if the
user is using a theme with gradients or pixmaps."

Indeed, I've noticed this with the "more units" arrow in the main map view.
Adding gtk_event_box_set_visible_window(FALSE) makes it go away.

There are probably many more opportunities for this. The Gtk3 client already
seems to have them, so that might give some ideas for places to backport them
to Gtk2.




    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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