GNOME Bugzilla – Bug 766145
Cannot enter custom size
Last modified: 2016-06-14 06:48:51 UTC
To reproduce: 1. Start a new game. 2. Click the Custom difficulty. 3. Focus the Height input box and try to enter the value 33 from the keyboard. Expected behavior: the Height input box value is set to 33. Observed behavior: a 30×16 game starts immediately when the digit 3 is pressed. I strongly suspect these lines of code (gnome-mines.vala:275–278 in current master): set_accels_for_action ("app.small-size", {"1"}); set_accels_for_action ("app.medium-size", {"2"}); set_accels_for_action ("app.large-size", {"3"}); set_accels_for_action ("app.custom-size", {"4"});
Robert, got time to look into this one?
Yes, indeed, the code Yuri has pointed out was the issue, I have disabled the accels everywhere except for the new game screen, where they were meant to be used, and it solves the problem. Sorry for the late answer, but better late then never, been quite busy with life lately :)
Thanks Robert. Next step, got time to do a new 3.20 release for this? I can if you're busy.
I can, and will do it tomorrow.
Ok, I have prepared and pushed a 3.20.1 release with updated translations and a fix for this issue. It's up to the distribution packagers now to pull the changes.