mzur / gnome-shell-wsmatrix

GNOME shell extension to arrange workspaces in a two-dimensional grid with workspace thumbnails
GNU General Public License v3.0
458 stars 58 forks source link

Workspace layout is not restored to original state #216

Open joelostblom opened 2 years ago

joelostblom commented 2 years ago

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?

mzur commented 2 years ago

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

joelostblom commented 2 years ago

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 commented 2 years ago

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 cosmic-workspaces@system76.com from terminal and then restarting Gnome worked.

mzur commented 2 years ago

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.