Menu

#1 Inventory panels not updating resource types

3.07
closed
UI (8)
2014-08-23
2014-06-10
Scott Davis
No

The inventory panels in the UI unit info windows are not updating the rows in the resource lists correctly when new resources are added or removed from the unit's inventory.

Quote from Help forum post:

I notice there's an update icon on the inventory pages, however this doesn't seem to update the resource types, only the quantities. For example, I mined some kamacite and watched as the bags were brought back to the rover. No new 'kamacite' entry was added, even after hitting the update button. A simple closing and re-opening of the window saw the entry appear however. Not a great inconvenience of course, but I suspect you were hoping the avoid this with the addition of the update button. I double checked the behaviour by watching the rover's return to base. The base's kamacite-naive inventory remained so, even after the rover was unloaded and the update button was pressed. Again, closing and re-opening the base window resolved the issue.

Originally submitted by Ano Nima in Help forum post

Discussion

  • Scott Davis

    Scott Davis - 2014-06-10
    • labels: --> UI
    • Milestone: 3.06 --> 3.07
     
  • Scott Davis

    Scott Davis - 2014-08-21

    I found a bug in the inventory UI panel code that was using cached data when updating resources and parts in the inventory table. This cached inventory data is not getting immediately updated when resources are added or removed from an inventory container. I changed the update code to not used cached inventory data, and it appears to work fine now. The fix is in 3.07 development.

     
  • Scott Davis

    Scott Davis - 2014-08-21
    • status: open --> closed
    • assigned_to: Scott Davis
     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.