gerritdevriese / kzones

KDE KWin Script for snapping windows into zones
https://store.kde.org/p/1909220
GNU General Public License v3.0
238 stars 14 forks source link

Mouse dragging to zone isn't working #41

Closed Quantamm closed 11 months ago

Quantamm commented 1 year ago

I'm seeing this in both X11 and Wayland. I'm running KDE 5.27 on OpenSUSE Tumbleweed. When I drag a window by the titlebar, the OSD appears, but when I put the mouse cursor in the OSD area and let go, the window isn't resized.

I can use ctrl-alt-left to move the window into a zone. And I can use ctrl-alt-c to show the OSD and then click on the OSD to move the window to that zone.

gerritdevriese commented 1 year ago

On X11 you should have xdotool installed (https://github.com/gerritdevriese/kzones#caveats) Wayland mouse support is coming soon.

Quantamm commented 1 year ago

Thanks for the quick reply. I already had xdotool installed, so that's not it.

I thought that maybe this is an OpenSUSE issue, so I grabbed the latest KDE Neon live image (https://files.kde.org/neon/images/user/20230518-0715/neon-user-20230518-0715.iso) and am able to reproduce the issue there on two separate machines.

Steps to reproduce:

loginctl show-session $(loginctl | grep $(whoami) | awk '{print $1}') -p Type confirms that I am running x11. The version of KDE shipping on that image is 5.27.5.

c-schaer commented 11 months ago

I'm having the same issue with a new install of kubuntu. Verified that I'm using x11 and installed xdotool and restarted, dragging any window shows the zone indicators but windows will not snap to the zones. KDE Plasma version 5.24.7

gerritdevriese commented 11 months ago

The latest version should work on Wayland and X11 w/o xdotool, provided you have Plasma 5.27 or above