Compiz can't resize a window vertically AND horizontally with keyboard.

Bug #347390 reported by Oded Arbel on 2009-03-23
42
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Compiz
Medium
Christopher Townsend
0.9.11
Medium
Christopher Townsend
compiz (Ubuntu)
Medium
Christopher Townsend
Trusty
Undecided
Unassigned

Bug Description

[Impact]

Some users like to use the keyboard for many functions including resizing windows. Due to this bug, resizing windows with the keyboard is not very easy.

[Test case]

1. Open a window such as gedit. Make sure it is not maximized.
2. Initiate keyboard resizing by hitting Alt+Space, then r.
3. Use cursor keys to resize the window.

[Regression potential]

None identified.

* Debdiff is found at https://launchpadlibrarian.net/178439518/compiz-trusty-sru-2.debdiff *

Original Description:

when trying to resize a window using the keyboard (ALT+SPACE, then choose resize from the menu and then use the keyboard arrows) its not possible to resize both horizontally and vertically - like its possible using the mouse by grabbing a window corner.

Normally one would expect that its possible to press the right arrow key repeatedly to enlarge the window horizontally, and then press the down arrow key repeatedly to enlarge the window vertically, before pressing ENTER to submit the changes

What actually happens is that once the second button is pressed (down in this case), the previous dimension (horizontal) reverts to is old size and the new dimension is being adjusted. Try to press right arrow and the vertical dimension reverts back to its old value. In order to successfully resize a window both vertically and horizontally one needs to:
1. start a resize action
2. resize in one direction
3. submit the changes
4. start another resize action
5. resize in the other direction
6. submit the changes

Making it twice as complicated to do. This may or may not be related to desktop effects being enabled, I haven't disabled them to check yet but I do not remember this being a problem with standard Metacity.

Related branches

Saivann Carignan (oxmosys) wrote :

Thanks for your bug report. I confirm this issue in ubuntu 9.10. Unfortunately, you did not choose a package when you filed your bug report. For this reason, it didn't get any attention during a long period. I took care to set the appropriate package (compiz) for you.

summary: - keyboard window resizing in GNOME (while desktop effects enabled) is
- broken
+ Compiz can't resize a window vertically AND horizontally with keyboard.
affects: ubuntu → compiz (Ubuntu)
Changed in compiz (Ubuntu):
status: New → Confirmed

Still present in Oneiric

affects: compiz → compiz-core
Sami Jaktholm (sjakthol) on 2013-06-23
Changed in compiz:
status: New → Confirmed
MC Return (mc-return) on 2013-06-23
Changed in compiz:
milestone: none → 0.9.10.0
importance: Undecided → High
MC Return (mc-return) wrote :

Sami, thanks a lot for helping with bug management :) It is very appreciated !

Matija Skala (mskala) wrote :

The attachment "resize-logic.patch" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
MC Return (mc-return) wrote :

@mskala:
Thanks a lot for your patch (once again ;)). I will investigate this issue and test your patch(es) ASAP.

Changed in compiz:
assignee: nobody → MC Return (mc-return)
MC Return (mc-return) wrote :

@mskala:
I've linked a branch with your fix and proposed it for merging into lp:compiz, so this real "old-school" bug will finally be fixed.
Thanks a lot (once again) for your patches and keep them coming ;) +1

(I will take care of your other patch also soonish)

Changed in compiz:
milestone: 0.9.10.0 → 0.9.10.2
MC Return (mc-return) wrote :

@mskala:
Your patch unfortunately does not fix the issue reliably here. Please comment on the linked MP.

MC Return (mc-return) on 2013-07-24
Changed in compiz:
milestone: 0.9.10.2 → 0.9.11.0
Changed in compiz:
assignee: MC Return (mc-return) → Christopher Townsend (townsend)
status: Confirmed → In Progress
Changed in compiz (Ubuntu):
status: Confirmed → In Progress
assignee: nobody → Christopher Townsend (townsend)
no longer affects: compiz-core
Changed in compiz (Ubuntu):
importance: Undecided → High
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.11+14.10.20140606-0ubuntu1

