Snap windows to both inside and outside edges (like Metacity)

Bug #159893 reported by Paul Natsuo Kishimoto
6
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Triaged
Wishlist
Unassigned
Nominated for Intrepid by Rob Taylor

Bug Description

Binary package hint: compiz

This is probably a Wishlist/enhancement for compiz rather than a bug. However, it represents a regression in comparison to metacity, so I'm reporting it.

For anyone with a math background: under metacity snapping works whenever the outward normals of two window edges are parallel. Under compiz snapping only works when the outward normals are parallel *and* opposite. The metacity behaviour is superior, and compiz should emulate it.

In more detail:
Under metacity, window snapping on resize/move works to both inside and outside window edges. For example, with window A (small) and window B (large), it it possible to move/snap A *over* one corner of B, and then resize/snap A vertically and horizontally so it is the same size as B and covers it completely.

Under compiz, window snapping only works to outside edges. It is only possible to move/snap or resize/snap the edges of A and B if the two windows do not overlap. It is only possible to position A over B visually.

Hopefully the preceding is clear. If a diagram is necessary, I'd be happy to provide one.

Changed in compiz:
importance: Undecided → Wishlist
milestone: none → ubuntu-8.04
status: New → Confirmed
Revision history for this message
Brad Landis (bradleelandis) wrote :

I'd like to second this. Edge resistance does not work as expected, and IMO, I would consider this a bug

Revision history for this message
Gaspard Leon (gaspard.leon) wrote :

would be nice... should probably be reported to compiz...

Steve Langasek (vorlon)
Changed in compiz:
milestone: ubuntu-8.04 → none
Changed in compiz (Ubuntu):
status: Confirmed → Triaged
summary: - Windows only snap to outside edges
+ Snap windows to both inside and outside edges (like Metacity)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.