Soldier's list updating too slow in miltary buildings
Bug #536249 reported by
astuur
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
widelands |
Fix Released
|
Low
|
Unassigned |
Bug Description
When you expell soldiers from military sites, you sometimes get not the soldier you clicked on.
I had long been thinking it was me aiming badly, but its not so :)
Especially when you use the sorting feature (for skill points) and kick more than one in a row, it seems that the display has not updated yet.
So what you kick is not what you see.
Related branches
tags: | added: military ui |
Changed in widelands: | |
status: | New → Confirmed |
importance: | Undecided → Low |
Changed in widelands: | |
milestone: | none → build16-rc1 |
To post a comment you must log in.
I'm not sure that I'm seeing exactly the problem you are describing; in particular, you definitely always kick the soldier that was selected, but I also noticed that the selection in the soldier list doesn't get properly maintained when the list of soldiers changes.
I've cleaned up that code in my branch lp:~nha/widelands/refactor-building-ui to fix the issue I am seeing - could you please try whether this also fixes your problem? If it doesn't, could you please describe more accurately what goes wrong in your opinion? Ideally with a save game plus a short list of steps to reproduce the problem.