---------------
compiz (1:0.9.11+14.10.20140606-0ubuntu1) utopic; urgency=low

  [ Chris Townsend ]
  * Only ungrab the Mod2Mask modifier on buttons 4-7 to allow scrolling
    in unfocused Gtk windows while still allowing keybinding modifiers
    to other scroll wheel actions. (LP: #1311788)
  * Fix issue where window decorations would be placed under the Panel
    when opening a new window from an already open window. This is due
    to the already open window being taller or just as tall without be
    maximized than the workspace. (LP: #1303462)
  * Only constrain the non-modifier scrolling to the vertical scrolling
    buttons - buttons 4 & 5. (LP: #1311303)
  * Fix issue where maximized windows would get moved to different
    workspaces when disconnecting/connecting an external monitor.
    Windows should stay in the same workspace they are in when the
    monitor event occurs. (LP: #1304531)
  * Fix issue where custom keyboard shortcuts would get reset to
    defaults when rebooting or restarting Compiz. (LP: #1063617)
  * Fixes issue in the Expo plugin where a gap is shown in the place
    where the Launcher and Panel should be when windows are maximized.
    This was originally removed in rev. 3481. (LP: #1087090)
  * Fix issue where horizontal and vertical keyboard resizing could not
    happen at the same time. (LP: #347390)

  [ Marco Trevisan (Treviño) ]
  * Scale: use XShape extension to exclude dnd input in the screen-parts
    outside workArea This will work property also in multi-monitor,
    without requiring multiple X windows for each output device. Also
    don't terminate the scale unless a drag-n-drop action is not really
    over. Add a spinner that shows up over a window, during the DnD
    timeout. Plus, make sure we terminate the scale without focusing the
    selected icon when cancelling it and some code cleanup (LP: #607796)
  * Event: set the screen grabbed also when we get a NotifyWhileGrabbed
    Focus{In,Out} event (LP: #1305586)
 -- Ubuntu daily release <email address hidden> Fri, 06 Jun 2014 09:43:06 +0000

Changed in compiz (Ubuntu):
status: In Progress → Fix Released
Changed in compiz:
status: In Progress → Fix Committed
milestone: 0.9.11.0 → 0.9.12.0
importance: High → Medium
Changed in compiz (Ubuntu):
importance: High → Medium
description: updated
description: updated

Hello Oded, or anyone else affected,

Accepted compiz into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/compiz/1:0.9.11.1+14.04.20140617-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in compiz (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
Mathew Hodson (mathew-hodson) wrote :

I tested compiz 1:0.9.11.1+14.04.20140617-0ubuntu1 in trusty-proposed and verified the fix for trusty.

tags: added: verification-done
removed: verification-needed
description: updated
Chris J Arges (arges) wrote :

Hello Oded, or anyone else affected,

Accepted compiz into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/compiz/1:0.9.11.1+14.04.20140623-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: removed: verification-done
tags: added: verification-needed
tags: added: verification-done
removed: verification-needed

Hello Oded, or anyone else affected,

Accepted compiz into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/compiz/1:0.9.11.1+14.04.20140701-0ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-needed
removed: verification-done
tags: added: verification-done
removed: verification-needed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package compiz - 1:0.9.11.1+14.04.20140701-0ubuntu1

---------------
compiz (1:0.9.11.1+14.04.20140701-0ubuntu1) trusty; urgency=medium

  [ Chris Townsend ]
  * Bump version to 0.9.11.1.

  [ Ubuntu daily release ]
  * New rebuild forced
 -- Ubuntu daily release <email address hidden> Tue, 01 Jul 2014 11:51:26 +0000

Changed in compiz (Ubuntu Trusty):
status: Fix Committed → Fix Released
Stephen M. Webb (bregma) on 2014-11-06
Changed in compiz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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