Quickly closing many workspaces crashes cinnamon #1338

Closed
gauravjuvekar opened this Issue Nov 8, 2012 · 8 comments

Projects

None yet

3 participants

@gauravjuvekar
Contributor

Go to expo.
Open many workspaces.
Develop fast mouse skills and try to close many workspaces.

If you do it fast enough, generally for closing about three workspaces at once, cinnamon restarts itself.
If you do it yet again, cinnamon crashes but does not start again. You have to ctrl-alt-backspace out of the session.

@dalcde
Contributor
dalcde commented Nov 8, 2012

Cinnamon version?

@dalcde
Contributor
dalcde commented Nov 8, 2012

Not reproduced on latest Cinnamon. Should be solved.

@autarkper
Contributor

I think there's a problem even in the latest nightlies that shows if you start closing the first workspace and go on from there; Cinnamon sometimes will crash during the reshuffling of windows from the closed workspace to the next one.

@gauravjuvekar
Contributor

@dalcde Cinnamon version 1.6.4 from romeo.
@autarkper Happens even if there are no windows on the workspaces that are closed.

@autarkper
Contributor

I can reproduce it on my master branch as well. I see a familiar message that comes from Muffin:

Bug in window manager: Workspace does not exist to index!
@autarkper
Contributor

In _workspacesChanged (expoThumbnail.js), I see the following comment:

        // Assume workspaces are only removed sequentially
        // (e.g. 2,3,4 - not 2,4,7)

I think this assumption is wrong!

@autarkper
Contributor

@gauravjuvekar : I have a fix for this on my master branch, https://github.com/autarkper/Cinnamon.

@gauravjuvekar
Contributor

Appears to be fixed in git master, closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment