inhibitShortcutsDialog not working consistently in Fedora 37 / Gnome 43. Breaks keygrab and passing keys to VMs/remote systems
Gnome 43 / Fedora 37
With a fresh install of Fedora 37 / Gnome 43 tools for interacting with VMs and remote systems - such and remote-viewer and VMM - are not receiving special keys correctly.
It seems there is a attempt to store preferences for "Allowing inhibiting shortcuts" but this is not being processed correctly on subsequent instances of the client software.
Steps to reproduce
start an new KVM VM in Virtual Machine Manager and open a console in full screen mode. It will grab the keyboard and ctrl-alt-delete (in a windows VM for example) will bring up the password prompt for logging in to the VM.
start a second VM in Virtual Machine Manager and open a console in full screen mode. It will NOT grab the keyboard and ctrl-alt-delete (in a windows VM for example) will bring up the host machines "Power off" dialogue.
after rebooting the host no VM opened in full screen mode will grab the keyboard.
a short term fix is to run the following but only until you try to open the next VM.
rm $HOME/.local/share/flatpak/db/gnome && reboot
What did you expect to happen
In Fedora 36 / Gnome 42, all 'special' key presses are honoured in a full screen KVM ... for instance ctrl-alt arrow key for changing gnome workspaces. This doesn;t work in Gnome 43/Fedora 37.