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 150703 - Should indicate the workspace a window is on
Should indicate the workspace a window is on
Status: RESOLVED FIXED
Product: libwnck
Classification: Core
Component: selector
git master
Other All
: Normal enhancement
: ---
Assigned To: libwnck maintainers
libwnck maintainers
Depends on:
Blocks:
 
 
Reported: 2004-08-21 10:09 UTC by Joachim Breitner
Modified: 2007-05-19 00:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
window selector with text above (18.64 KB, image/png)
2004-10-29 19:53 UTC, Bryan W Clark
Details
window selector with text above (18.19 KB, image/png)
2004-10-29 19:54 UTC, Bryan W Clark
Details
Proposed Implementation: Screenshot (14.07 KB, image/png)
2004-10-30 09:43 UTC, Christian Neumair
Details
Proposed Alternative Implementation: Screenshot (12.87 KB, image/png)
2004-10-30 20:29 UTC, Christian Neumair
Details
workspace name and separator (16.39 KB, image/jpeg)
2005-04-06 15:30 UTC, Kevin Duffus
Details
workspace names without separators (15.46 KB, image/jpeg)
2005-04-06 15:31 UTC, Kevin Duffus
Details
Screenshot (39.28 KB, image/png)
2007-05-19 00:13 UTC, Vincent Untz
Details

Description Joachim Breitner 2004-08-21 10:09:27 UTC
When opening the menu, I'd like to know what workspace the window is on
(especially useful when I have several terminals running, and their "intended
usage" depends on the workspace they are on).

I have two ideas how to implement it:
* Put separator bars between the windows, grouped by workspace (and probably
have one separators after another if there are empty workspaces).
* Use tooltips on the menu items that tell me about the workspace of (and other
possible useful facts about) the window.

Thx,

nomeata
Comment 1 Vincent Untz 2004-08-24 15:49:20 UTC
Nice idea.
I'm not sure what is the best solution, though.
CC'ing usability people to know if they have a preference between the two.
Comment 2 Christian Neumair 2004-10-18 16:17:27 UTC
Any news?
Comment 3 Calum Benson 2004-10-29 17:15:31 UTC
Just to clarify, I assume this only applies when the applet is set to "show
windows from all workspaces"... took me a while to figure that out :)

There is already a roundabout way to tell (look at the "Move to another
workspace" submenu, and see which item is greyed-out), but I'd agree a more
direct method would be handy.
Comment 4 Bryan W Clark 2004-10-29 19:52:31 UTC
I tried something with this a while back, let me attach pretty screenshots :-)
Comment 5 Bryan W Clark 2004-10-29 19:53:22 UTC
Created attachment 33219 [details]
window selector with text above
Comment 6 Bryan W Clark 2004-10-29 19:54:12 UTC
Created attachment 33220 [details]
window selector with text above
Comment 7 Joachim Breitner 2004-10-29 20:33:37 UTC
Do I see that right: the windows of the current workspace appear on the very
top, just like in the current implementation? 
I like the look of yours. The String "Workspace 1" is the name of the workspace,
not just the number, right?
Comment 8 Bryan W Clark 2004-10-29 20:50:46 UTC
yes and yes. :-)
Comment 9 Vidar Braut Haarr 2004-10-29 22:03:58 UTC
Bryan: I like this alot! In fact, I wanted to propose something like that myself
a while ago, but shrugged it off, because I didn't know if it was possible with
the toolkit.

Basically, my only comment is;
Instead of having it like this:
-------------------------------
                    Workspace 1

Do it like this:
--- Workspace 1 ---------------

Basically a fieldset with a label.
Comment 10 Christian Neumair 2004-10-30 09:43:07 UTC
Created attachment 33246 [details]
Proposed Implementation: Screenshot

Do you like this layout? This is acutally working code, I've just written a
GtkMenuItem that packs two separators and a label where the width of the left
separator is twice the height of the label. I'm too lazy to directly use
gtk_paint for the drawing process, but it works :). Any usability suggestions?
Comment 11 Vidar Braut Haarr 2004-10-30 10:40:34 UTC
Sexy!

I guess the only thing that could be debated now is whether clicking on the
desktop names should switch or not, but I guess that's a different bug.
Comment 12 Joachim Breitner 2004-10-30 10:50:36 UTC
I'd say no, since a click on any window in that workspace will switch the workspace.
Comment 13 Vincent Untz 2004-10-30 17:28:57 UTC
IMHO, Brian's first mockup looks better.
Comment 14 Christian Neumair 2004-10-30 18:47:57 UTC
Vincent: I don't like the right-alignment of category labels. This forces you to
double-check whether you correctly associated a single category with its items,
since the distance to the items themselves distracts you.
Comment 15 Vincent Untz 2004-10-30 18:56:23 UTC
Christian: the user opens the menu because he's looking for a window. I don't
think his main interest is knowing in which workspaces the windows are, but he
may find this informations useful. This is why I think it's better that this
information is "less visible" than the list of windows.

