! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
"Wrap workspaces when reaching the screen edge" acts on mostly parallel motion
Status:
RESOLVED: FIXED

Comments

Description haarp 2015-01-13 19:21:43 CET
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.
Comment 1 Olivier Fourdan editbugs 2015-01-13 19:32:39 CET
Original implementation (years ago) was as you say, but people complained it was too hard to switch.

Unlikely I will change that now.
Comment 2 Olivier Fourdan editbugs 2015-01-13 19:33:16 CET
You know you can increase the edge resistance, don't you?
Comment 3 haarp 2015-01-13 19:38:18 CET
(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.
Comment 4 Olivier Fourdan editbugs 2015-01-13 23:05:25 CET
Fixed with git commit df707c3
Comment 5 haarp 2015-01-30 16:01:00 CET
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.

Bug #11456

Reported by:
haarp
Reported on: 2015-01-13
Last modified on: 2015-01-30

People

Assignee:
Olivier Fourdan
CC List:
0 users

Version

Version:
4.10.1

Attachments

Additional information