Opened 11 years ago

Closed 7 years ago

Last modified 22 months 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:
Has a Patch: no 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 11 years ago.
Snap windows to edges of screen

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 years ago by diver

+1. I like this feature in KDE too.

Changed 11 years ago by sdeken

Attachment: tab-snap.patch added

Snap windows to edges of screen

comment:2 Changed 11 years ago by sdeken

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 Changed 11 years ago by sdeken

Cc: stephen.deken@… added

comment:4 Changed 10 years ago by stippi

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 Changed 9 years ago by mmadia

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

comment:6 Changed 8 years ago by pulkomandy

Isn't this superseeded by Stack and tile now ?

comment:7 Changed 7 years ago by diver

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

I think it is.

comment:8 Changed 22 months ago by spinach

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.