Opened 12 years ago

Closed 8 years ago

Last modified 3 years ago

#2782 closed enhancement (fixed)

implement snapping to other window borders

Reported by: Adek336 Owned by: stippi
Priority: normal Milestone: R1
Component: Servers/app_server Version: R1/Development
Keywords: Cc: stephen.deken@…
Blocked By: Blocking:
Platform: All


I miss the sticky windows feature which is that while dragging a window and one of its borders is about say 0.5 cm from another window border or the screen border, it jumps moves to that border and the windows are adjacent.

Attachments (1)

tab-snap.patch (2.5 KB ) - added by sdeken 12 years ago.
Snap windows to edges of screen

Download all attachments as: .zip

Change History (9)

comment:1 by diver, 12 years ago

+1. I like this feature in KDE too.

by sdeken, 12 years ago

Attachment: tab-snap.patch added

Snap windows to edges of screen

comment:2 by sdeken, 12 years ago

I submitted the above patch to the mailing list; I hadn't seen this bug at the time. The patch currently snaps windows to the edges of the screen during drag, but does not snap to other windows (yet). There is also currently no way to make it not snap, which may or may not be desired.

comment:3 by sdeken, 12 years ago

Cc: stephen.deken@… added

comment:4 by stippi, 11 years ago

Applied the screen edge patch with modifications in hrev31841. Sorry it took so long, the patch was very well done! I implemented some automatic behavior with timeouts that resolved some TODOs in the patch and made it unnecessary (hopefully) to configure anything. Since the ticket is also about snapping to window borders, I keep it open, since the patch "only" snaps to screen edges. (Nice improvement in itself!)

comment:5 by mmadia, 10 years ago

Summary: implement sticky windowsimplement snapping to other window borders
Version: R1/pre-alpha1R1/Development

comment:6 by pulkomandy, 9 years ago

Isn't this superseeded by Stack and tile now ?

comment:7 by diver, 8 years ago

Component: User InterfaceServers/app_server
Resolution: fixed
Status: newclosed

I think it is.

comment:8 by spinach, 3 years ago

it'd be helpful to have snap still, especially with stack and tile -- moreso stacking than tiling. it gets very easy very quickly to miss the area you need to successfully stack or tile and there may be times one would want to butt windows together without using stack and tile at all -- situations where you want a shared border but not a shared width or height along that border, for instance.

Note: See TracTickets for help on using tickets.