Preserve maximized state on app restart
Is your feature request related to a problem:
I have installed Obsidian as a GUI app in WSL2 (since I want my vault and plugins to live in the WSL2 filesystem).
- When I start the app it is in "normal" window mode (i.e. not maximized).
- Then I maximize it.
- Exit
- Start again. Now it is not maximized.
Doing the same thing when Obsidian is installed as a Windows app preserves this state. It starts maximized the second time.
Describe the solution you'd like:
I would like it to remember the maximized state.
Describe alternatives you've considered:
If this is a pure linux issue (i.e. not WSL2 related) I'd be glad to learn how to configure this. Please then consider adding this to the WSLg docs anyway, since this behaviour is something more people will probably wonder about and which differ between WSL and Windows apps.
If not preserving state, it would be useful to know how to force start a WSL2 GUI application in maximized state. Editing the windows shortcut file and choosing "maximized" does not seem to have any effect. Add command line flags? How? Please consider adding an example re this as well.
Additional context:
No response
There's a bug in Intellij which could be worked around by preserving the maximised state, so I'd love for this to work too
Would definitely be a big improvement.