After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 766144 - Tile minimum size too big
Tile minimum size too big
Status: RESOLVED FIXED
Product: gnome-mines
Classification: Applications
Component: general
3.18.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-mines-maint
gnome-mines-maint
Depends on:
Blocks:
 
 
Reported: 2016-05-08 17:04 UTC by Yuri Khan
Modified: 2016-06-13 07:50 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Yuri Khan 2016-05-08 17:04:58 UTC
To reproduce:

1. Start a new Custom game.
2. Enter Width: 64, Height: 40.
3. Click “Play Game”.

Expected behavior: play field fits on a 24″ screen without scrolling.

Observed behavior: scroll bars appear. The maximum I can fit without scrolling is 57×33.

(My current monitor diagonal is twice the size of monitors of 20 years ago. And we had 24 lines of text with 40 columns per line back then. No reason we shouldn’t be able to fit at least 80×48 today.)

(Also, the status/button panel on the right takes way too much precious screen space, reducing space available for the play field. Subjectively, before the GNOME 3 conversion, it feels the menu and toolbar combined took less space.)
Comment 1 Robert Roth 2016-06-12 18:47:19 UTC
Ok, I have reduced the minimum tile size from 30 to 20, 64x40 board fits on a fullhd 24 inch screen now, numbers on tiles look ok. I would appreciate if you could check the current master and comment on any other issues you might find (except Mines being awfully slow on a 64*40 board, I know about it, and will try to do something about that, something - probably gtk - does not seem to handle 64*40=2560 buttons on the screen).

This problem has been fixed in the unstable development version. The fix will be available in the next major software release. You may need to upgrade your Linux distribution to obtain that newer version.
Comment 2 Yuri Khan 2016-06-13 07:33:04 UTC
Sorry, I don’t have a development environment with GTK+ 3.20 handy so cannot test the complete current master.

Backporting the two commits, “Disable size accels on the custom game screen (bgo#766145)” and “Minimum tile size set to 20 instead of 30 for huge boards (bgo#766144).” onto gnome-mines-3.18.2 does indeed fix those two issues for me.
Comment 3 Robert Roth 2016-06-13 07:50:19 UTC
(In reply to Yuri Khan from comment #2)
> Sorry, I don’t have a development environment with GTK+ 3.20 handy so cannot
> test the complete current master.
> 
> Backporting the two commits, “Disable size accels on the custom game screen
> (bgo#766145)” and “Minimum tile size set to 20 instead of 30 for huge boards
> (bgo#766144).” onto gnome-mines-3.18.2 does indeed fix those two issues for
> me.

That's good to hear, I'm also testing on GTK 3.18.x for now, did not update to F24 yet :)