peterfajdiga / karousel

Scrollable tiling Kwin script
GNU General Public License v3.0
198 stars 3 forks source link

Don't move windows during drag&drop operations #28

Open ashkitten opened 5 months ago

ashkitten commented 5 months ago

Currently if the behavior is set to keep the active window centered, dragging and dropping between windows causes a rapid scroll to the start or end of the row.

My preferred solution is that during drag&drop it only scrolls when there is active mouse pressure on the side of the screen (the same thing used for screen edge gestures in Plasma itself).

peterfajdiga commented 5 months ago

Hi, thanks for the report. What exactly are you dragging between windows? Does this only cause scrolling or does it also change which window is focused?

ashkitten commented 5 months ago

Hi, in this case I was attempting to drag a Firefox tab into another Firefox window, but couldn't because it switched focus instantly to the window I tried to drag to, which caused it to scroll, which put a new window under the cursor, which caused another scroll.

peterfajdiga commented 5 months ago

Thanks, that makes sense. This does not happen to me on X11, haven't tried yet with Wayland.

peterfajdiga commented 2 months ago

I think I can reproduce this on Wayland. @ashkitten May I ask for your margin and gaps settings so that I can be extra sure?