After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 660839 - Workspace keyboard shortcut improvements
Workspace keyboard shortcut improvements
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
: 641368 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2011-10-03 22:19 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2012-06-27 18:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
windowManager: Remove old keybindings for left/right workspace switching (3.36 KB, patch)
2011-10-03 22:19 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
windowManager: Don't allow the user to hold <Control><Alt><Shift>Down (4.87 KB, patch)
2011-10-03 22:20 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
windowManager: Hold the window on the stage while going between workspaces (3.24 KB, patch)
2011-10-03 22:20 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
windowManager: Animate the window changing between workspaces (2.98 KB, patch)
2011-10-18 15:15 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
windowManager: Remove old keybindings for left/right workspace switching (3.56 KB, patch)
2011-10-21 19:03 UTC, Jasper St. Pierre (not reading bugmail)
none Details | Review
windowManager: Don't allow the user to hold <Control><Alt><Shift>Down (5.32 KB, patch)
2011-10-21 21:38 UTC, Jasper St. Pierre (not reading bugmail)
rejected Details | Review
windowManager: Hold the window on the stage while going between workspaces (3.75 KB, patch)
2012-06-27 17:04 UTC, Giovanni Campagna
committed Details | Review
windowManager: Animate the window changing between workspaces (3.00 KB, patch)
2012-06-27 17:06 UTC, Giovanni Campagna
none Details | Review

Description Jasper St. Pierre (not reading bugmail) 2011-10-03 22:19:55 UTC
These should be fairly straightforward patches. Some issues:

1. The second patch seems to make the workspace navigator "go crazy": it seems
to allocate the list view and its children separately and get it
wrong. Sometimes you'll see the indicator showing outside the bounds, and
sometimes you'll get small little indicators on the top-left corner of itself.

2. The third patch seems to have some trouble with invisible borders: press the
"move down" keyboard shortcut and the window actor will jump. I'm not sure if
this is a mutter bug or not.

3. The third patch still has some issues. Moving a window "up", "down" very
quickly will cause the window to snap to where it's supposed to be -- the
behavior that happened before the patch.
Comment 1 Jasper St. Pierre (not reading bugmail) 2011-10-03 22:19:57 UTC
Created attachment 198162 [details] [review]
windowManager: Remove old keybindings for left/right workspace switching

It's been dead code for a while.
Comment 2 Jasper St. Pierre (not reading bugmail) 2011-10-03 22:20:00 UTC
Created attachment 198163 [details] [review]
windowManager: Don't allow the user to hold <Control><Alt><Shift>Down

While quite fun, it's confusing to new users and looks funky.
Comment 3 Jasper St. Pierre (not reading bugmail) 2011-10-03 22:20:03 UTC
Created attachment 198164 [details] [review]
windowManager: Hold the window on the stage while going between workspaces

Right now the "move to workspace" keyboard shortcut transition isn't smooth. It
shows the window disappearing, hopping to the next workspace, and then sliding
into view. "Pin" the window to the stage while the animation is in progress,
then release it afterwards.
Comment 4 Jasper St. Pierre (not reading bugmail) 2011-10-13 18:07:33 UTC
(In reply to comment #0)
> 2. The third patch seems to have some trouble with invisible borders: press the
> "move down" keyboard shortcut and the window actor will jump. I'm not sure if
> this is a mutter bug or not.

This is bug #660848. Not sure what's causing it yet, reproducible with raw metacity.
Comment 5 Florian Müllner 2011-10-13 23:05:04 UTC
*** Bug 641368 has been marked as a duplicate of this bug. ***
Comment 6 Jasper St. Pierre (not reading bugmail) 2011-10-18 15:15:08 UTC
Created attachment 199335 [details] [review]
windowManager: Animate the window changing between workspaces

When a window is maximized or full-screened, it obstructs the workspace
behind it, making it non-obvious that the window is actually switching
workspaces. Animate the window moving before "moving the camera" so it's a bit
more obvious that the user is switching workspaces.
Comment 7 Jasper St. Pierre (not reading bugmail) 2011-10-21 19:03:41 UTC
Created attachment 199691 [details] [review]
windowManager: Remove old keybindings for left/right workspace switching

It's been dead code for a while.



--

Apparently we can't just remove binding handler because then mutter's original will show through. Take over the entire keybinding.
Comment 8 Jasper St. Pierre (not reading bugmail) 2011-10-21 21:38:26 UTC
Created attachment 199704 [details] [review]
windowManager: Don't allow the user to hold <Control><Alt><Shift>Down

While quite fun, it's confusing to new users and looks funky.



--

Fix Ctrl+Alt+Shift+Down/Up not working in the overview.
Comment 9 Giovanni Campagna 2012-06-27 17:04:24 UTC
Created attachment 217427 [details] [review]
windowManager: Hold the window on the stage while going between workspaces

Right now the "move to workspace" keyboard shortcut transition isn't smooth. It
shows the window disappearing, hopping to the next workspace, and then sliding
into view. "Pin" the window to the stage while the animation is in progress,
then release it afterwards.

Rebased on bug 674104
Comment 10 Giovanni Campagna 2012-06-27 17:06:03 UTC
Created attachment 217428 [details] [review]
windowManager: Animate the window changing between workspaces

When a window is maximized or full-screened, it obstructs the workspace
behind it, making it non-obvious that the window is actually switching
workspaces. Animate the window moving before "moving the camera" so it's a bit
more obvious that the user is switching workspaces.

Rebased.
Comment 11 Jasper St. Pierre (not reading bugmail) 2012-06-27 17:08:49 UTC
Review of attachment 217427 [details] [review]:

Looks fine.
Comment 12 Jasper St. Pierre (not reading bugmail) 2012-06-27 17:11:19 UTC
Review of attachment 217428 [details] [review]:

I'm not entirely happy with this patch myself. What do you think about it?
Comment 13 Jasper St. Pierre (not reading bugmail) 2012-06-27 17:11:39 UTC
Review of attachment 199704 [details] [review]:

Needs a rebase.
Comment 14 Giovanni Campagna 2012-06-27 18:10:41 UTC
(In reply to comment #12)
> Review of attachment 217428 [details] [review]:
> 
> I'm not entirely happy with this patch myself. What do you think about it?

We show the workspace switcher now, so I don't think this is necessary.

(In reply to comment #13)
> Review of attachment 199704 [details] [review]:
> 
> Needs a rebase.

Isn't this obsoleted by the other bug?
Comment 15 Giovanni Campagna 2012-06-27 18:11:30 UTC
Comment on attachment 217427 [details] [review]
windowManager: Hold the window on the stage while going between workspaces

Attachment 217427 [details] pushed as e43fe98 - windowManager: Hold the window on the stage while going between workspaces
Comment 16 Jasper St. Pierre (not reading bugmail) 2012-06-27 18:19:10 UTC
(In reply to comment #14)
> Isn't this obsoleted by the other bug?

Yeah, I was pointing out why I was marking it rejected.
Comment 17 Jasper St. Pierre (not reading bugmail) 2012-06-27 18:19:29 UTC
And sure, let's "fix" this