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 597649 - workspace switching hotkeys should wrap across rows and columns
workspace switching hotkeys should wrap across rows and columns
Status: RESOLVED DUPLICATE of bug 89315
Product: metacity
Classification: Other
Component: general
trunk
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2009-10-07 07:07 UTC by dmc.gnome
Modified: 2010-01-21 02:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch for metacity to support workspace switch by hotkey wrapping (2.14 KB, patch)
2009-10-07 07:07 UTC, dmc.gnome
none Details | Review
through metacity workspace neighbor patch (2.30 KB, patch)
2010-01-21 02:43 UTC, Bin Li
none Details | Review

Description dmc.gnome 2009-10-07 07:07:06 UTC
Created attachment 144930 [details] [review]
patch for metacity to support workspace switch by hotkey wrapping

Is there any good reason why when I have multiple columns and rows of
workspaces that the hotkeys for switching workspaces do not wrap?  I.e. I would
prefer if ctrl+alt+up/down by themselves would let you cycle through all
available workspaces, instead of having to also use ctrl+alt+left/right.

Alternately what I want is to effectively have a 1x12 grid of workspaces, but
displayable in the switcher applet in 2 columns (so that the switcher applet on
a vertical panel doesn't take up the whole panel)

I googled and was surprised it was difficult to find anyone else asking about
this.  So I figure feedback here is my best way to find out why this has never
been implemented/merged.

In any event, I'll attach a firstpass patch that seems to work.

If there is no reason not to apply something like this patch, I could extend
the patch so that the wrapping behavior is non-default and only enabled via a
gconf setting, which would make me happy enough. 

Unfortunately actually using this patch exposes something else I want- that
with a vertical panel's switcher applet and multiple columns of workspaces,
that the mousewheel goes up and down within a single column, then wraps to
other columns.  Instead of the current behavior of going the workspace to the
right and left, with wrapping.  

It is noteworthy that wrapping is supported like that in the workspace
switcher, but not with the hotkeys.

Anyway, worst case, the next person that this really bugs may at least find
this bug report and patch.
Comment 1 Bin Li 2010-01-21 02:40:36 UTC
I'd like to cycle through all available workspace, instead of when we met the last column in a row, the 'ctrl+alt+left' will not work.

And David submit a patch for it.

https://bugzilla.novell.com/show_bug.cgi?id=491777
Comment 2 Bin Li 2010-01-21 02:43:42 UTC
Created attachment 151910 [details] [review]
through metacity workspace neighbor patch
Comment 3 Thomas Thurman 2010-01-21 02:54:11 UTC
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find.

*** This bug has been marked as a duplicate of bug 89315 ***