Red Hat Bugzilla – Bug 1300173
Unable to resize/move windows via keyboard in GNOME on Wayland session.
Last modified: 2016-09-01 03:35:24 EDT
Description of problem:
Unable to resize/move windows via keyboard in 'GNOME on Wayland' session.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Settings->keyboard->Shortcuts->windows Bind shortcut to Move and resize window(in my case Super+M and Super+R)
2. Login with gnome wayland session
3. Press shortcut to resize/move window and press arrow-left/right/up/down
Resize/move mode turned on, but arrows doesn't affecting windows size or position, it works only with touchpad/mouse.
Resize/move mode turned on. Arrows affecting windows size or position.
Works in GNOME session.
That's a GNOME issue (in mutter) rather than Wayland.
I cannot reproduce this issue and have been using Gnome+Wayland for a while. There is something special with your (hardware or software) configuration needed to track this issue down. I just don't know what.
I can reproduce the problem on a pristine even on a F24 install, it behaves as if once the shortcut has triggered the move/resize operation, no keyboard event is processed anymore, not the arrows to move, nor space to validate nor escape to cancel.
Basically, keys simply don't work when using the move or resize shortcuts in mutter/gnome-shell on Wayland.
Neither process_keyboard_move_grab() nor process_keyboard_resize_grab() get called from process_key_event(), that's because "all_keys_grabbed" is FALSE.
Can't find a corresponding upstream bug for that, will file one and continue from there.
Ah, here it is: https://bugzilla.gnome.org/show_bug.cgi?id=758076
A fix for this bug has been pushed upstream: