Bug 224599 - Effects: Please add a Snap Windows effect
Summary: Effects: Please add a Snap Windows effect
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Unspecified
: NOR wishlist
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-28 10:57 UTC by Dotan Cohen
Modified: 2012-04-13 19:23 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dotan Cohen 2010-01-28 10:57:27 UTC
Version:            (using KDE 4.3.4)
Installed from:    Unspecified Linux

Please add a Snap Windows effect, which would make windows' borders which are n<N pixels away from another border or the screen edge "snap" to the edge. Other composting windows managers, such as Compiz and Windows 7, have this very helpful features.
Comment 1 Dotan Cohen 2010-01-28 10:58:20 UTC
This feature also helps prevent a common gotcha: Windows that are positioned in the upper right of the screen yet not maximized do not close when the user slams the cursor against the upper right corner and clicks, rather, the maximized application _behind_ gets closed instead. Snap Windows prevents this from occurring because the window can never be so close to the corner as to be misleading.
Comment 2 Christoph Feck 2010-01-28 15:56:21 UTC
It works here. Do you have a multiple screen setup or another situation where this fails?
Comment 3 Martin Flöser 2010-01-28 16:14:29 UTC
(In reply to comment #2)
> It works here. Do you have a multiple screen setup or another situation where
> this fails?
It works also for multi screen setups and the distance is completely configurable. To me this is a WORKSFORME.

The configuration can be found in Systemsettings -> window behaviour -> moving
Comment 4 Dotan Cohen 2010-01-28 16:24:21 UTC
No, I do not have multi screen setups.

Thanks, Martin, I was looking in the Effects for the feature, not in Window Behaviour, as that is where the feature is in ֻCompiz. Although it was set to 10px it was not working. Disabling the feature then reenabling it made it work. That may be a bug in itself.
Comment 5 Martin Flöser 2012-04-13 19:23:39 UTC
Bulk change: move all KWin kcm bugs to product kwin