Skip to content
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

[WIP] center window on first start only, then restore from user defaults #27

Closed
wants to merge 1 commit into from
Closed

[WIP] center window on first start only, then restore from user defaults #27

wants to merge 1 commit into from

Conversation

DivineDominion
Copy link
Collaborator

Eventually closes #22. It does restore something, but it doesn't appear to be the frame rectangle when you close the app :) On my machine, when I put the window in the top-right corner, on subsequent launches the window will gradually restore further towards the lower-left.

Will have to investigate further. So far I found that

  • activateTab interferes with the restoration
  • deactivate centering will make the window move down, but fix it moving left

Posting this W.I.P. in case somebody else has an idea in the meantime.

@sindresorhus
Copy link
Owner

@DivineDominion
Copy link
Collaborator Author

Obsolete thanks to #33

dezinezync pushed a commit to dezinezync/Preferences that referenced this pull request Dec 17, 2022
dezinezync pushed a commit to dezinezync/Preferences that referenced this pull request Dec 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

The preferences window always opens on the right side of the monitor
2 participants