-
-
Notifications
You must be signed in to change notification settings - Fork 26
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
Displays overlap #3
Comments
For sure, and it may be difficult to reproduce on my hardware. Did you try using a view scale other than 0.3? |
The largest view scale I can use is 0.5, and even then the situation is weird. Here the external display (DP-5) is 1445x813 at position 0,0: And here the internal display (eDP-1) is 1920x1080 (despite me setting the scale, hmm) at position 1434,0 but at the edge of the window so I can't even move it further. With fractional scaling of the display sizes the snapping of displays is totally unreliable. It seems you must set the positions manually. |
Does it work well on wdisplays? |
Also: I experimented quite a lot by changing scaling on a two-headed setup (1366x768 + 1920x1080) and I could not reproduce the issue. :( |
It works well on wdisplays. Here are the same two displays as I tested with above, both 1920x1080 at 1.33 scale. When I drag the right one to snap to the left one the resulting positions are correct. First, the external display at position 0,0: Then the internal display at position 1445,0: So the x position of 1145 seems to be:
I note that snapping in nwg-displays gives me an x position of 1446 though! And I just realized that this snapping bug only happens if you don't set the resolution using the "Modes" dropdown! So even though nwg-displays knows the "Size" (resolution) of the current display, unless you select the mode from the dropdown it will calculate the snapping math incorrectly. |
I have an internal display (eDP-1) and an external display (DP-5). Both displays are 1920x1080 with scale 1.33. When I snap them together in nwg-displays the positions are incorrect and there is a slight overlap that causes the mouse pointer to be mirrored on both displays temporarily before jumping to the next screen when it reaches the edge.
First display is DP-5, which starts at position 0,0:
Second display is eDP-1, which starts at 1086,0 when I snap it to DP-5:
If I manually drag eDP-5 to 1445,0 the transition between displays works as expected.
I guess this is a problem with the fractional scaling math? I am using nwg-displays 0.1.2 on Arch Linux and Sway 1.7. Thank you!
The text was updated successfully, but these errors were encountered: