freeciv21 icon indicating copy to clipboard operation
freeciv21 copied to clipboard

Setting fonts only fully takes effect after restart

Open lmoureaux opened this issue 2 years ago • 2 comments

Describe the bug

https://osdn.net/projects/freeciv/ticket/44850

Confirmed by dino in beta1

Easy solutions:

  • Add (requires restart)
  • Provide good defaults and remove the options altogether

Additional context

Should go through the style (or stylesheet), as they have proper update mechanisms in Qt. If we want to allow changing the font to begin with... (apart from a global scale)

lmoureaux avatar Jun 19 '22 21:06 lmoureaux

Related to #1292. Qt has a built-in function QApplication::setFont(const QFont &, const char *className), but it shouldn't be used together with style sheets. Another loosely related function is QStyle::polish().

lmoureaux avatar Aug 24 '22 00:08 lmoureaux

Not sure if it is the same issue, but if you have full screen enabled and then disable it while in game the client does not do anything. You have to get out and come back "in" (e.g. restart) to have the setting take effect.

jwrober avatar Feb 12 '24 00:02 jwrober