org.gnome.desktop.wm.keybindings move-to-workspace-x results in switching to wrong workspace or opening an application in Ubuntu 19.04 (Gnome 3.32)
I apply the following dconf configuration at startup (I also executed it manually for testing):
#!/bin/bash
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-1 "['1']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-2 "['2']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-3 "['3']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-4 "['4']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-5 "['5']"
dconf write /org/gnome/desktop/wm/keybindings/switch-to-workspace-6 "['6']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-1 "['exclam']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-2 "['quotedbl']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-3 "['section']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-4 "['dollar']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-5 "['percent']"
dconf write /org/gnome/desktop/wm/keybindings/move-to-workspace-6 "['ampersand']"
dconf write /org/gnome/desktop/wm/keybindings/close "['q']"
dconf write /org/gnome/desktop/wm/keybindings/toggle-maximized "['f']"
According to this configuration I expect Shift+Super+{1,2,3,4,5,6} to switch to workspaces 1 to 6. However, Shift+Super+3 switches to workspace six and Shift+Super+4 opens Gnome's Contacts application. Strangely move-to-workspace works as expected also for workspace three and four. Also this misbehaviour seems to change. After a system reboot Shift+Super+2 switches to workspace five, Shift+Super+3 works as expected, and Shift+Super+4 still opens Gnome's Contacts application.
I first reported this as a dconf issue, however the output of gsettings list-recursively org.gnome.desktop.wm.keybindings
shows the values I have set and I was referred to Mutter.
gsettings list-recursively org.gnome.desktop.wm.keybindings | grep switch-to-workspace
org.gnome.desktop.wm.keybindings switch-to-workspace-7 @as []
org.gnome.desktop.wm.keybindings switch-to-workspace-8 @as []
org.gnome.desktop.wm.keybindings switch-to-workspace-9 @as []
org.gnome.desktop.wm.keybindings switch-to-workspace-1 ['1']
org.gnome.desktop.wm.keybindings switch-to-workspace-2 ['2']
org.gnome.desktop.wm.keybindings switch-to-workspace-last ['End']
org.gnome.desktop.wm.keybindings switch-to-workspace-3 ['3']
org.gnome.desktop.wm.keybindings switch-to-workspace-up ['Up']
org.gnome.desktop.wm.keybindings switch-to-workspace-left ['Left']
org.gnome.desktop.wm.keybindings switch-to-workspace-right ['Right']
org.gnome.desktop.wm.keybindings switch-to-workspace-10 @as []
org.gnome.desktop.wm.keybindings switch-to-workspace-4 ['4']
org.gnome.desktop.wm.keybindings switch-to-workspace-down ['Down']
org.gnome.desktop.wm.keybindings switch-to-workspace-11 @as []
org.gnome.desktop.wm.keybindings switch-to-workspace-5 ['5']
org.gnome.desktop.wm.keybindings switch-to-workspace-6 ['6']
org.gnome.desktop.wm.keybindings switch-to-workspace-12 @as []
I am running Pop_Os 19.04 (Ubuntu 19.04) with Gnome 3.32.1.