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

Bug: Window not positioned correctly when using setPosition() with two displays #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

MathieuDebit
Copy link
Owner

@MathieuDebit MathieuDebit commented Nov 22, 2018

See electron/electron#15851

To Reproduce

$ git clone https://github.com/MathieuDebit/electron-quick-start.git -b bug/window-set-position
$ npm install
$ npm start || electron .
  • Move window to second screen
  • Click on resetPosition with position 0, 0
    → Depending on the second screen virtual position, the window is not correctly positioned.

Additional Information
MacOS seems to handle off-screen window differently so the bug is not always present (see mawie81/electron-window-state#44 (comment))

@MathieuDebit MathieuDebit changed the title Bug: Window not positioned correctly when using setPosition() Bug: Window not positioned correctly when using setPosition() with two displays Nov 23, 2018
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.

1 participant