PredatH0r / SteamServerBrowser

Browse game servers and details for games using Valve's master servers
123 stars 20 forks source link

columns not restored on restart #8

Closed atomGit closed 9 years ago

atomGit commented 9 years ago

v1.12.2 upon restarting, the columns are restored to their default state

PredatH0r commented 9 years ago

I'm not storing the column state because it is a lot more complicated than it sounds. Columns are changed dynamically depending on which game you select. e.g. Toxikk, Reflex, Quake Live Testing, CS:GO show different columns. This means I'd have to store it on a per-game basis. But then you'd have to resize and/or reorder the columns for every game, which also sucks. When I add new columns in a new version, they would become invisible when I restore your column state which doesn't contain those new columns.... and I wouldn't know where to place them if you reorder everything.

atomGit commented 9 years ago

could this be implemented in a more rudimentary way perhaps? for example, just save the last used column names, order (and optionally widths) and restore it upon restart - if the user changes games, then reset to default (honestly though, i can't possibly imagine anyone ever changing to anything other than CS:GO LOL!)

PredatH0r commented 9 years ago

added option "Remember column layout for each tab" in v2.0 layout is restored at program start and when switching between tabs