Windows resized via keyboard do not snap

Bug #389290 reported by Michael Wayne Goodman
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
compiz (Ubuntu)
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: compiz

I'm running Ubuntu Jaunty 9.04.

Moving and resizing windows via the keyboard (alt+space+m for move, alt+space+r or alt+F8 for resize) works great with metacity, but only partially with compiz.

The main problem is that window snapping (by holding down shift while using the arrow keys to move/resize) does not happen, so our only choice is to keep resizing/moving the window to the desired place, or using the mouse.

The second, minor problem is that during a resize the notification showing the row/column size on a terminal window shows artifacts, as it moves when the window is resized.

This may be related to the following bugs:
https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/154734
https://bugs.launchpad.net/ubuntu/+source/compizconfig-settings-manager/+bug/216065

summary: - keyboard moving/resizing partially broken with compiz
+ Windows resized via keyboard do not snap
Changed in compiz (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
Michael Wayne Goodman (goodmami) wrote :

The bug still exists in Ubuntu 9.10 Karmic Beta. Same symptoms as before.

To be clear, there are 3 things I would like to see happen (all of these are in the context of moving/resizing windows with the keyboard):

1. Holding the shift key while moving a window will cause it to jump to the next edge (window border or screen border)

2. Holding the shift key while resizing a window will cause the side being resized to jump to the next edge.

3. The window size information (such as when resizing a terminal window) will be properly redrawn (no artifacts) when the window is being resized.

If any of these are unclear, go see what happens when using Metacity. I just want the functionality in Compiz to be the same as that.

Revision history for this message
Michael Wayne Goodman (goodmami) wrote :

Just confirming that all 3 problems described above still exist in Lucid Beta 1. Seeing as how this bug does not seem to bother many others, can anybody help guide me in fixing it on my own? For example, which sources should I be looking in? Thanks

Revision history for this message
Martin Spacek (mspacek) wrote :

I haven't tried to reproduce problems 2 and 3, but I've definitely noticed problem 1 in maverick.

Revision history for this message
Michael Wayne Goodman (goodmami) wrote :

STILL noticing this in Natty. Any advice of where I can look to fix this on my own? This has been enough of a reason for me to not use Compiz for 3 years now.

Revision history for this message
Sam Spilsbury (smspillaz) wrote : Re: [Compiz] [Bug 389290] Re: Windows resized via keyboard do not snap

Could you describe in a little more details what you mean by "not snapping" ?

On Sun, May 29, 2011 at 1:39 AM, Michael Wayne Goodman
<email address hidden> wrote:
> STILL noticing this in Natty. Any advice of where I can look to fix this
> on my own? This has been enough of a reason for me to not use Compiz for
> 3 years now.
>
> --
> You received this bug notification because you are a member of compiz
> packagers, which is subscribed to compiz in Ubuntu.
> https://bugs.launchpad.net/bugs/389290
>
> Title:
>  Windows resized via keyboard do not snap
>
> _______________________________________________
> Mailing list: https://launchpad.net/~compiz
> Post to     : <email address hidden>
> Unsubscribe : https://launchpad.net/~compiz
> More help   : https://help.launchpad.net/ListHelp
>

--
Sam Spilsbury

Revision history for this message
Michael Wayne Goodman (goodmami) wrote :

I explained further in the comment on 2009.10.17, but basically I expect the window edges to jump to the next edge (side of desktop or side of another window) when I use the shift+arrow keys to move or resize windows. This is and has been the behavior for Metacity for quite some time, and as I primarily use the keyboard to open/arrange windows, it is something I use quite often.

If you would like an example, say I open a terminal, which is on the left side of the screen and is the only window open. If I want to move it to the right edge using the keyboard, I would use "Alt+Space m" then use "Shift+RightArrow" to jump-move the window to the right edge. In Metacity this works, but not with Compiz. Instead it will only move the window a constant number of pixels (whether I use Shift or not).

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Is this still an issue with newer versions of ubuntu?

Changed in compiz (Ubuntu):
status: Triaged → Incomplete
Revision history for this message
Michael Wayne Goodman (goodmami) wrote :

Yes, the feature was never added to compiz, and still does not exist in the 12.10. On the other hand, window "docking" with Ctrl-Super-(arrow) has been added, which is almost enough. It would still be nice to have window snapping during regular moves and resizes, but the current functionality is enough that I think this bug can be closed as "Won't Fix".

Revision history for this message
jhfhlkjlj (fdsuufijjejejejej-deactivatedaccount) wrote :

Thanks for the prompt reply, Michael.

Changed in compiz (Ubuntu):
status: Incomplete → Won't Fix
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.