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 480710 - Doesn't change rows on a second workspace-switcher
Doesn't change rows on a second workspace-switcher
Status: RESOLVED OBSOLETE
Product: gnome-panel
Classification: Other
Component: workspace switcher
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 552744 558544 563974 568759 583244 616382 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2007-09-26 18:42 UTC by Sven Arvidsson
Modified: 2020-11-06 20:23 UTC
See Also:
GNOME target: ---
GNOME version: 2.19/2.20


Attachments
Screenshot showing where to edit the number of workspaces in gconf-editor (108.02 KB, image/png)
2010-08-24 14:02 UTC, Ngaur
Details

Description Sven Arvidsson 2007-09-26 18:42:39 UTC
[ From http://bugs.debian.org/443919 ]

"If you add a second workspace-switcher, go to preferences, and then try to change the "Show all workspaces in # rows" property, it doesn't do anything."
Comment 1 Vincent Untz 2007-10-11 17:30:14 UTC
That's because the layout is owned by only one pager. But it's true it's not really user friendly. Hrm. Will think about it.
Comment 2 Gabriel Schulhof 2007-12-20 10:09:22 UTC
This also happens when you have 2 screens. No, not Xinerama, 2 separate screens (:0.0 and :0.1).

The workspace switcher on :0.0 behaves normally. That is, when you tell it to arrange 8 workspaces in 2 rows of 4 each, it does so, and the metacity Ctrl+Alt+Arrow popup window reflects that arrangement.

However, when you add an additional workspace switcher on :0.1 and you specify that it should arrange 8 workspaces in 2 rows of 4 each, it does so, but the metacity Ctrl+Alt+Arrow popup continues to show your workspaces arranged in 1 row of 8.

This is a regression in GNOME 2.20. It worked as expected in GNOME 2.18.

I would suggest that this is a libwnck/metacity bug akin to #479959, rather than a panel bug, no?
Comment 3 Gabriel Schulhof 2008-01-11 16:28:53 UTC
From bug #479959 it turns out (and I have tested with GNOME 2.20) that, when you add the "Workspace Switcher" to a panel located at the top, it works properly, however, when you add it to a panel located at the bottom, it doesn't work.
Comment 4 Gabriel Schulhof 2008-08-28 11:08:24 UTC
As of GNOME 2.22, the workspace switcher bug is still present:

1. Configure X to use 2 screens separately (:0.0 and :0.1)
2. Create a horizontal bottom panel on each screen.
3. Add a workspace switcher to each panel.
4. In each workspace-switcher, set the number of desktops to a total of 8, in 2 rows of 4.
5. Log out.
6. Log in.

At this point, both workspace switchers display the status of desktops on :0.0, and neither of them displays the status of :0.1. If you remove the switcher on :0.1 from its panel, and re-add it, it will work again, showing 8 desktops in a row, instead of your pre-login choice of 2 rows of 4.

If the panel on :0.1 is a vertical panel, removing and re-adding the switcher doesn't help. Even after re-adding the switcher, it still displays the status of :0.0.

Here's hoping GNOME 2.24 will work (again).
Comment 5 Sylvain Pasche 2009-02-08 16:12:33 UTC
The issue is still there in GNOME 2.24 and 2.25.

That's reproducible with only one screen. If you add another Workspace switcher applet, changing its number of rows will have no effect.  However, changing the number of workspaces works fine.
Comment 6 Michael Spiegel 2009-04-28 20:15:16 UTC
This problem persists in GNOME 2.26.
Comment 7 Philip Withnall 2009-05-31 11:49:24 UTC
*** Bug 568759 has been marked as a duplicate of this bug. ***
Comment 8 Philip Withnall 2009-05-31 11:49:31 UTC
*** Bug 552744 has been marked as a duplicate of this bug. ***
Comment 9 Philip Withnall 2009-05-31 11:49:57 UTC
*** Bug 563974 has been marked as a duplicate of this bug. ***
Comment 10 Philip Withnall 2009-05-31 11:50:09 UTC
*** Bug 558544 has been marked as a duplicate of this bug. ***
Comment 11 Philip Withnall 2009-05-31 11:51:22 UTC
*** Bug 583244 has been marked as a duplicate of this bug. ***
Comment 12 didier 2010-08-03 13:30:41 UTC
This problem persists in GNOME 2.30 (Debian 'testing')
Comment 13 Ngaur 2010-08-24 14:02:23 UTC
Created attachment 168644 [details]
Screenshot showing where to edit the number of workspaces in gconf-editor
Comment 14 Ngaur 2010-08-24 14:09:42 UTC
I'm seeing this bug in Gnome 2.30.2, (Ubuntu 10.4)

I've found a manual work-around though.

cp -pr ~/.gconf/apps/compiz/general/screen0 ~/.gconf/apps/compiz/general/screen1
vim /home/andrew/.gconf/apps/compiz/general/screen1/options/%gconf.xml

now .restart your X session.

The attached screenshot may make things clearer, but so far as I understand,  gconf-editor can't do the job on its own.
Comment 15 Gabriel Schulhof 2010-08-31 07:23:08 UTC
(In reply to comment #14)
> cp -pr ~/.gconf/apps/compiz/general/screen0
> ~/.gconf/apps/compiz/general/screen1
> vim /home/andrew/.gconf/apps/compiz/general/screen1/options/%gconf.xml

Ummm ... compiz? I use metacity ...
Comment 16 Ngaur 2010-09-02 05:41:55 UTC
(In reply to comment #15)
> (In reply to comment #14)
> > cp -pr ~/.gconf/apps/compiz/general/screen0
> > ~/.gconf/apps/compiz/general/screen1
> > vim /home/andrew/.gconf/apps/compiz/general/screen1/options/%gconf.xml
> 
> Ummm ... compiz? I use metacity ...

I haven't looked, but I expect you'll find an equivalent under .gconf/apps/metacity ?
Comment 17 didier 2010-09-06 08:30:04 UTC
There's no such thing under apps/metacity. The information is located in apps/panel/applets/applet_1/prefs and apps/panel/applets/applet_3/prefs. Both have a num_row key with value 2. But only one of them actually uses this value. The workspace selector of the other screen shows the workspaces on a single line.
Comment 18 Danilo Segan 2010-09-23 08:36:30 UTC
*** Bug 616382 has been marked as a duplicate of this bug. ***
Comment 19 Samuel Hym 2010-09-26 17:12:32 UTC
I only have one screen, and one workspace switcher, using metacity. But I get the same bug since my last upgrade (to the debian version 2.30.2-2).
Is there any way to tell whether a pager owns the layout?
Comment 20 Michalxo 2010-10-01 07:55:41 UTC
Same problem here as Samuel Hym. Debian + gnome (panel 2.30.2-2)
Can't change matrix of workspaces to anything but 1xY (want 2x2)
Comment 21 André Klapper 2020-11-06 20:23:35 UTC
bugzilla.gnome.org is being replaced by gitlab.gnome.org. We are closing all old bug reports in Bugzilla which have not seen updates for many years.

If you can still reproduce this issue in a currently supported version of GNOME (currently that would be 3.38), then please feel free to report it at https://gitlab.gnome.org/GNOME/gnome-panel/-/issues/

Thank you for reporting this issue and we are sorry it could not be fixed.