#45874: gtk4: Editor infinite loop in setting text field Open Date: 2022-10-15 21:05 Last Update: 2022-10-15 21:33 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/45874 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45874 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-10-15 21:33 Updated by: cazfi * Owner Update from (None) to cazfi * Resolution Update from None to Accepted * Milestone Update from (None) to 3.0.5 * Component Update from (None) to Gtk3.22-client Comment: Reply To cazfi and that works on older clients. Even though the other clients somehow get away with it (at least usually), the bug is hiding in all of them. That's why the fix is targeted also to S3_0 where gtk4-client isn't even present. --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: cazfi Type: Bugs Status: Open [Owner assigned] Priority: 5 - Medium MileStone: 3.0.5 Component: Gtk3.22-client Severity: 5 - Medium Resolution: Accepted --------------------------------------------------------------------- Ticket details: gtk4-client freezes when editor mode's "property editor" is opened. Seems that it's a loop where setting text on the widget causes it to emit "changed" signal again causing setting the value to the widget. The code is supposed to catch when the value has not actually changed, and that works on older clients. -- 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/45874 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=45874