emvaized / kde-snap-assist

KWin script for KDE Plasma which suggests other window thumbnails on snap
https://store.kde.org/p/1875687
GNU General Public License v3.0
97 stars 6 forks source link

Multiple monitors support #40

Closed Victor239 closed 1 year ago

Victor239 commented 1 year ago

I use two monitors, and I'm able to see the snap assist borders for the outside halves of the screens, but not the inside (i.e. I can make a vertical half window on the right side of the right screen, and left side of the left screen, but there's no snap assist for the inner halves).

emvaized commented 1 year ago

I believe I could not reproduce this issue — assist shows for inner halves for me just fine: Screenshot_30-10-22_02-25

Maybe you have some unusual monitors setup, which prevents proper detection of window coordinates?

Victor239 commented 1 year ago

I have two 1920x1080 monitors, I'm not sure what might be unusual about them: https://youtu.be/JMwsKGPXOwg

System specs:

emvaized commented 1 year ago

I see. Then, your issue is not with the script, but with the window snapping mechanism in KDE itself.

In order to snap window to the inner side on multi-monitor setup, you have to slowly drag it to the edge between screens, and then wait a little bit — like this: snap

Victor239 commented 1 year ago

Ohhhh, nice that works for me, thanks! It would be helpful if users could adjust the sensitivity of this to make it a bit easier e.g. making it so that 0-200 pixels away from edge can trigger the assist.

emvaized commented 1 year ago

You'd have to address this request to KDE Plasma devs, this script has nothing to do with these settings

Victor239 commented 1 year ago

Ah, okay. Do you know what setting it is?

emvaized commented 1 year ago

There is no such setting. I mean, it must be somewhere in system under the hood, but currently no option for user to easily change it — at least, I don't know any