#48150: gtk4: Opening "Find City" centers view to a weird place (likely map origin) Open Date: 2023-06-03 01:36 Last Update: 2023-06-03 04:58 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/48150 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48150 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2023-06-03 04:58 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted * Milestone Update from (None) to 3.1.0-beta3 Comment: Reply To cazfi The second one is much easier, and fix to that could be applied selectively to cases where the fix would not trigger bug 1. I think that's going to be the first step. Based on that idea, fix for gtk4-client attached. It's a partial fix for client-common code + makes gtk4-client to always use that working code path. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.1.0-beta3 Component: Gtk4-client Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: Trying to reproduce #42288 on main branch gtk4-client, I notice that already when I open "Find City" -dialog to find Stockholm, map centers to the middle of the ocean. Presumably this is behavior of the "Find City" -dialog when there's no city selected yet (it doesn't know where to center, but tries anyway), and a separate bug from the 'c' -key issue of #42288 -- 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/48150 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=48150