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 571091 - Desktop assignment lost on startup
Desktop assignment lost on startup
Status: RESOLVED FIXED
Product: gnome-shell
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-shell-maint
gnome-shell-maint
Depends on:
Blocks:
 
 
Reported: 2009-02-09 21:03 UTC by Owen Taylor
Modified: 2009-02-16 20:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix the initial workspaces setup code. #571091 (2.92 KB, patch)
2009-02-16 19:35 UTC, Dan Winship
committed Details | Review

Description Owen Taylor 2009-02-09 21:03:45 UTC
If things are on multiple workspaces when the session starts, everything gets squashed to the first workspace.

It appear the "remove empty workspaces" code is not working as expected.
Comment 1 Dan Winship 2009-02-09 21:52:37 UTC
hm... mutter_plugin_get_windows() returns NULL from Main.start() because it's called too early in mutter startup
Comment 2 Dan Winship 2009-02-16 19:35:42 UTC
Created attachment 128855 [details] [review]
Fix the initial workspaces setup code. #571091

mutter_plugin_get_windows() returns NULL at plugin-initialization time,
so we have to wait until idle time to figure out which workspaces are
being used and remove the unused ones.
Comment 3 Owen Taylor 2009-02-16 19:44:55 UTC
looks good to me
Comment 4 Dan Winship 2009-02-16 20:02:56 UTC
committed