GNOME Bugzilla – Bug 147572
Wrong menu item of "Move to another workspace" submenu de-sensitzed.
Last modified: 2004-12-22 21:47:04 UTC
1) Be on workspace 3. 2) Right click on a task in window list and put it on all workspaces. 3) Right click again on the task, ->Move to another workspace 4) Notice the submenu, the first workspace is de-sensitzed The third workspace should have been de-sensitzed instead of the first. Will attach a patch in a minute
Created attachment 29529 [details] [review] patch fixes the bug
Comment on attachment 29529 [details] [review] patch fixes the bug I would say that if the window is on all spaces, no menu item should be insensitive (this matches metacity's behavior). Moving an on-all-spaces window to any space makes it no longer on-all-spaces. The simple way is if (workspace == NULL) present_workspace = -1 and then present_workspace will never be equal to "i" in the loop.
Created attachment 29541 [details] [review] Reworked patch based on Havoc's comments
Comment on attachment 29541 [details] [review] Reworked patch based on Havoc's comments Looks great, thanks.
Committed to HEAD. Thanks Havoc :)