GNOME Bugzilla – Bug 759664
Buttonbox broken in chess promotion dialog
Last modified: 2015-12-20 22:04:56 UTC
The buttonbox in the GNOME chess promotion dialog is broken since acd339a9a55f46e098a1e638f866238b6d78daa1 "buttonbox: Convert to gadgets Set a css name and use a gadget for button box allocation and drawing."
have a screenshot ?
Created attachment 317681 [details] screenshot This screenshot only half-captures the issue. The two buttons actually extend outside the astoundingly-small window. The Queen and Bishop buttons (on the ends) have disappeared completely. Possibly-relevant warning: (gnome-chess:6475): Gtk-WARNING **: Content added to the action area of a dialog using header bars (gnome-chess:6475): Gtk-WARNING **: Content added to the action area of a dialog using header bars (gnome-chess:6475): Gtk-WARNING **: Content added to the action area of a dialog using header bars (gnome-chess:6475): Gtk-WARNING **: Content added to the action area of a dialog using header bars
Do you have a ui file for that dialog ? or how do I get it to show ?
(In reply to Matthias Clasen from comment #3) > Do you have a ui file for that dialog ? or how do I get it to show ? Open Chess, go to preferences, switch your opponent to be Human to make testing easy, start a new game so the settings take effect, move pawns across the board. Get a pawn to the final rank on the opposite side of the board and the dialog will appear. UI file: https://git.gnome.org/browse/gnome-chess/tree/data/promotion-type-selector.ui
This might be caused due to a recent upgrade to gtk 3.16: https://github.com/GNOME/gnome-chess/commit/f01ac8d15423accdca1c7f1cab79695ecc60db3c --- https://github.com/GNOME/gtk/blob/master/NEWS#L4865
Wops, Early comment there! Michael has already pointed out the commit in gtk in the bug description. :P
One way to work aoround this problem in the short term is to set the button box mode to expand.
Some fascinating misbehavior found along the way: https://mclasen.fedorapeople.org/bbng.webm