Project

General

Profile

Actions

Bug #1666

open

Qt - svg flags enabled affects view screen (tileset svg_height not respected?)

Added by Dean Brown 3 months ago. Updated about 1 month ago.

Status:
In Review
Priority:
Normal
Category:
Qt-client
Target version:
Start date:
08/31/2025
Due date:
% Done:

0%

Estimated time:

Description

seen in 3.2.0 Qt client.

Bigger flags in the diplomacy dialog OK, but not so much on the view screen.


Files

Qt_svg_flags.png (323 KB) Qt_svg_flags.png Dean Brown, 08/31/2025 03:13 AM
32Civ2Civ3.sav.xz (14.3 KB) 32Civ2Civ3.sav.xz Dean Brown, 09/01/2025 12:35 AM
freeciv-client-rc-3.2 (13.7 KB) freeciv-client-rc-3.2 Dean Brown, 11/04/2025 10:00 PM
32aliensTest.sav.xz (13 KB) 32aliensTest.sav.xz Dean Brown, 11/04/2025 10:00 PM
0025-Fix-svg-flag-drawing-with-full-citybar-disabled.patch (4.2 KB) 0025-Fix-svg-flag-drawing-with-full-citybar-disabled.patch Marko Lindqvist, 11/04/2025 11:16 PM
Actions #1

Updated by Marko Lindqvist 3 months ago

Which tileset?

Actions #2

Updated by Marko Lindqvist 3 months ago

Marko Lindqvist wrote in #note-1:

Which tileset?

Screenshot shows non-hex iso topology, so maybe amplio2. Still, I couldn't reproduce.

Actions #3

Updated by Dean Brown 3 months ago

Yes amplio2. I tried loading some other tilesets and saw the same thing.

If you can't reproduce, it could be a Mac-only bug - seen those before.

Actions #4

Updated by Marko Lindqvist 3 months ago

  • Subject changed from Qt - svg flags enabled affects view screen to Qt - svg flags enabled affects view screen (tileset svg_height not respected?)
Actions #5

Updated by Dean Brown 3 months ago

Just to double check on reproducing - as the pop up in the options dlog says, changing the SVG flags setting requires restarting the client to take effect.

Actions #6

Updated by Marko Lindqvist 3 months ago

Yes, I do have svg flags option enabled in my saved client settings, and larger flags do work at diplomacy dialog (and main map and nation selection dialog flags are a bit different size than with svg flags option disabled)

Actions #7

Updated by Dean Brown 3 months ago

Found a new clue - problem only happens with this savefile, which was saved from the gtk3.22 client after doing some edit mode hacks. Maybe you can reproduce with this?

Actions #8

Updated by Marko Lindqvist about 2 months ago

Was this with Qt5 (as you mention in another ticket that you've built Qt6 versions only now)?

Actions #9

Updated by Dean Brown about 2 months ago

Yes Qt-5, specifically Qt 5.15.15

Actions #10

Updated by Marko Lindqvist about 1 month ago

Can you attach your freeciv-client-rc-3.2 in case this is reproducible with specific client settings?

Updated by Dean Brown about 1 month ago

Dug some more and found another savegame file that shows different but obviously related symptoms. This one is aliens ruleset, also was saved from gtk3.22 after doing edit mode.

Actions #12

Updated by Marko Lindqvist about 1 month ago

I can reproduce with your freeciv-client-rc-3.2!

Actions #13

Updated by Marko Lindqvist about 1 month ago

This fix is far from perfect, but should resolve the immediate issue (esp. in release branch S3_2) until there's a better one.

Actions #14

Updated by Dean Brown about 1 month ago

That patch fixes it for me.

Actions

Also available in: Atom PDF