When "Wrap workspaces when reaching the screen edge" is enabled and windows are dragged along an edge (i.e. parallel to it), the workspace often gets wrapped erroneously.
This mostly happens with the upper edge. When I try to arrange a window to a different position along the upper edge of the screen, I often accumulate enough "up" motion to make the workspace wrap, even though the horizontal motion far outweighs the up motion.
Ideally, horizontal motion should be taken into consideration too. If the user just drags a window along the upper edge, it's clear that he doesn't want to wrap.
Original implementation (years ago) was as you say, but people complained it was too hard to switch.
Unlikely I will change that now.
You know you can increase the edge resistance, don't you?
(In reply to Olivier Fourdan from comment #2)
> You know you can increase the edge resistance, don't you?
Yes, but then I can't easily wrap when I actually want to.
(In reply to Olivier Fourdan from comment #1)
> Original implementation (years ago) was as you say, but people complained it
> was too hard to switch.
> Unlikely I will change that now.
Oh bugger, that's unfortunate. Could you point me to the commit that changed the behavior?
This is an issue I'm hit with many times a day. Couldn't a middle ground be found? e.g. if the parallel motion exceeds 3 times the perpendicular motion, don't wrap.
Fixed with git commit df707c3
Thanks, it seems to be working! :)
I would increase MAX_SNAP_DRIFT a bit however. 5 does make it a bit hard to trigger wrapping. In my tests, 15-20 seems to work best.