tehruttiger / Stockpiler

A Foxhole logi companion app for quickly reading and transcribing stockpile contents
28 stars 21 forks source link

Learn mode icon picker window slow after multiple popups #23

Closed tehruttiger closed 2 years ago

tehruttiger commented 2 years ago

On successive loads the item picker window loads more and more slowly. I think maybe old buttons are not being released from memory when the windows are destroyed, I dunno. Any suggestion for speeding this up is appreciated. It is programmed for the buttons (and their tooltips) to be created dynamically based on what icons are available so that they don't need to be hardcoded, but there's likely a smarter way to do it.

tehruttiger commented 2 years ago

I don't know if it will improve speed, but maybe the popup window should have tabs for the various categories of items. We already know those from ItemNumbering and it would likely be easier to get to what you're looking for. Maybe a set of tabs at top for Warden/Colonial, then subtabs for the categories underneath? Maybe it also remembers what tab you were on last time it opened?

tehruttiger commented 2 years ago

Completely overhauled Learning mode in 3165ceeb41acacc356dfcbfc66d8988a9a17aa71 Very responsive now