#43823: city display doesn't show > 30 workers Open Date: 2022-02-08 03:41 Last Update: 2022-02-10 20:40 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/43823 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43823 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-02-10 20:40 Updated by: alienvalkyrie * Owner Update from (None) to alienvalkyrie * Milestone Update from (None) to 3.0.1 Comment: Also present in the newer branches, and based on what the code looks like, almost certainly affects all the other gtk clients as well. I'm not sure if this is the kind of show-stopping bug worth pushing into 3.0.0 directly before release – I would venture a guess and say that at that city size, most people are more likely to use the citizen governor and cities dialog, rather than counting specialists by hand, so it might not be that critical. But I'm open for input. Note: It doesn't actually prevent changing the specialists, it just doesn't draw them correctly; clicking the empty space does change the specialist correctly (tho ofc it's hard to see what's going on). The problem most likely stems from a rectangle ending up with negative width – I'm looking into it. It seems like there might be other minor issues with the relevant code as well (such as not drawing the last citizen in full). --------------------------------------------------------------------- Ticket Status: Reporter: ddeanbrown Owner: alienvalkyrie Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.0.1 Component: Gtk3.22-client Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: 3.0.0-RC1 Seen with freeciv-gtk3.22 client, maybe others? Seen with expanded city radius. To repro, use sandbox ruleset, edit effects.ruleset to add [effect_city_radius_1] type = "City_Radius_Sq" value = 5 [effect_aqueduct_base] type = "Size_Adj" value = 40 See screenshot, which was hacked in editing mode. Problem starts when pop > 30, prevents changing specialists. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/43823 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=43823