delvedor / delvedor/electron-screen

strange values returned with 4 screens

Open
#2 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Hi, thanks for this module. it seems that Electron still have some issues under windows.
I have a configuration with 5 screens. 1 screen on top and 4 smaller underneath.

The issue i'm facing is that using the bounds returned by the screen() function seems to shift to the next screen.
these are the values returned by screen():
[ { bounds: { x: 944, y: 1080, width: 800, height: 480 } },
{ bounds: { x: 4294966640, y: 1080, width: 800, height: 480 } },
{ bounds: { x: 1744, y: 1080, width: 800, height: 480 } },
{ bounds: { x: 144, y: 1080, width: 800, height: 480 } },
{ bounds: { x: 0, y: 0, width: 1920, height: 1080 } } ]

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.