gnome-shell-wsmatrix icon indicating copy to clipboard operation
gnome-shell-wsmatrix copied to clipboard

Workspace layout is not restored to original state

Open joelostblom opened this issue 3 years ago • 4 comments

After uninstalling this extension, my keybindings that I had from before using the extension no longer works for moving the workspace up and down. I believe this might be because the extension changes from vertical to horizontal workspace layout and does not change this back when it is uninstalled. Therefore my keys for moving up and down no longer works. This is supported by that the workspace switcher animation is now sideways and that installing another extension to change the orientation back to vertical enables the keyboard shortcuts again. Could you please let me know which gsettings option this extension changes and how to change it back to return to vertical workspaces?

joelostblom avatar Apr 02 '22 02:04 joelostblom

Which GNOME version do you use? Horizontal workspaces became the default with GNOME 40.

mzur avatar Apr 02 '22 11:04 mzur

Thanks for the reply @mzur , I am on gnome-shell 40.5 using PopOS 21.10. PopOS customizes gnome shell in some ways including changing the workspace switching to be vertical. It seems like the workspace-matrix extension changes this in order for layout to be a grid (which makes sense), but then when uninstalling this extension it seems like it does not properly revert all the settings it changed. I only had the extension installed for 5 min and my issues started immediately after uninstalling it, I am guessing there is a gsetting or similar that is toggled for the orientation of the workspace setting (similar to what this extension does ) and I wonder which one is changed by the workspace matrix extension so that I can change it back manually.

joelostblom avatar Apr 02 '22 14:04 joelostblom

Figured it out. PopOS uses another extension to change the layout to vertical and Workspace Matrix breaks that extension's settings. To reenable it I had to make sure that Workspace Matrix was turned off and then reboot and/or refresh gnome. If trying to reenable it without doing this it threw the error global.vertical_overview is undefined. Importantly the enable button in the GUI was greyed out because of this error but running gnome-extensions enable [email protected] from terminal and then restarting Gnome worked.

joelostblom avatar Apr 02 '22 15:04 joelostblom

I'll reopen, as this behavior can probably be fixed. The workspace layout is reset to horizontal but it should be possible to reset it to what it was before (e.g. vertical) instead.

mzur avatar Apr 03 '22 18:04 mzur