tab-resize icon indicating copy to clipboard operation
tab-resize copied to clipboard

Wrong resolution detected, gap between windows

Open Mozak89 opened this issue 5 years ago • 5 comments

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

Mozak89 avatar Oct 20 '20 08:10 Mozak89

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

ananggadipa avatar Dec 17 '20 03:12 ananggadipa

my monitor is 3440x1440 but detected as 3378x1440

ananggadipa avatar Dec 17 '20 03:12 ananggadipa

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.

karooga avatar Jan 28 '21 08:01 karooga

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.

peterdotjs avatar Jan 28 '21 09:01 peterdotjs

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-

ananggadipa avatar Feb 08 '21 03:02 ananggadipa