But remember, I'm no usability expert :-)
Comment 16 Christian Neumair 2004-10-30 20:29:51 UTC
Created attachment 33269 [details]
Proposed Alternative Implementation: Screenshot

Do you prefer this one Vincent?
Comment 17 Christian Neumair 2004-10-30 20:35:34 UTC
Calum: Any comments on the usability of those implementation proposals? They
behave exactly like they look: The Separator+label menuitem isn't
activatable/selectable. Is the purpose of the labels obvious enough?

I've explicitly CCed you since I don't know whether you're subscribed to
usability-maint.
Comment 18 Vidar Braut Haarr 2004-10-31 01:32:40 UTC
I really like Christian's first proposal. The simple reasons are:
 * The workspace name is a heading, and a heading is usually more prominent than
its child(ren).
 * Since it's a set (list), it makes sense to make it so that it resembles the
fieldsets (or "frames") already known from the web, Windows, Mozilla
preferences, etc.
(GNOME dialogs tend to use only the heading, and then indent the contents
without having a frame around it, however.. but in Christian's second proposal,
it's the other way around - the heading is indented)

 * I don't like the fact that there is a "new" font size introduced in the other
proposals.

Anyway, I'm not a usability expert either - I'm just tired and blabbering - so
I'll let Calum do the talking ;)
Comment 19 Joachim Breitner 2004-10-31 02:11:00 UTC
Let's just do it the Free Software way - do it the easies and quickest way, get
the code our there, get feedback, do it better with the feedback. Otherwise, we
can talk here with no end.
Comment 20 Calum Benson 2004-11-03 13:49:11 UTC
Christian: yes, I like the look of Bryan's mockup (haven't tried out the
patch)-- I prefer the first one too FWIW.  (I am on usability-maint, btw.)

We also need to be careful that any functionality we add here is accessible-- I
it needs to work with high contrast and large print themes.  And given that the
workspace label 'separator' (sensibly) isn't selectable, how can we convey this
useful new information to a screenreader user?  Perhaps set the accessible
description of each menu item to include the window's workspace name at the end,
or something?  Cc'ing some a11y folks for ideas.
Comment 21 Vincent Untz 2005-01-25 19:24:18 UTC
The Window Selector now uses the new WnckSelector widget from libwnck. Moving
bugs to libwnck.
Comment 22 Christian Neumair 2005-01-25 20:32:37 UTC
Any ally ideas? I see no other way for including this information somewhere in a
menu UI. Do we need to rethink the menu scheme we currently try to layout the
windows into?
Comment 23 Denis Jacquerye 2005-01-26 19:05:11 UTC
This feature (sorting by workspace and workspace label) should be able to be
toggle on or off.
Some users might not want to have the extra workspace labels.

Anybody followed up on the tooltip suggestion?
"Use tooltips on the menu items that tell me about the workspace of (and other
possible useful facts about) the window."
Comment 24 Joachim Breitner 2005-01-26 19:10:16 UTC
I don't think tooltips would be a good idea. As I use workspaces to logically
group related windows, I want that grouping be visible in the window changer
right away.
Comment 25 Vincent Noel 2005-01-28 15:19:33 UTC
Moving to right component. Sorry for the spam.
Comment 26 Kevin Duffus 2005-04-06 15:30:27 UTC
Created attachment 39754 [details]
workspace name and separator

modifying with images from Comment #5 and #6, i came up with this image of how
i think the menu could look with workspace names and separators
Comment 27 Kevin Duffus 2005-04-06 15:31:10 UTC
Created attachment 39755 [details]
workspace names without separators
Comment 28 Joachim Breitner 2006-01-15 13:59:07 UTC
What's the progress on this issue? There are a few proposed implementations, what's the next step?
Comment 29 Elijah Newren 2006-05-23 15:22:02 UTC
See also bug 342696 for a somewhat related (though still separate) issue that affects the tasklist.

Joachim: The next step is getting calum or bryan or mpt to give us a usability decision and then find someone to code it up.  :)
Comment 30 Vincent Untz 2007-05-19 00:11:07 UTC
Fixed in trunk.
I didn't put the workspace name of the current workspace, but I think it's nice as it is right now.
Comment 31 Vincent Untz 2007-05-19 00:13:44 UTC
Created attachment 88426 [details]
Screenshot

Here's a screenshot, for people who don't want to try trunk :-)