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

Snap Assist only works on one monitor #46

Open arithefirst opened 5 months ago

arithefirst commented 5 months ago

I can only seem to get snap assist to work on one monitor. I have a screen recording as attatched. If i have 2 windows on my side monitor, and use the shortcut to drag one into place, the window select dialog shows up. However, when I replicate this with the same windows on my main monitor, it dosen't work. I also attatched system specs in case it's of any help.

https://github.com/emvaized/kde-snap-assist/assets/134935244/343ac217-7cf0-4e46-bd92-6d3cdb0556ad

image

emvaized commented 4 months ago

Thanks for reporting! I tested the script on dual-monitor setups before, but these were regular "both landscape" setups. Unfortunately I don't currently have such monitor setup as you (one vertical, one horizontal), neither active KDE installation to try emulating it.

If you will have the desire and capacity to investigate this issue on your own, I'd recommend checking this code first, as it's where the dimensions for the assist window are calculated.