Numeric wares display in warehouses not updating correctly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Pertains to bzr5873 (Win package: Imperial)
There is a problem with the update of opened warehouse windows. When the window is open, none of the numbers displaying the amount of each ware will be updated until you hover the cursor over it, even if your workers are carrying various wares in and out of your HQ/warehouse.
To reproduce: collect all soldiers in one warehouse. Keep its window open. Then set this warehouse to the "no further storage" policy for soldiers; another warehouse to "store preferred". Then demand new soldiers by kicking out some existing ones from your military sites. DO NOT mouse over the window of the emptying warehouse.
You will see soldiers leaving this warehouse, but the numeric display will not change.
Sometimes it will update when you mouse over the warehouse window; sometimes it will not even then.
At other times it will update suddenly without particular reason.
Related branches
- Widelands Developers: Pending requested
-
Diff: 79 lines (+13/-2)4 files modifiedsrc/logic/warelist.cc (+4/-0)
src/logic/warelist.h (+5/-0)
src/wui/stock_menu.cc (+0/-2)
src/wui/waresdisplay.cc (+4/-0)
I see the same thing here. Actually a quicker way to reproduce it is to open HQ, then build military building and watch the number of soldiers remain the same as they leave.
I guess the reason is that the values are not updated often enough to reflect the recent change. I'm sure there was another bugreport mentioning something similar (bug 580073?).