GNOME Bugzilla – Bug 160503
changing through games 1-6 does not change board
Last modified: 2004-12-22 21:47:04 UTC
[ forwarded from http://bugs.debian.org/280663 ] Select Game/Novice/1. Okay it appears. Now select game 2: the board stays exactly the same! Same for 3, 4, 5, 6. Only when 7 is selected does a new layout appear. If you select Game/Novice/1, then go to any game on the Game/Medium menu and then go to Game/Novice/2 then the right layout is displayed! The above is just one of the many ways the board can be made to not do the right thing. There are many others!
Strange but true... while the relevant areas were completely replaced in gnome- games-2.9 and beyond, this does affect 2.6 (downstream bug) and 2.8, possibly more. At issue is the fact that redraw_all is only called from the configure event cb, and in modern Gtk+, there's no configure event if a request to resize the window doesn't actually result in a size change. Just guessing, but this probably wasn't always the case....
Created attachment 34784 [details] [review] Fix for gnotski levels 1-6 on gnome-games-2.8 This bug is probably 18 months old, when gtk_widget_set_size_request on the drawing area was used to replace a deprecated function.
Patch applied on the 2.8 branch. If it was during the last deprecated code removal binge, then it was my fault.