mzur / gnome-shell-wsmatrix

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

No up/down in matrix, only left/right? #242

Closed Spiritdude closed 1 year ago

Spiritdude commented 1 year ago

I set 'switch-to-workspace-down' to CTRL-Down but it simply goes right in the matrix, I want it to go down in the matrix (same column, next row). The same with 'switch-to-workspace-up' goes left, I want it to go up in the matrix (same column, previous row). I made sure CTRL Up / Down aren't assigned otherwise. Yes, I restarted gnome-shell (ALT F2 'r').

Any idea what the problem or solution is?

Matrix 6x3 (Wraparound mode: None) Ubuntu 22.04.1 LTS Gnome 42.4

gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-up "['<Control>Up']"
gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-down "['<Control>Down']"
mzur commented 1 year ago

Does it work with the default values ('<Control><Alt>Up', '<Control><Alt>Down')?

Spiritdude commented 1 year ago

No, same behavior; I started to look at the code of the extension, you don't really calculate the x,y position of the workspace in the grid? Internally - so it seems to me - in GNOME a 6x3 are linear 18 workspaces, you display the 6x3 grid as part of the extension, and you just send UP and DOWN events to the gnome-shell, correct?

Update: workspaceManagerOverride.js seems to do x,y handling.

Spiritdude commented 1 year ago

Resolved: I had another workspace related extensions enabled and interfering (skipped my attention).

Sorry for raising an issue, I spent hours to resolve strange behaviors of various extensions to get some decent functionality, when I tried wsmatrix I forgot to disable all others remotely dealing with workspaces.