You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was working for me on this computer earlier this week. I have a KVM switch, which I had to rearrange the ports yesterday, and since then I've had this issue.
Downgrading to electron 28.3.1 resolves the issue. Upgrading back to 29.3.2 or 30.0.1, 30.0.2 again reintroduces the issue.
I've since changed my code to match display.id to sources.display_id to get around this unexpected behavior -- obviously this change will be more reliable -- but I wasn't sure if it was intended for this to have changed or not.
The text was updated successfully, but these errors were encountered:
Galkon
changed the title
[Bug]: screen.getCursorScreenPoint() provides incorrect mouse position in electron 30.0.1
[Bug]: screen.getCursorScreenPoint() provides incorrect mouse position in (29.3.2, 30.0.1)
May 3, 2024
Galkon
changed the title
[Bug]: screen.getCursorScreenPoint() provides incorrect mouse position in (29.3.2, 30.0.1)
[Bug]: screen.getCursorScreenPoint() provides incorrect mouse position (29.3.2, 30.0.1)
May 3, 2024
Galkon
changed the title
[Bug]: screen.getCursorScreenPoint() provides incorrect mouse position (29.3.2, 30.0.1)
[Bug]: screen.getAllDisplays() and desktopCapturer.getSources() order no longer matches (29.3.2, 30.0.2)
May 3, 2024
Preflight Checklist
Electron Version
29.3.2, 30.0.2
What operating system are you using?
macOS
Operating System Version
Sonoma 14.4.1
What arch are you using?
arm64 (including Apple Silicon)
Last Known Working Electron version
28.3.1
Expected Behavior
When using multiple displays, it is expected that
screen.getAllDisplays()
returns the displays in the same order as sources returned from:electron-28.3.1-working.mov
Actual Behavior
In 29.3.2, 30.0.1, 30.0.2, on my setup with 3 monitors, it started providing mismatching orders between the two every time.
electron-30.0.2-broken.mov
Testcase Gist URL
https://gist.github.com/Galkon/f467fdaf8f03cc0aac9f811e2a54c04d
Additional Information
This was working for me on this computer earlier this week. I have a KVM switch, which I had to rearrange the ports yesterday, and since then I've had this issue.
Downgrading to electron 28.3.1 resolves the issue. Upgrading back to 29.3.2 or 30.0.1, 30.0.2 again reintroduces the issue.
I've since changed my code to match
display.id
tosources.display_id
to get around this unexpected behavior -- obviously this change will be more reliable -- but I wasn't sure if it was intended for this to have changed or not.The text was updated successfully, but these errors were encountered: