-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doesn't remember maximized window state #1560
Comments
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Confirmed that this is an issue on Mac as well. |
I can see that I can propose two possible solutions.
If you find a good way to go, I can make a PR with the best approach 😉 |
I think combining In general the current bounds control could use some refactoring, and this could be a good excuse if you are up for it. 😉 However, IMO any approach would be a step in the right direction, so it would be great if you could create a PR 👍 |
After some tries, I'm not been able to reproduce this issue in OSX Yosemite (10.10.5) nor in Ubuntu 18.04.2 LTS 😅 As far as I can understand, been maximized or minimized is not a state itself, and setting correctly the bounds of the window is enough to preserve the correct size and position. So at least in my case if I open the app, maximize and close, in the next start the correct bounds are applied and even checking In the other hand, as @mathiasvr suggested I try to refactor and simplify bound control code in #1638 Any suggestion is more than welcomed 😉 |
What version of WebTorrent Desktop?
0.20.0 (0.98.21) (64bit)
What operating system and version?
Window 10 (v1809)
What did you do?
What did you expect to happen?
Remember the maximized window state after reopening
What actually happened?
Opened in resized (default) window state
The text was updated successfully, but these errors were encountered: