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

Wrong resolution detected, gap between windows #87

Open
Mozak89 opened this issue Oct 20, 2020 · 5 comments
Open

Wrong resolution detected, gap between windows #87

Mozak89 opened this issue Oct 20, 2020 · 5 comments
Labels

Comments

@Mozak89
Copy link

Mozak89 commented Oct 20, 2020

In the display settings, my laptop screen is detected as 1858x1920 instead of 1920x1080.

Moreover, when resizing windows, there is a very noticeable gap between them or at the edge of the screen, wich nulifies the purpose of this otherwise useful and easy to use extension.

Maybe the 2 issues are correlated.

image

@ananggadipa
Copy link

yes, it also happen with mine. the gap is too wide.

@ananggadipa
Copy link

my monitor is 3440x1440 but detected as 3378x1440

@karooga
Copy link

karooga commented Jan 28, 2021

It appears my FHD monitor is also incorrectly detected, resulting in the same middle gap. It looks like the two windows are also not snapped to the edges of the screen, which may be part of the same issue.

@peterdotjs
Copy link
Owner

So I managed to debug this briefly as I got my hands on a Windows 10 machine. When I debugged the width/height that the chrome api was sending it was accurate (e.g. 1/2 or 1/4 of the full width/height of the screen).

On the machine I was testing the gap was mostly eliminated when following the instructions here:

https://answers.microsoft.com/en-us/windows/forum/all/windows-have-small-gaps-between-edges-of-screen/16f43567-3bdb-40b5-957e-4e8250d10b78#:~:text=The%20pixel%20gap%20between%20snapped,and%20check%20if%20it%20helps.

I found that almost eliminated the gap but unfortunately there was at least a few pixels of padding. At this point it seems clearly a Windows OS issue with the way the position new windows as created through the chrome window api.

It's unclear if there is another issue at play where it's a Chrome/Windows integration issue.

@karooga @ananggadipa, @Mozak89 could you guys try out editing the reg key? I had to restart not only chrome but the computer for it to take effect. Hope that helps. I know it must be super frustrating to have that gap there - the extension is not very useful otherwise.

@ananggadipa
Copy link

I've edited the reg key but unfortunately the gap is still there. Happen with both of my monitor, even though the second monitor resolution correctly detected.
2021-02-08 10_12_06-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants