qt client improvement city dlog
Can you attach a screenshot how it looks like in your system? For me the font is rather large. In fact, everything is a bit large in citydlg, meaning that you have to do annoyingly lot of scrolling of various areas to see all the information. On a 1920x1080 screen.
I think it uses the "default font". For me that is (from ~/.freeciv/freeciv-client-rc-3.2): gui_qt_font_default="Liberation Sans,15,-1,5,50,0,0,0,0,0"
Classic theme is worse with white text on grey background. My display is 1920x1200. Wonder if there's a difference between Mac and other platforms (this is on a Mac).
I tried changing the default font and it made no difference.
The Freeciv21 version from the longturn fork has a very different design of the city dialog, which I prefer. Still has the problem of the progress bar obscuring the text, but the text is more readable. Example screenshot attached.
Attached my own screenshot of the worklist area, which has quite different fonts.
Reply To ddeanbrown
I tried changing the default font and it made no difference.
Looking at the code, the font seems to be applied only when the setting *changes*. I don't see it set anywhere when starting the game up with existing settings -> if that's the case, it might explain this whole issue. In any case it's a bug in itself.
Reply To cazfi
Reply To ddeanbrown
I tried changing the default font and it made no difference.
Looking at the code, the font seems to be applied only when the setting *changes*. I don't see it set anywhere when starting the game up with existing settings
Fix for that attached, and it makes a difference for me (I actually get a bit smaller font). Plan to push that even to S2_6.
Testing some more on my Mac - what I see is changing the default font and clicking "Apply" button does not immediately change anything being currently displayed using the default font. Dlogs using the default font that are not currently visible show the change when they are re-displayed, e.g. the options dlog or the "confirm quit" dlog. Except the city dlog - it only shows the change after quitting and restarting. Same behavior with the message text box. Applying the patch did not have any affect. This is a different enough issue that I've opened a new ticket for it - #44850.
Reply To ddeanbrown
Applying the patch did not have any affect.
As the patch fixes how the fonts are taken to use in the client launch, did you restart the client after setting the font you want (and saving the settings)?
Yes, having to restart the client to see the change was what led me to create the new ticket.
Reply To ddeanbrown
Applying the patch did not have any affect.
So, either there's second bug, or the fix was not completely sufficient for the identified one.
I see myself that in some cases (i.e. in my own environment) the patch makes a big difference. With no certainty when we manage to figure out what more it requires to get it working also in your system, I think this should be pushed in as is, and a new ticket opened about debugging your additional issues.
There's quite a number of other Qt-client's font handling tickets active at the moment. The ones about settings handling problems are related in that font information is stored to those settings: #44838, #44034, #44836, #44839, #44850, #44851, #44864 - and more to be opened. It might be better to re-evaluate the situation once more of those have landed (in S3_1, as many of those are not targeted to S3_0)
qt client improvement request
In the city dialog, Worklist section, the thing you click on to change current production has text that is very difficult to read, it's too small and obscured by the progress indicator. Would like to separate the progress indicator out into its own thing, and either make the text bigger or, better, have it use one of the fonts that can be set in the local options font tab. Taking up more vertical space is not a problem because that whole area is scrollable.