-
-
Notifications
You must be signed in to change notification settings - Fork 7k
Save windows position when closed with Alt+F4 or "X" button #4432
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
Conversation
Commits look good to me. |
This works well for me. It saves a lot of time repetitively resizing and locating windows. Thank you for implementing it. |
I just noticed that if I start by clicking on Arduino.exe it works well. I associated .ino files with Arduino.exe. If I then start it by clicking on an .ino file, it starts arduino.exe but it doesn't remember the last window position. |
The check for "resolution-changed" is performed when an editor location is retrieved from preferences. This commit rationalize access to PreferencesData and prepares for the next improvement.
This allows the use-case with users editing one sketch at a time, that seems to be the most common scenario: 1. User position the editor as desired 2. User close the IDE 3. User opens the IDE by double clicking on another .ino file 4. The IDE is opened again at the same position See arduino#4432
3caed63
to
0bceb93
Compare
The windows version gets an error when it runs: |
Hi @PickyBiker, |
Okay, I re-downloaded the file and it worked this time. Now it remember the window position whether I start it with Arduino or the .ino file. Nice job, thank you very much. I'm sure others will like this as well. As a further thank you, I am going to donate $50 when I download the released 1.68 version. Once again, thank you! |
Great, working. |
/cc @willie68 @doby162 @PickyBiker
should fix #4404 #4218