Bug 518629 - Number of rows of desktops forgotten if no switcher on panel
Number of rows of desktops forgotten if no switcher on panel
Status: RESOLVED INVALID
Product: metacity
Classification: Other
Component: general
2.21.x
Other Linux
: Normal normal
: ---
Assigned To: Metacity maintainers list
Metacity maintainers list
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-02-25 14:45 UTC by Pedro Villavicencio
Modified: 2008-04-22 12:02 UTC (History)
2 users (show)

See Also:
GNOME target: ---
GNOME version: 2.21/2.22


Attachments

Description Pedro Villavicencio 2008-02-25 14:45:09 UTC
This bug has been filed here:

https://bugs.edge.launchpad.net/ubuntu/+source/metacity/+bug/116807

Steps to reproduce the bug:

1- Configure a desktop with 3 rows (with 4 workspace each).
2- Remove the switcher.
3- Next time I logged in, metacity had forgotten that I had three rows of desktops, and instead gave me a single line of twelve desktops.
Comment 1 Elijah Newren 2008-02-26 02:45:34 UTC
From the EWMH:

  _NET_DESKTOP_LAYOUT

  _NET_DESKTOP_LAYOUT, orientation, columns, rows, starting_corner CARDINAL[4]/32

    #define _NET_WM_ORIENTATION_HORZ 0
    #define _NET_WM_ORIENTATION_VERT 1

    #define _NET_WM_TOPLEFT     0
    #define _NET_WM_TOPRIGHT    1
    #define _NET_WM_BOTTOMRIGHT 2
    #define _NET_WM_BOTTOMLEFT  3

  This property is set by a Pager, not by the Window Manager. When setting this
  property, the Pager must own a manager selection (as defined in the ICCCM 2.8).
  The manager selection is called _NET_DESKTOP_LAYOUT_Sn where n is the screen
  number. The purpose of this property is to allow the Window Manager to know the
  desktop layout displayed by the Pager. 

The key bit is "This property is set by a Pager, not by the Window Manager"; so I'm not really sure what we can do here.

Note You need to log in before you can comment on or make changes to this bug.