Project

Profile

Help

HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187

Bug #861461

closed

SDL worklist UI not fully updated when changing city production / worklist length

Added by Jacob Nevins about 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
gui-sdl2
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

When changing a city's current production, by opening up the production dialog ("Change production" hammer on bottom-left of city dialog) and selecting a production by left-clicking on the right-hand pane, the worklist is updated with the new production, but the current activity ("Warriors / 2 turns") is not updated.


Files

m-sdl-worklist-refresh.patch (3.37 KB) m-sdl-worklist-refresh.patch master Jacob Nevins, 2020-02-22 10:58 PM
30-sdl-worklist-refresh.patch (3.45 KB) 30-sdl-worklist-refresh.patch S3_0 Jacob Nevins, 2020-02-22 10:59 PM
26-sdl-worklist-refresh.patch (6.64 KB) 26-sdl-worklist-refresh.patch S2_6 Jacob Nevins, 2020-02-22 10:59 PM
Actions #1

Updated by Jacob Nevins about 3 years ago

refresh_production_label() looks like it is called (since it is also what refreshes pEditor->pProduction_Progres, and that works) and is trying to do the right thing.

Actions #2

Updated by Jacob Nevins about 3 years ago

I suspect a miscalculation of the origin for the widget / dirty operation. It more or less works when the window/screen is small enough (640x480) that the worklist dialog is full-screen.

Actions #3

Updated by Jacob Nevins about 3 years ago

  • Subject changed from SDL worklist UI not fully updated when changing city production to SDL worklist UI not fully updated when changing city production / worklist length
  • Status changed from New to In Progress
  • Assignee set to Jacob Nevins
Actions #5

Updated by Jacob Nevins about 3 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF