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 90143 - Workspace number layout
Workspace number layout
Status: RESOLVED FIXED
Product: metacity
Classification: Other
Component: general
unspecified
Other other
: Normal normal
: GNOME2.x
Assigned To: Metacity maintainers list
Metacity maintainers list
Depends on:
Blocks:
 
 
Reported: 2002-08-07 19:36 UTC by Duncan Mak
Modified: 2003-02-23 02:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Duncan Mak 2002-08-07 19:36:24 UTC
Now that bug 90029 is somewhat fixed, I finally have a 2x4 workspace popup.
That's really nice.

However, the numbering goes like this:

1 5
2 6
3 7
4 8

It'd be nicer if it's

1 2
3 4
5 6
7 8

What do you think?
Comment 1 Havoc Pennington 2002-08-07 19:42:35 UTC
This is in the spec, needs to be brought up on wm-spec-list.
Comment 2 Havoc Pennington 2002-08-15 04:40:08 UTC
So on wm-spec-list everyone is unable to come up with a reason why it
matters how the spaces are numbered. Do you have a rationale for one
way or the other?
Comment 3 Duncan Mak 2002-08-15 05:01:44 UTC
Michael Toomin replied with a very thoughtful message about 3 possible
options:

1 4    or   1 2   or   4 1
2 5         3 4        5 2
3 6         5 6        6 3
(a)         (b)        (c)

The message is archived here,
http://lists.gnome.org/archives/wm-spec-list/2002-August/msg00041.html

I like b because the book-like orientation feels the most natural to
me. Also, with the current 'go to desktop to the left/right' behavior
of metacity, it's also the most 'consistent' with previous behavior
(when it is always horizontal). With the other two layouts, you need
to use the up/down keys, using only the left/right key cause the
movement to 'skip' (you'll have to try it out yourself); with b, as it
is, left-right would suffice.

This is not a strong argument for (b) at all. After reading Michael's
 message, I'm not very certain what should be Right(tm) anymore.

A 'cop-out' solution would allowing changes to the layout via
gconf-editor. However, even if there were to happen, there should
still be a sane default. The current behavior is usable, I dunno if
it's the best we can do, though.

ps. From memory, I think the XP's 'tweakUI' workspace control uses the
(b) layout, but I'm not 100% sure.
Comment 4 Michael Toomim 2002-08-17 05:03:08 UTC
> I like b because the book-like orientation feels the most natural to
> me. Also, with the current 'go to desktop to the left/right' behavior
> of metacity, it's also the most 'consistent' with previous behavior

So it sounds like you want the next/previous commands to translate
directly to right/left commands... but the window managers are
supposed to give you right/left commands anyway (in addition to
up/down commands).

One might also expect the next/previous commands to always traverse
the *length* of the workspace-grid... I don't see why they should
necessarily correspond to left and right.

> (when it is always horizontal). With the other two layouts, you need
> to use the up/down keys, using only the left/right key cause the
> movement to 'skip' (you'll have to try it out yourself); with b, as it
> is, left-right would suffice.

This is a bug (bug89373).  Try gnome-panel version 2.0.6.  The problem
that you're observing is different than the workspace ordering.

> A 'cop-out' solution would allowing changes to the layout via
> gconf-editor. However, even if there were to happen, there should

Gconf can't be used since this is part of the freedesktop.org
specification, which is beyond gnome.  It has to work with kde, etc.
Comment 5 Havoc Pennington 2002-09-24 18:26:57 UTC
The WM spec now addresses this, needs to be implemented in metacity.
Comment 6 Havoc Pennington 2002-10-04 03:20:36 UTC
This is all done in metacity except that in
workspace.c:meta_workspace_get_neighbor() someone needs to figure out
the math and implement the currently-unimplemented workspace arrangements.
Comment 7 Heath Harrelson 2002-10-30 15:45:21 UTC
Batch adding GNOME2 keyword to Metacity bugs.  Sorry for the spam.
Comment 8 Heath Harrelson 2002-11-04 12:28:09 UTC
Adding PATCH_NEEDED, given Havoc's comment above.
Comment 9 Havoc Pennington 2002-11-04 14:39:28 UTC
I have a patch sent to me via email.
Comment 10 Rob Adams 2003-02-22 23:44:21 UTC
oughtn't this bug be closed?
Comment 11 Havoc Pennington 2003-02-23 02:49:08 UTC
Yep, this is all fixed up.