Bug #722184

Gtk3 client city window can't fit on the screen (experimental ruleset)

Added by Alexandro Ignatiev almost 2 years ago. Updated over 1 year ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:


Just run a game with hexemplio tileset on a small monitor (I have 1366x768). You can't access lower part of the city management window, with all its buttons and bookmarks. And the window can't become lower than (map height+2*unit list height+...), and can't be even moved upper than top-to-top of the main window. It makes important features like city manager inaccessible, so it's a serious bug. Please make the mini-map and/or the whole window compressible to a smaller window with scrollbars (and maybe show less black space on the mini-map?).

cut_city_wnd.png (359 KB) cut_city_wnd.png Alexandro Ignatiev, 2017-12-30 10:04 PM
radius-100b.png (699 KB) radius-100b.png frank e, 2018-01-03 10:23 PM


#1 Updated by Jacob Nevins almost 2 years ago

What ruleset are you playing? I guess something like 'experimental', which has variable city radius? The city dialog map size is based on (an estimate of) the maximum city radius, so for regular rulesets it is much smaller and less of a problem on small screens.

There is an alternative city dialog layout for small screens (low_citydlg in the code), which kicks in when the client thinks the screen is less than 500 pixels high (so not for you). It puts the city map on its own tab. The only way of getting at this mode is to override its notion of screen size with something like freeciv-gtk3 [other-arguments] -- --resolution 1366x499.

I wonder if we should tie low_citydlg into the existing option 'Arrange widgets for small displays', so that it is easier to get at.

#2 Updated by frank e almost 2 years ago

For giggles an attached city size 100 radius screenshot. I can't tell if that still works in a city popup, because it's a victory condition. My client window is roughly 1460x850, and a recent freeciv-client-rc-2.6 mumbles something about gui_gtk3_22_citydlg_xsize=770 and gui_gtk3_22_citydlg_ysize=512.

#3 Updated by Marko Lindqvist almost 2 years ago

Are you sure this is gtk3-client and not gtk2-client? Theming looks like gtk2-client and this problem sounds like something that gtk2-client would have.

#4 Updated by Alexandro Ignatiev almost 2 years ago

If you address me, then yes, it was 2.6beta1+ with freeciv-gtk3 client. Yes, the ruleset was experimental (for yet another giggles, it's a turn before cultural victory which was achieved by building several libraries at like second or third turn after building my (and global) first caravel).

#5 Updated by Jacob Nevins over 1 year ago

  • Target version deleted (2.6.0)

#6 Updated by Jacob Nevins over 1 year ago

  • Subject changed from Gtk3 client city window can't fit on the screen to Gtk3 client city window can't fit on the screen (experimental ruleset)

Also available in: Atom PDF