Moving window snaps to spot several pixels away from window, if it isn't overlapped with it.

Bug #1193234 reported by BryanFRitt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Compiz
New
Medium
Unassigned

Bug Description

If the windows are non-overlapping and I try to put one beside the other, they'll be a gap of several pixels that shouldn't be there. This happens in both the vertical and horizontal directions.

This does NOT occur if I a move a window so that it overlaps another, and then pull the window out, then it will snap to the right spot.

Tags: gap overlap snap
Revision history for this message
BryanFRitt (bryanfritt) wrote :
BryanFRitt (bryanfritt)
summary: - snaps to spot several pixels from window coming in from non-overlayed
- windows
+ Snaps to spot several pixels away from window, if moving a window non-
+ overlapped with it.
summary: - Snaps to spot several pixels away from window, if moving a window non-
+ Moving window snaps to spot several pixels away from window, if it isn't
overlapped with it.
Revision history for this message
MC Return (mc-return) wrote :

@bryanfritt:
Is this Emerald-win-decorator on KDE ?

Revision history for this message
BryanFRitt (bryanfritt) wrote :

 I don't have Emerald installed. This window decorator is stated with something like
"${COMPIZ_BIN_PATH}"/kde4-window-decorator --replace &
Just tried Compiz with the gtk-window-decorator, snapping still messes up just the same.

Don't know why, but it seams easier to get snapping to mess up in the vertical direction. It looks like it 'briefly' snaps to the right place then snaps to a spot away from the window.

By 'briefly' I mean like just one or two frames. (not measured)

MC Return (mc-return)
Changed in compiz:
milestone: none → 0.9.10.0
importance: Undecided → Medium
Revision history for this message
Sam Spilsbury (smspillaz) wrote :

Can you post the output of xprop | grep _NET_WM_FRAME_EXTENTS for the window with the snapping problem?

Revision history for this message
BryanFRitt (bryanfritt) wrote :

Ops... forgot to mention I was using the 'Snapping Windows' plugin and not the the 'Wobbly Windows' plugin., the 'Wobbly Windows' plugin doesn't have this problem.

All of the windows have this problem with the 'Snapping Windows' plugin enabled, not just a particular window. I tried the command `xprop | grep _NET_WM_FRAME_EXTENTS` on windows when the Snapping Windows' plugin was enabled and got nothing, even if the window was in the messed up snapping place.

-

With the 'Wobbly Windows' plugin there isn't a pull apart snap at all. i.e. when windows are overlapping there isn't a snap when a window is pulled apart so that it isn't overlapping anymore. There's only a snap for when windows are moved closer together, even though it might be better if it could do both ways.

Both plugins are missing same side to same side snaps. I suppose there could be ties as to which one is closer to snap to, in that case snap the window to the direction that would be closer to where it's heading. (if there's a tie, and there isn't any motion one way or the other don't snap at all)

I can put the extra snapping options down as a new feature request.

(Another Idea: Move, Snap, and Wobble could be put together as one plugin)

MC Return (mc-return)
Changed in compiz:
milestone: 0.9.10.0 → 0.9.11.0
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.