How to reproduce the issue:
- open SDL2 client with main window + subwindow
- close client
- subwindow configuration is saved
- open SDL2 client again
- hide subwindow
- close client
- subwindow configuration is NOT saved
- open SDL2 client again with only main window
- show subwindow
- subwindow configuration is back to default
I never touched SDL2 client code, but it's obvious that it's because configuration is saved only if subwindow is visible in dump_window(). This sounds horrible as you have to reconfigure the subwindow each time you hide it...
- open SDL2 client with main window + subwindow
- close client
- subwindow configuration is saved
- open SDL2 client again
- hide subwindow
- close client
- subwindow configuration is NOT saved
- open SDL2 client again with only main window
- show subwindow
- subwindow configuration is back to default
I never touched SDL2 client code, but it's obvious that it's because configuration is saved only if subwindow is visible in dump_window(). This sounds horrible as you have to reconfigure the subwindow each time you hide it...
Comment